Skip to content

Commit

Permalink
Issue 14: Update to 0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
aescanero committed Sep 18, 2020
1 parent 7729c4e commit 9ab45d6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 39 deletions.
4 changes: 2 additions & 2 deletions charts/powerdns/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.8
version: 0.1.9

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 1.16.0
appVersion: 4.3.4
8 changes: 4 additions & 4 deletions charts/powerdns/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Access to the DNS Server and Dashboard by running these commands:
{{- if .Values.admin.ingress.enabled }}
http://{{ .Values.admin.ingress.hostname }}.{{ .Values.powerdns.domain }}{{ .Values.admin.ingress.path }}
{{- end }}
{{- if eq .Values.powerdns.service.dns.tcp.type "NodePort" }}
{{- if eq .Values.service.dns.tcp.type "NodePort" }}
export NODE_PORT=$(kubectl {{- if .Release.Namespace }} -n {{.Release.Namespace}} {{ end -}} get -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "powerdns.fullname" . }})-service-dns-tcp
export NODE_IP=$(kubectl {{- if .Release.Namespace }} -n {{.Release.Namespace}} {{ end -}} get nodes -o jsonpath="{.items[0].status.addresses[0].address}")
echo Point your DNS client to $NODE_IP:$NODE_PORT
Expand All @@ -14,16 +14,16 @@ Access to the DNS Server and Dashboard by running these commands:
echo Dashboard access at http://$SERVICE_IP2:{{ .Values.admin.service.port }}
{{- end }}

{{- if eq .Values.powerdns.service.dns.tcp.type "LoadBalancer" }}
{{- if eq .Values.service.dns.tcp.type "LoadBalancer" }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl {{ if .Release.Namespace }} -n {{.Release.Namespace}} {{ end }} get svc -w {{ template "powerdns.fullname" . }}'
export SERVICE_IP1=$(kubectl {{ if .Release.Namespace }} -n {{.Release.Namespace}} {{ end }} get svc {{ template "powerdns.fullname" . }}-service-dns-tcp -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
export SERVICE_IP2=$(kubectl {{ if .Release.Namespace }} -n {{.Release.Namespace}} {{ end }} get svc {{ template "powerdns.fullname" . }}-service-admin -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo Point your DNS client to $SERVICE_IP1:{{ .Values.powerdns.service.dns.tcp.port }}
echo Point your DNS client to $SERVICE_IP1:{{ .Values.service.dns.tcp.port }}
echo Dashboard access at http://$SERVICE_IP2:{{ .Values.admin.service.port }}
{{- end }}

{{- if contains "ClusterIP" .Values.powerdns.service.dns.tcp.type }}
{{- if contains "ClusterIP" .Values.service.dns.tcp.type }}
export POD_NAME=$(kubectl {{- if .Release.Namespace }} -n {{.Release.Namespace}} {{ end -}} get pods -l "app={{ template "powerdns.name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Point your DNS client to 127.0.0.1:53"
kubectl port-forward $POD_NAME 53:53
Expand Down
35 changes: 2 additions & 33 deletions charts/powerdns/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Author: [email protected]
#Website: www.disasterproject.com
#Version: 0.1
#Version: 0.3

enabled: true
service:
Expand All @@ -25,45 +25,17 @@ image:
domain: external.local
master: "yes"
api: "yes"
webserver: "yes"
webserver_address: "0.0.0.0"
webserver_allow_from: "0.0.0.0/0"
version_string: "anonymous"
default_ttl: "1500"
soa_minimum_ttl: "1200"
default_soa_name: "ns1.external.local"
mysql_host: "127.0.0.1"
mysql_database: "powerdns"
mysql_user: "powerdns"
requests:
memory: "512Mi"
cpu: "300m"
limits:
memory: "512Mi"
cpu: "300m"

apikey: foobarbaz

metallb:
address_pool: default

powerdns:
enabled: true
service:
dns:
tcp:
enabled: false
type: LoadBalancer
port: 53
annotations:
udp:
enabled: true
type: LoadBalancer
port: 53
annotations:
api:
type: ClusterIP
port: 8081
image:
repository: pschiffe/pdns-mysql
tag: alpine
Expand All @@ -78,7 +50,7 @@ powerdns:
default_ttl: "1500"
soa_minimum_ttl: "1200"
default_soa_name: "ns1.external.local"
# mysql_host: "127.0.0.1"
mysql_host: "127.0.0.1"
mysql_database: "powerdns"
mysql_user: "powerdns"
requests:
Expand All @@ -88,9 +60,6 @@ powerdns:
memory: "512Mi"
cpu: "300m"




mariadb:
enabled: true
image:
Expand Down

0 comments on commit 9ab45d6

Please sign in to comment.