Browse Source

Add realease uuid annotation to POD spec

Change-Id: Id81fbc239a641bed5a1486f647a46bb9c3408584
changes/45/665745/3
Kumar, Nishant(nk613n) 2 years ago
committed by Nishant Kumar
parent
commit
8fba639411
  1. 1
      charts/shipyard/templates/deployment-airflow-scheduler.yaml
  2. 1
      charts/shipyard/templates/deployment-shipyard.yaml
  3. 2
      charts/shipyard/templates/statefulset-airflow-worker.yaml

1
charts/shipyard/templates/deployment-airflow-scheduler.yaml

@ -43,6 +43,7 @@ spec:
labels:
{{ tuple $envAll "airflow" "scheduler" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
configmap-bin-hash: {{ tuple "configmap-airflow-bin.yaml" . | include "helm-toolkit.utils.hash" }}
configmap-etc-hash: {{ tuple "configmap-airflow-etc.yaml" . | include "helm-toolkit.utils.hash" }}
spec:

1
charts/shipyard/templates/deployment-shipyard.yaml

@ -35,6 +35,7 @@ spec:
labels:
{{ tuple $envAll "shipyard" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
shipyard-configmap-bin-hash: {{ tuple "configmap-shipyard-bin.yaml" . | include "helm-toolkit.utils.hash" }}
shipyard-configmap-etc-hash: {{ tuple "configmap-shipyard-etc.yaml" . | include "helm-toolkit.utils.hash" }}
airflow-configmap-bin-hash: {{ tuple "configmap-airflow-bin.yaml" . | include "helm-toolkit.utils.hash" }}

2
charts/shipyard/templates/statefulset-airflow-worker.yaml

@ -80,6 +80,8 @@ spec:
metadata:
labels:
{{ tuple $envAll "airflow" "worker" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
spec:
serviceAccountName: {{ $serviceAccountName }}
affinity:

Loading…
Cancel
Save