Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename helm imageKey to image to match starter workflows #176

Merged
2 changes: 1 addition & 1 deletion template/deployments/helm/charts/production.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
imageKey:
image:
repository: "{{APPNAME}}"
pullPolicy: IfNotPresent
tag: "latest"
Expand Down
4 changes: 2 additions & 2 deletions template/deployments/helm/charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.imageKey.repository }}"
imagePullPolicy: {{ .Values.imageKey.pullPolicy }}
image: "{{ .Values.image.repository }}"
davidgamero marked this conversation as resolved.
Show resolved Hide resolved
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.containerPort }}
Expand Down
2 changes: 1 addition & 1 deletion template/deployments/helm/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace: {{NAMESPACE}}

containerPort: {{PORT}}

imageKey:
image:
davidgamero marked this conversation as resolved.
Show resolved Hide resolved
repository: {{IMAGENAME}}
pullPolicy: IfNotPresent

Expand Down
2 changes: 1 addition & 1 deletion test/skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ deploy:
- name: my-chart
chartPath: charts
artifactOverrides:
imageKey: my-app
image: my-app
imageStrategy:
helm: {}
2 changes: 1 addition & 1 deletion test/templates/helm/charts/production.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
imageKey:
image:
repository: "test"
pullPolicy: IfNotPresent
tag: "latest"
Expand Down
2 changes: 1 addition & 1 deletion test/templates/helm/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replicaCount: 1

containerPort: 8080

imageKey:
image:
repository: test
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
Expand Down
2 changes: 1 addition & 1 deletion test/templates/helm_prod_values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
imageKey:
image:
repository: "prodImage"
pullPolicy: IfNotPresent
tag: "latest"