File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 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.
1414
1515{ {/*
1616Selector labels
17+
18+ !!!!! DO NOT ADD ANY MORE SELECTORS. IT IS A BREAKING CHANGE !!!!!
1719*/} }
1820{ {- define " coder.selectorLabels" -} }
1921app.kubernetes.io/name: { { include " coder.name" . } }
2022app.kubernetes.io/instance: { { .Release.Name } }
21- app.kubernetes.io/part-of: { { include " coder.name" . } }
2223{ {- end } }
2324
2425{ {/*
@@ -27,6 +28,7 @@ Common labels
2728{ {- define " coder.labels" -} }
2829helm.sh/chart: { { include " coder.chart" . } }
2930{ { include " coder.selectorLabels" . } }
31+ app.kubernetes.io/part-of: { { include " coder.name" . } }
3032{ {- if .Chart.AppVersion } }
3133app.kubernetes.io/version: { { .Chart.AppVersion | quote } }
3234{ {- end } }
Original file line number Diff line number Diff line change 2424 template :
2525 metadata :
2626 labels :
27- {{- include "coder.selectorLabels " . | nindent 8 }}
27+ {{- include "coder.labels " . | nindent 8 }}
2828 spec :
2929 serviceAccountName : coder
3030 restartPolicy : Always
You can’t perform that action at this time.
0 commit comments