Skip to content

Commit

Permalink
working zarf helm overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
justinthelaw committed Sep 27, 2024
1 parent baf0dff commit 686ff43
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
10 changes: 1 addition & 9 deletions chart/templates/core-dns-custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,4 @@ metadata:
namespace: kube-system
data:
uds.override: |
rewrite stop {
name regex (.*\.admin\.uds\.dev) admin-ingressgateway.istio-admin-gateway.svc.cluster.local answer auto
}
rewrite stop {
name regex (.*\.uds\.dev) tenant-ingressgateway.istio-tenant-gateway.svc.cluster.local answer auto
}
rewrite stop {
name regex (.*\.uds\.dev) host.k3d.internal answer auto
}
{{ .Values.coreDnsOverrides | indent 4 }}
11 changes: 11 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
extraPorts: []

coreDnsOverrides: |
rewrite stop {
name regex (.*\.admin\.uds\.dev) admin-ingressgateway.istio-admin-gateway.svc.cluster.local answer auto
}
rewrite stop {
name regex (.*\.uds\.dev) tenant-ingressgateway.istio-tenant-gateway.svc.cluster.local answer auto
}
rewrite stop {
name regex (.*\.uds\.dev) host.k3d.internal answer auto
}
5 changes: 5 additions & 0 deletions zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ components:
# x-release-please-end
valuesFiles:
- "values/dev-stack-values.yaml"
variables:
- name: COREDNS_OVERRIDES
# Defaults contain rewrites of `*.uds.dev` to the UDS core Istio tenant and admin gateways
description: "CoreDNS overrides"
path: coreDnsOverrides
- name: minio
namespace: uds-dev-stack
version: 5.2.0
Expand Down

0 comments on commit 686ff43

Please sign in to comment.