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 : Monitoring for Drycc Workflow.
1010maintainers :
1111 - name : Drycc Team
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ spec:
1919 app : drycc-monitor-grafana
2020 template :
2121 metadata :
22- labels :
22+ labels : {{- include "common.labels.standard" . | nindent 8 }}
2323 app : drycc-monitor-grafana
2424 spec :
2525 affinity :
26- podAffinity : {{- include "common.affinities.pods" (dict "type" .Values.grafana.podAffinityPreset.type "key" .Values.grafana.podAffinityPreset.key "values " .Values.grafana.podAffinityPreset.values ) | nindent 10 }}
27- podAntiAffinity : {{- include "common.affinities.pods" (dict "type" .Values.grafana.podAntiAffinityPreset.type "key" .Values.grafana.podAntiAffinityPreset.key "values " .Values.grafana.podAntiAffinityPreset.values ) | nindent 10 }}
26+ podAffinity : {{- include "common.affinities.pods" (dict "type" .Values.grafana.podAffinityPreset.type "component" "" "extraMatchLabels " .Values.grafana.podAffinityPreset.extraMatchLabels "topologyKey" "" "context" $ ) | nindent 10 }}
27+ podAntiAffinity : {{- include "common.affinities.pods" (dict "type" .Values.grafana.podAntiAffinityPreset.type "component" "" "extraMatchLabels " .Values.grafana.podAntiAffinityPreset.extraMatchLabels "topologyKey" "" "context" $ ) | nindent 10 }}
2828 nodeAffinity : {{- include "common.affinities.nodes" (dict "type" .Values.grafana.nodeAffinityPreset.type "key" .Values.grafana.nodeAffinityPreset.key "values" .Values.grafana.nodeAffinityPreset.values ) | nindent 10 }}
2929 securityContext :
3030 fsGroup : 1001
Original file line number Diff line number Diff line change 1616 {{- end }}
1717 template :
1818 metadata :
19- labels :
19+ labels : {{- include "common.labels.standard" . | nindent 8 }}
2020 app : drycc-monitor-telegraf
2121 spec :
2222 securityContext :
Original file line number Diff line number Diff line change @@ -12,16 +12,14 @@ grafana:
1212 - " true"
1313
1414 podAffinityPreset :
15- key : " security"
1615 type : " "
17- values :
18- - " drycc-security"
16+ extraMatchLabels :
17+ security : " drycc-security"
1918
2019 podAntiAffinityPreset :
21- key : " app"
2220 type : " soft"
23- values :
24- - " drycc-monitor-grafana"
21+ extraMatchLabels :
22+ app : " drycc-monitor-grafana"
2523
2624 # Service
2725 service :
@@ -57,16 +55,14 @@ telegraf:
5755 - " true"
5856
5957 podAffinityPreset :
60- key : " security"
6158 type : " "
62- values :
63- - " drycc-security"
59+ extraMatchLabels :
60+ security : " drycc-security"
6461
6562 podAntiAffinityPreset :
66- key : " app"
6763 type : " soft"
68- values :
69- - " drycc-monitor-telegraf"
64+ extraMatchLabels :
65+ app : " drycc-monitor-telegraf"
7066
7167redis :
7268 replicas : 1
You can’t perform that action at this time.
0 commit comments