Files
manoon-headless/k8s/kustomization.yaml

17 lines
481 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment-nodejs.yaml
- service.yaml
- ingress.yaml
# Generate a ConfigMap with git revision info
# This ConfigMap changes on each Flux reconciliation, triggering pod restarts
configMapGenerator:
- name: deployment-metadata
literals:
- GIT_REVISION=${GIT_REVISION}
- DEPLOY_TIME=${DEPLOY_TIME}
options:
disableNameSuffixHash: false # Changing hash forces pod restart