Skip to content

Commit feff2ba

Browse files
committed
chore(builder): bump common 1.1.2
1 parent 7347b95 commit feff2ba

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

charts/builder/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ home: https://github.com/drycc/builder
55
dependencies:
66
- name: common
77
repository: oci://registry.drycc.cc/charts
8-
version: ~1.1.1
8+
version: ~1.1.2
99
description: Git server and application builder for Drycc Workflow.
1010
maintainers:
1111
- name: Drycc Team

charts/builder/templates/builder-deployment.yaml

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

charts/builder/values.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,14 @@ nodeAffinityPreset:
2020
- "true"
2121

2222
podAffinityPreset:
23-
key: "security"
2423
type: ""
25-
values:
26-
- "drycc-security"
24+
extraMatchLabels:
25+
security: "drycc-security"
2726

2827
podAntiAffinityPreset:
29-
key: "app"
3028
type: "soft"
31-
values:
32-
- "drycc-builder"
29+
extraMatchLabels:
30+
app: "drycc-builder"
3331

3432
# builderPodNodeSelector: "drycc.cc/node:true"
3533

0 commit comments

Comments
 (0)