File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,12 @@ Create chart name and version as used by the chart label.
14
14
15
15
{ {/*
16
16
Selector labels
17
+
18
+ !!!!! DO NOT ADD ANY MORE SELECTORS. IT IS A BREAKING CHANGE !!!!!
17
19
*/} }
18
20
{ {- define " coder.selectorLabels" -} }
19
21
app.kubernetes.io/name: { { include " coder.name" . } }
20
22
app.kubernetes.io/instance: { { .Release.Name } }
21
- app.kubernetes.io/part-of: { { include " coder.name" . } }
22
23
{ {- end } }
23
24
24
25
{ {/*
@@ -27,6 +28,7 @@ Common labels
27
28
{ {- define " coder.labels" -} }
28
29
helm.sh/chart: { { include " coder.chart" . } }
29
30
{ { include " coder.selectorLabels" . } }
31
+ app.kubernetes.io/part-of: { { include " coder.name" . } }
30
32
{ {- if .Chart.AppVersion } }
31
33
app.kubernetes.io/version: { { .Chart.AppVersion | quote } }
32
34
{ {- end } }
Original file line number Diff line number Diff line change 24
24
template :
25
25
metadata :
26
26
labels :
27
- {{- include "coder.selectorLabels " . | nindent 8 }}
27
+ {{- include "coder.labels " . | nindent 8 }}
28
28
spec :
29
29
serviceAccountName : coder
30
30
restartPolicy : Always
You can’t perform that action at this time.
0 commit comments