mirror of
https://github.com/puppetlabs/vmpooler-deployment.git
synced 2026-01-26 03:28:41 -05:00
Update vmpooler chart to accept image tag override
Prior to this, the only way to set the image tag was by modifying the appVersion param of the chart itself. This made it impossible to use a non-default image version.
This commit is contained in:
parent
2977012170
commit
79bb824068
5 changed files with 24 additions and 9 deletions
|
|
@ -3,7 +3,7 @@ name: vmpooler
|
|||
description: A Helm chart to deploy vmpooler
|
||||
type: application
|
||||
icon: https://github.com/puppetlabs/vmpooler/raw/master/lib/vmpooler/public/img/logo.png
|
||||
version: 1.7.0
|
||||
version: 1.7.1
|
||||
appVersion: 1.0.0-prod-all-providers
|
||||
dependencies:
|
||||
- name: redis
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ spec:
|
|||
- name: {{ $fullName }}-api
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
||||
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.service.port }}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ spec:
|
|||
- name: {{ $fullName }}-manager
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
||||
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.service.port }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue