apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - namespace.yaml - continuous-deploy-account.yaml - network-policies/egress.yaml - network-policies/egress-local-services.yaml generatorOptions: disableNameSuffixHash: true configMapGenerator: - name: infra-setup-vars namespace: git-limbosolutions-com envs: - ./.env.d/.env replacements: - source: kind: ConfigMap name: infra-setup-vars fieldPath: data.EGRESS_BACKUPSRV_CIDR targets: - select: kind: NetworkPolicy name: git-limbosolutions-com-egress-local fieldPaths: - spec.egress.0.to.0.ipBlock.cidr