Skip to content

Commit 2aa2090

Browse files
committed
chore(registry): bump common 1.1.2
1 parent a475b88 commit 2aa2090

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

charts/registry/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: Docker registry for Drycc Workflow.
1010
maintainers:
1111
- name: Drycc Team

charts/registry/templates/registry-deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ spec:
1919
app: drycc-registry
2020
template:
2121
metadata:
22-
labels:
22+
labels: {{- include "common.labels.standard" . | nindent 8 }}
2323
app: drycc-registry
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-registry
3030
initContainers:

charts/registry/values.yaml

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

1313
podAffinityPreset:
14-
key: "security"
1514
type: ""
16-
values:
17-
- "drycc-security"
15+
extraMatchLabels:
16+
security: "drycc-security"
1817

1918
podAntiAffinityPreset:
20-
key: "app"
2119
type: "soft"
22-
values:
23-
- "drycc-registry"
20+
extraMatchLabels:
21+
app: "drycc-registry"
2422

2523
# registry replicas
2624
replicas: 1

0 commit comments

Comments
 (0)