30 lines
1.3 KiB
YAML
30 lines
1.3 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
resources:
|
|
- ../../base
|
|
|
|
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/secretName
|
|
value: bakery-dev-tls-cert
|
|
- op: replace
|
|
path: /spec/rules/0/host
|
|
value: bakery-ia.local
|
|
- op: replace
|
|
path: /metadata/annotations/nginx.ingress.kubernetes.io~1cors-allow-origin
|
|
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"
|
|
# NOTE: Gitea and Registry ingresses are managed by Gitea Helm chart (infrastructure/cicd/gitea/values.yaml)
|
|
# NOTE: Mail ingress (mail.bakery-ia.dev) is deployed separately via mailu-helm Tilt resource
|
|
# NOTE: Monitoring ingress (monitoring.bakery-ia.local) is deployed separately via SigNoz Helm chart
|
|
# See infrastructure/monitoring/signoz/signoz-values-dev.yaml for monitoring configuration
|