Add release uuid to pods and rc objects
This PS adds the ability to attach a release uuid to pods and rc objects as desired. This can be used, for example, to force an artificial manifest change in CICD scenarios, for upgradability testing purposes. Change-Id: I77147ca778d70ee6337c609185bbe421c040376a
This commit is contained in:
parent
51b1bb8a7a
commit
90618f549c
@ -69,6 +69,8 @@ apiVersion: apps/v1beta1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: armada-api
|
||||
annotations:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||
spec:
|
||||
replicas: {{ .Values.pod.replicas.api }}
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_deployment" | indent 2 }}
|
||||
|
@ -25,6 +25,7 @@ metadata:
|
||||
name: "{{ .Release.Name }}-armada-api-test"
|
||||
annotations:
|
||||
"helm.sh/hook": "test-success"
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||
labels:
|
||||
{{ tuple $envAll "armada" "api-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||
spec:
|
||||
|
@ -39,6 +39,8 @@ metadata:
|
||||
app: helm
|
||||
name: tiller
|
||||
name: tiller-deploy
|
||||
annotations:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
|
Loading…
Reference in New Issue
Block a user