Review changes that would be added to deployment testing

This commit is contained in:
Akshay Jagadish
2020-09-28 14:40:06 -04:00
parent 21825ae54d
commit 33217abda1
3 changed files with 16 additions and 1 deletions

View File

@@ -48,7 +48,14 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: {{ .Values.global.repository }}/{{ .Values.image.name }}:{{ .Values.image.tag }}
{{- if .Values.global.testingEnabled }}
image: {{ .Values.global.repository }}/{{ .Values.image.name }}:{{ .Values.image.tag }}-{{.Values.global.testingTimestamp}}
{{- else }}
image: {{ .Values.global.repository }}/{{ .Values.image.name }}:{{ .Values.image.tag }}
imagePullPolicy: {{ .Values.global.pullPolicy }}
env:
{{- include "common.env" . | nindent 12 }}

View File

@@ -9,9 +9,12 @@
replicaCount: 1
image:
name: wlan-portal-service
tag: 0.0.1-SNAPSHOT
timestamp:
nameOverride: ""
fullnameOverride: ""

View File

@@ -36,6 +36,11 @@ global:
# Is the Cluster deployed in Cloud
isCloudDeployment: true
testingEnabled: false
testingTimestamp:
# Namespace related
createReleaseNamespace: true