Skip to content

Commit 4ce1be9

Browse files
committed
chore(helmbroker): bump common 1.1.2
1 parent 0b2398e commit 4ce1be9

4 files changed

Lines changed: 15 additions & 19 deletions

File tree

charts/helmbroker/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ appVersion: 1.0.0
55
dependencies:
66
- name: common
77
repository: oci://registry.drycc.cc/charts
8-
version: ~1.1.1
8+
version: ~1.1.2
99
- name: rabbitmq
1010
repository: oci://registry.drycc.cc/charts-testing
1111
version: x.x.x

charts/helmbroker/templates/helmbroker-celery-deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ spec:
1818
app: drycc-helmbroker-celery
1919
template:
2020
metadata:
21-
labels:
21+
labels: {{- include "common.labels.standard" . | nindent 8 }}
2222
app: drycc-helmbroker-celery
2323
spec:
2424
affinity:
25-
podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.celery.podAffinityPreset.type "key" .Values.celery.podAffinityPreset.key "values" .Values.celery.podAffinityPreset.values ) | nindent 10 }}
26-
podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.celery.podAntiAffinityPreset.type "key" .Values.celery.podAntiAffinityPreset.key "values" .Values.celery.podAntiAffinityPreset.values ) | nindent 10 }}
25+
podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.celery.podAffinityPreset.type "component" "" "extraMatchLabels" .Values.celery.podAffinityPreset.extraMatchLabels "topologyKey" "" "context" $) | nindent 10 }}
26+
podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.celery.podAntiAffinityPreset.type "component" "" "extraMatchLabels" .Values.celery.podAntiAffinityPreset.extraMatchLabels "topologyKey" "" "context" $) | nindent 10 }}
2727
nodeAffinity: {{- include "common.affinities.nodes" (dict "type" .Values.celery.nodeAffinityPreset.type "key" .Values.celery.nodeAffinityPreset.key "values" .Values.celery.nodeAffinityPreset.values ) | nindent 10 }}
2828
serviceAccount: drycc-helmbroker
2929
initContainers:

charts/helmbroker/templates/helmbroker-deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ spec:
1818
app: drycc-helmbroker
1919
template:
2020
metadata:
21-
labels:
21+
labels: {{- include "common.labels.standard" . | nindent 8 }}
2222
app: drycc-helmbroker
2323
spec:
2424
affinity:
25-
podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.api.podAffinityPreset.type "key" .Values.api.podAffinityPreset.key "values" .Values.api.podAffinityPreset.values ) | nindent 10 }}
26-
podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.api.podAntiAffinityPreset.type "key" .Values.api.podAntiAffinityPreset.key "values" .Values.api.podAntiAffinityPreset.values ) | nindent 10 }}
25+
podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.api.podAffinityPreset.type "component" "" "extraMatchLabels" .Values.api.podAffinityPreset.extraMatchLabels "topologyKey" "" "context" $) | nindent 10 }}
26+
podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.api.podAntiAffinityPreset.type "component" "" "extraMatchLabels" .Values.api.podAntiAffinityPreset.extraMatchLabels "topologyKey" "" "context" $) | nindent 10 }}
2727
nodeAffinity: {{- include "common.affinities.nodes" (dict "type" .Values.api.nodeAffinityPreset.type "key" .Values.api.nodeAffinityPreset.key "values" .Values.api.nodeAffinityPreset.values ) | nindent 10 }}
2828
serviceAccount: drycc-helmbroker
2929
initContainers:

charts/helmbroker/values.yaml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,13 @@ api:
3535
values:
3636
- "true"
3737
podAffinityPreset:
38-
key: "security"
3938
type: ""
40-
values:
41-
- "drycc-security"
39+
extraMatchLabels:
40+
security: "drycc-security"
4241
podAntiAffinityPreset:
43-
key: "app"
4442
type: "soft"
45-
values:
46-
- "drycc-helmbroker"
43+
extraMatchLabels:
44+
app: "drycc-helmbroker"
4745

4846
celery:
4947
nodeAffinityPreset:
@@ -52,15 +50,13 @@ celery:
5250
values:
5351
- "true"
5452
podAffinityPreset:
55-
key: "security"
5653
type: ""
57-
values:
58-
- "drycc-security"
54+
extraMatchLabels:
55+
security: "drycc-security"
5956
podAntiAffinityPreset:
60-
key: "app"
6157
type: "soft"
62-
values:
63-
- "drycc-helmbroker-celery"
58+
extraMatchLabels:
59+
app: "drycc-helmbroker-celery"
6460

6561
persistence:
6662
enabled: true

0 commit comments

Comments
 (0)