Skip to content

Commit 8f4cd16

Browse files
committed
chore(passport): bump common 1.1.2
1 parent e41cc18 commit 8f4cd16

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

charts/passport/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
description: Drycc Workflow passport (API).
1010
maintainers:
1111
- name: Drycc Team

charts/passport/templates/passport-deployment.yaml

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

charts/passport/values.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,14 @@ nodeAffinityPreset:
1010
- "true"
1111

1212
podAffinityPreset:
13-
key: "security"
1413
type: ""
15-
values:
16-
- "drycc-security"
14+
extraMatchLabels:
15+
security: "drycc-security"
1716

1817
podAntiAffinityPreset:
19-
key: "app"
2018
type: "soft"
21-
values:
22-
- "drycc-passport"
19+
extraMatchLabels:
20+
app: "drycc-passport"
2321

2422
# Set passport deployment replicas
2523
replicas: 1

0 commit comments

Comments
 (0)