Skip to content

Commit d4e6322

Browse files
fix(test): deploment was not installing due to missing selector
1 parent fbfe017 commit d4e6322

File tree

1 file changed

+5
-0
lines changed
  • pkg/chart/test_charts/mutating-deployment-selector/templates

1 file changed

+5
-0
lines changed

pkg/chart/test_charts/mutating-deployment-selector/templates/deployment.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ metadata:
1212
revision: {{ .Release.Revision | quote }}
1313
spec:
1414
replicas: {{ .Values.replicaCount }}
15+
selector:
16+
matchLabels:
17+
app.kubernetes.io/name: {{ include "nginx.name" . }}
18+
app.kubernetes.io/instance: {{ .Release.Name }}
19+
revision: {{ .Release.Revision | quote }}
1520
template:
1621
metadata:
1722
labels:

0 commit comments

Comments
 (0)