Skip to content

Commit 35efed7

Browse files
committed
chore(controller): change nodes to pod affinity
1 parent 23c0ca5 commit 35efed7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

charts/controller/templates/controller-celery.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
labels:
2222
app: drycc-controller-celery
2323
spec:
24-
{{- include "common.affinities.nodes.soft" (dict "key" "app" "values" (list "drycc-controller-celery")) | indent 6 }}
24+
{{- include "common.affinities.pods.soft" (dict "key" "app" "values" (list "drycc-controller-celery")) | indent 6 }}
2525
serviceAccount: drycc-controller
2626
initContainers:
2727
- name: drycc-controller-init

charts/controller/templates/controller-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
labels:
2222
app: drycc-controller
2323
spec:
24-
{{- include "common.affinities.nodes.soft" (dict "key" "app" "values" (list "drycc-controller")) | indent 6 }}
24+
{{- include "common.affinities.pods.soft" (dict "key" "app" "values" (list "drycc-controller")) | indent 6 }}
2525
serviceAccount: drycc-controller
2626
initContainers:
2727
- name: drycc-controller-init

charts/controller/templates/controller-webhook-deloyment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
labels:
1313
component: drycc-controller-webhook
1414
spec:
15-
{{- include "common.affinities.nodes.soft" (dict "key" "app" "values" (list "drycc-controller-webhook")) | indent 6 }}
15+
{{- include "common.affinities.pods.soft" (dict "key" "app" "values" (list "drycc-controller-webhook")) | indent 6 }}
1616
initContainers:
1717
- name: drycc-controller-init
1818
image: docker.io/drycc/python-dev:latest

0 commit comments

Comments
 (0)