File tree 4 files changed +31
-4
lines changed
4 files changed +31
-4
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,14 @@ maintainers:
9
9
keywords :
10
10
- kubernetes
11
11
- aws
12
+ - eks
13
+ - pvc
12
14
- gcp
13
15
- aws-ebs
14
16
- aws-efs
15
17
- persistent-volumes
16
18
sources :
17
19
- https://github.com/mtougeron/k8s-pvc-tagger
18
20
19
- version : 2.2.1
20
- appVersion : v1.1.0
21
+ version : 2.2.2
22
+ appVersion : v1.1.1
Original file line number Diff line number Diff line change @@ -5,16 +5,18 @@ metadata:
5
5
labels :
6
6
{{- include "k8s-pvc-tagger.labels" . | nindent 4 }}
7
7
spec :
8
+ {{- if .Values.replicaCount }}
8
9
replicas : {{ .Values.replicaCount }}
10
+ {{- end }}
9
11
selector :
10
12
matchLabels :
11
13
{{- include "k8s-pvc-tagger.selectorLabels" . | nindent 6 }}
12
14
template :
13
15
metadata :
14
- {{- with .Values.podAnnotations }}
16
+ {{- with .Values.podAnnotations }}
15
17
annotations :
16
18
{{- toYaml . | nindent 8 }}
17
- {{- end }}
19
+ {{- end }}
18
20
labels :
19
21
{{- include "k8s-pvc-tagger.selectorLabels" . | nindent 8 }}
20
22
{{- with .Values.podLabels }}
96
98
{{- toYaml .Values.volumeMounts | nindent 12 }}
97
99
{{- end }}
98
100
hostNetwork : {{ .Values.hostNetwork }}
101
+ {{- if .Values.dnsPolicy }}
102
+ dnsPolicy : {{ .Values.dnsPolicy }}
103
+ {{- end }}
104
+ {{- if .Values.dnsConfig }}
105
+ dnsConfig :
106
+ {{- toYaml .Values.dnsConfig | nindent 8 }}
107
+ {{- end }}
99
108
{{- if .Values.volumes }}
100
109
volumes :
101
110
# Extra volume(s)
@@ -113,3 +122,10 @@ spec:
113
122
tolerations :
114
123
{{- toYaml . | nindent 8 }}
115
124
{{- end }}
125
+ {{- with .Values.topologySpreadConstraints }}
126
+ topologySpreadConstraints :
127
+ {{- toYaml . | nindent 8 }}
128
+ {{- end }}
129
+ {{- if .Values.priorityClassName }}
130
+ priorityClassName : {{ .Values.priorityClassName }}
131
+ {{- end }}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ apiVersion: monitoring.coreos.com/v1
3
3
kind : ServiceMonitor
4
4
metadata :
5
5
name : {{ include "k8s-pvc-tagger.fullname" . }}
6
+ namespace : {{ .Values.serviceMonitorNamespace | default .Release.Namespace }}
6
7
labels :
7
8
{{- include "k8s-pvc-tagger.labels" . | nindent 4 }}
8
9
{{- with .Values.serviceMonitorLabels }}
Original file line number Diff line number Diff line change @@ -79,10 +79,18 @@ watchNamespace: ""
79
79
80
80
serviceMonitor : false
81
81
serviceMonitorLabels : {}
82
+ serviceMonitorNamespace : " "
82
83
83
84
debug : false
84
85
85
86
extraEnvs : {}
86
87
extraArgs : {}
87
88
88
89
podLabels : {}
90
+
91
+ dnsPolicy : " "
92
+ dnsConfig : {}
93
+
94
+ topologySpreadConstraints : []
95
+
96
+ priorityClassName : " "
You can’t perform that action at this time.
0 commit comments