Skip to content

Commit

Permalink
The deployments v1 the selector is mandatory
Browse files Browse the repository at this point in the history
Our test helm chart is missing the mandatory spec.selector field,
adding it to re-enable the test to pass.
  • Loading branch information
afrittoli authored and tekton-robot committed May 21, 2020
1 parent a87139b commit cc2ca6a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ metadata:
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ template "gohelloworld-chart.name" . }}
release: {{ .Release.Name }}
template:
metadata:
labels:
Expand Down

0 comments on commit cc2ca6a

Please sign in to comment.