Files
bakery-ia/infrastructure/platform/networking/ingress/overlays/dev/kustomization.yaml

45 lines
1.4 KiB
YAML
Raw Normal View History

2026-01-19 11:55:17 +01:00
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
2026-01-19 13:57:50 +01:00
- gitea-service.yaml
2026-01-19 11:55:17 +01:00
namePrefix: dev-
patches:
- target:
kind: Ingress
name: bakery-ingress
patch: |-
- op: replace
path: /spec/tls/0/hosts/0
value: bakery-ia.local
- op: replace
path: /spec/tls/0/hosts/1
value: gitea.bakery-ia.local
- op: replace
path: /spec/tls/0/hosts/2
2026-01-19 22:28:53 +01:00
value: registry.bakery-ia.local
- op: replace
path: /spec/tls/0/hosts/3
value: mail.bakery-ia.dev
2026-01-19 11:55:17 +01:00
- op: replace
path: /spec/tls/0/secretName
value: bakery-dev-tls-cert
- op: replace
path: /spec/rules/0/host
value: bakery-ia.local
- op: replace
path: /spec/rules/1/host
value: gitea.bakery-ia.local
- op: replace
path: /spec/rules/2/host
2026-01-19 22:28:53 +01:00
value: registry.bakery-ia.local
- op: replace
path: /spec/rules/3/host
value: mail.bakery-ia.dev
2026-01-19 11:55:17 +01:00
- op: replace
path: /metadata/annotations/nginx.ingress.kubernetes.io~1cors-allow-origin
2026-01-19 22:28:53 +01:00
value: "https://localhost,https://localhost:3000,https://localhost:3001,https://127.0.0.1,https://127.0.0.1:3000,https://127.0.0.1:3001,https://bakery-ia.local,https://registry.bakery-ia.local,https://gitea.bakery-ia.local,http://localhost,http://localhost:3000,http://localhost:3001,http://127.0.0.1,http://127.0.0.1:3000"