Skip to content

Commit

Permalink
[PAGOPA-2645] feat: Add node affinity helm dev and clean GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
svariant committed Feb 12, 2025
1 parent 10df3da commit 2c50b91
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_with_github_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
cluster_name: ${{ vars.CLUSTER_NAME }}
resource_group: ${{ vars.CLUSTER_RESOURCE_GROUP }}
app_name: ${{ env.APP_NAME }}${{inputs.suffix_name}}
helm_upgrade_options: '--debug --set microservice-chart.azure.workloadIdentityClientId=${{vars.WORKLOAD_IDENTITY_ID}} ${{inputs.helm_options}}'
helm_upgrade_options: '--debug --set microservice-chart.azure.workloadIdentityClientId=${{vars.WORKLOAD_IDENTITY_ID}}'
timeout: '10m0s'

- name: Remove deployment
Expand Down
12 changes: 10 additions & 2 deletions helm/values-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
microservice-chart:
namespace: "fdr"
nameOverride: ""
fullnameOverride: ""
fullnameOverride: "pagopa-fdr-2-event-hub"
image:
repository: ghcr.io/pagopa/pagopa-fdr-2-event-hub
tag: "0.0.2-11-PAGOPA-2645-tuning-fdr-to-eventhub"
Expand Down Expand Up @@ -107,6 +107,14 @@ microservice-chart:
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d"
nodeSelector: {}
tolerations: []
affinity: {}
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node_type
operator: In
values:
- 'user'
canaryDelivery:
create: false

0 comments on commit 2c50b91

Please sign in to comment.