Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add coredns configmap only for mainnet #752

Merged
merged 1 commit into from
Oct 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/all-in-one/templates/coredns.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if eq $.Values.global.networkType "Main" }}
apiVersion: v1
data:
Corefile: |
Expand All @@ -8,7 +9,6 @@ data:
pods insecure
fallthrough in-addr.arpa ip6.arpa
}
{{- if eq $.Values.global.networkType "Main" }}
rewrite name 9c-main-tcp-seed-1.planetarium.dev tcp-seed-1.9c-network.svc.cluster.local
rewrite name 9c-main-tcp-seed-2.planetarium.dev tcp-seed-2.9c-network.svc.cluster.local
rewrite name 9c-main-tcp-seed-3.planetarium.dev tcp-seed-3.9c-network.svc.cluster.local
Expand All @@ -28,7 +28,6 @@ data:
rewrite name 9c-main-validator-8.nine-chronicles.com validator-8.9c-network.svc.cluster.local
rewrite name 9c-main-test-1.nine-chronicles.com test-headless-1.9c-network.svc.cluster.local
rewrite name 9c-main-test-2.nine-chronicles.com test-headless-2.9c-network.svc.cluster.local
{{- end }}
prometheus :9153
forward . /etc/resolv.conf
cache 30
Expand All @@ -43,3 +42,4 @@ metadata:
k8s-app: kube-dns
name: coredns
namespace: kube-system
{{- end }}