kustomization.yaml 1.0 KB

123456789101112131415161718192021222324252627
  1. # Kustomize entrypoint (task 46).
  2. #
  3. # Validate: `kustomize build deploy/k8s`
  4. # Dry-run against a cluster: `kubectl apply --dry-run=server -k deploy/k8s`
  5. #
  6. # Release images: the workloads in `deployment.yaml` / `migrate-job.yaml`
  7. # carry the mutable `:latest` tag directly, and no `images:` override is
  8. # applied, so `kustomize build` emits `:latest` as-is.
  9. apiVersion: kustomize.config.k8s.io/v1beta1
  10. kind: Kustomization
  11. namespace: d-oauth
  12. resources:
  13. - namespace.yaml
  14. - configmap.yaml
  15. - secret.yaml
  16. - service.yaml
  17. - deployment.yaml
  18. - migrate-job.yaml
  19. - pdb.yaml
  20. - networkpolicy.yaml
  21. # NOTE: no Ingress resource is shipped on purpose. In-process mTLS
  22. # verification needs L4/TCP passthrough (NLB gateway / TLSRoute); an L7
  23. # ingress that terminates TLS strips the client certificate. Adding an
  24. # Ingress while `D_OAUTH_TLS__CLIENT_CA_PATH` is set fails
  25. # `scripts/check_manifests.py`. See docs/DEPLOYMENT.md. Pod egress and ingress
  26. # are constrained by `networkpolicy.yaml` (default-deny egress except DNS +
  27. # Postgres/Redis scoped to their namespace).