Skip to content

Commit

Permalink
fix value
Browse files Browse the repository at this point in the history
  • Loading branch information
karlivory committed Aug 30, 2023
1 parent 9d5d3cc commit 2f1d65d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/bind9/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: bind9
description: bind9 primary-secondary (master-slave) setup
type: application
version: 0.1.0
version: 0.1.1
appVersion: "9.18"
2 changes: 1 addition & 1 deletion charts/bind9/templates/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ metadata:
namespace: bind9
spec:
type: ClusterIP
clusterIP: "{{ .Values.bind9.primaryClusterIP }}"
clusterIP: "{{ .Values.primary.service.clusterIP }}"
ports:
- name: dns-tcp
protocol: TCP
Expand Down
3 changes: 3 additions & 0 deletions charts/bind9/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ zone:

primary:
service:
# The bind9 primary (master) server needs to have a static ip, since
# /etc/bind/named.conf does not accept dns names in its "masters { <master-ip> };"
# Make sure this value is within your kubernetes internal-ip range.
clusterIP: "10.100.0.53"
deployment:
replicas: 1
Expand Down

0 comments on commit 2f1d65d

Please sign in to comment.