File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ appVersion: 1.0.0
55dependencies :
66 - name : common
77 repository : oci://registry.drycc.cc/charts
8- version : ~1.1.1
8+ version : ~1.1.2
99description : A Redis database for use inside a Kubernetes cluster.
1010maintainers :
1111 - name : Drycc Team
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ spec:
1515 app : drycc-redis
1616 template :
1717 metadata :
18- labels :
18+ labels : {{- include "common.labels.standard" . | nindent 8 }}
1919 app : drycc-redis
2020 spec :
2121 affinity :
22- podAffinity : {{- include "common.affinities.pods" (dict "type" .Values.podAffinityPreset.type "key" .Values.podAffinityPreset.key "values " .Values.podAffinityPreset.values ) | nindent 10 }}
23- podAntiAffinity : {{- include "common.affinities.pods" (dict "type" .Values.podAntiAffinityPreset.type "key" .Values.podAntiAffinityPreset.key "values " .Values.podAntiAffinityPreset.values ) | nindent 10 }}
22+ podAffinity : {{- include "common.affinities.pods" (dict "type" .Values.podAffinityPreset.type "component" "" "extraMatchLabels " .Values.podAffinityPreset.extraMatchLabels "topologyKey" "" "context" $ ) | nindent 10 }}
23+ podAntiAffinity : {{- include "common.affinities.pods" (dict "type" .Values.podAntiAffinityPreset.type "component" "" "extraMatchLabels " .Values.podAntiAffinityPreset.extraMatchLabels "topologyKey" "" "context" $ ) | nindent 10 }}
2424 nodeAffinity : {{- include "common.affinities.nodes" (dict "type" .Values.nodeAffinityPreset.type "key" .Values.nodeAffinityPreset.key "values" .Values.nodeAffinityPreset.values ) | nindent 10 }}
2525 containers :
2626 - name : drycc-redis
Original file line number Diff line number Diff line change @@ -12,16 +12,14 @@ nodeAffinityPreset:
1212 - " true"
1313
1414podAffinityPreset :
15- key : " security"
1615 type : " "
17- values :
18- - " drycc-security"
16+ extraMatchLabels :
17+ security : " drycc-security"
1918
2019podAntiAffinityPreset :
21- key : " app"
2220 type : " soft"
23- values :
24- - " drycc-redis"
21+ extraMatchLabels :
22+ app : " drycc-redis"
2523
2624# The following parameters are configured only when using an on-cluster Redis instance
2725replicas : 1
You can’t perform that action at this time.
0 commit comments