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

Service CoreDNS Corefile by k8gb chart #439

Merged
merged 1 commit into from
Apr 14, 2021
Merged

Service CoreDNS Corefile by k8gb chart #439

merged 1 commit into from
Apr 14, 2021

Conversation

k0da
Copy link
Collaborator

@k0da k0da commented Apr 13, 2021

In order to propogate dnsZone into CoreDNS Corefile we need to service
configmap ourself and instruct CoreDNS chart to skip config creation.
This is done by skipConfig: true option.

Signed-off-by: Dinar Valeev dinar.valeev@absa.africa

Comment on lines 4 to 7
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
app.kubernetes.io/instance: {{ .Release.Name | quote }}
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
app.kubernetes.io/name: {{ template "coredns.name" . }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
app.kubernetes.io/instance: {{ .Release.Name | quote }}
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
app.kubernetes.io/name: {{ template "coredns.name" . }}
{{ include "chart.labels" . | indent 4 }}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ytsarev thanks amended

In order to propogate dnsZone into CoreDNS Corefile we need to service
configmap ourself and instruct CoreDNS chart to skip config creation.
This is done by skipConfig: true option.

Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
@k0da k0da requested a review from ytsarev April 13, 2021 16:05
@k0da k0da merged commit 6520beb into master Apr 14, 2021
@k0da k0da deleted the coredns_chart branch May 6, 2021 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants