Merge "Add release uuid to pods and rc objects (deckhand)"

This commit is contained in:
Zuul 2018-09-16 21:49:50 +00:00 committed by Gerrit Code Review
commit 4973cdf97c
4 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,8 @@ apiVersion: apps/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
name: deckhand-api name: deckhand-api
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec: spec:
replicas: {{ .Values.pod.replicas.deckhand }} replicas: {{ .Values.pod.replicas.deckhand }}
{{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_deployment" | indent 2 }} {{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_deployment" | indent 2 }}

View File

@ -25,6 +25,8 @@ apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: deckhand-db-init name: deckhand-db-init
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec: spec:
template: template:
metadata: metadata:

View File

@ -25,6 +25,8 @@ apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: deckhand-db-sync name: deckhand-db-sync
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec: spec:
template: template:
metadata: metadata:

View File

@ -25,6 +25,7 @@ metadata:
name: "{{ .Release.Name }}-deckhand-api-test" name: "{{ .Release.Name }}-deckhand-api-test"
annotations: annotations:
"helm.sh/hook": "test-success" "helm.sh/hook": "test-success"
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
labels: labels:
{{ tuple $envAll "deckhand" "api-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} {{ tuple $envAll "deckhand" "api-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
spec: spec: