Merge pull request #5662 from hickeyma/fix-scaffold-chart-image

fix(chartutil): Scaffold chart fails to deploy pod
pull/5601/head
Martin Hickey 6 years ago committed by GitHub
commit 75624afb73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -73,7 +73,7 @@ version: 0.1.0
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. # incremented each time you make changes to the application.
appVersion: 0.1.0 appVersion: 1.16.0
` `
const defaultValues = `# Default values for %s. const defaultValues = `# Default values for %s.
@ -211,7 +211,7 @@ spec:
spec: spec:
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Release.AppVersion }}" image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
ports: ports:
- name: http - name: http

Loading…
Cancel
Save