apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ../../base - dummyhttp-sealed-secret.yaml # Add the config map configMapGenerator: - name: dummyhttp-configmap literals: - CM_VAR="Default Test Value" behavior: create options: disableNameSuffixHash: true patches: # Add reloader annotations - target: kind: Deployment name: dummyhttp patch: |- - op: add path: /metadata/annotations value: reloader.stakater.com/auto: "true" reloader.stakater.com/rollout-strategy: "restart" # Change the ingress host name - target: kind: Ingress name: dummyhttp patch: |- - op: replace path: /spec/rules/0/host value: test-dummyhttp.localhost.mixinet.net