apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: eth resources: - namespace.yaml - configmap.yaml - minio.yaml - lambda.yaml - docs.yaml - gateway.yaml # Generate the gateway Caddyfile ConfigMap from the standalone file. # Hash suffix is on by default — when Caddyfile changes, the ConfigMap gets # a new hashed name, kustomize rewrites the Deployment volume reference, # and the gateway pod restarts automatically with the new config. configMapGenerator: - name: gateway-config files: - Caddyfile