mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
[powerdns] Powerdns fix startup (#313)
This commit is contained in:
parent
ddd4788598
commit
17e306825e
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: "latest"
|
appVersion: "latest"
|
||||||
description: PowerDNS is a DNS server, written in C++ and licensed under the GPL. It runs on most Unix derivatives. PowerDNS features a large number of different backends ranging from simple BIND style zonefiles to relational databases and load balancing/failover algorithms. A DNS recursor is provided as a separate program.
|
description: PowerDNS is a DNS server, written in C++ and licensed under the GPL. It runs on most Unix derivatives. PowerDNS features a large number of different backends ranging from simple BIND style zonefiles to relational databases and load balancing/failover algorithms. A DNS recursor is provided as a separate program.
|
||||||
name: powerdns
|
name: powerdns
|
||||||
version: 1.0.0
|
version: 1.0.1
|
||||||
home: https://www.powerdns.com/
|
home: https://www.powerdns.com/
|
||||||
sources:
|
sources:
|
||||||
- http://www.github.com/PowerDNS/
|
- http://www.github.com/PowerDNS/
|
||||||
|
@ -10,6 +10,8 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: {{ include "powerdns.name" . }}
|
app.kubernetes.io/name: {{ include "powerdns.name" . }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
strategy:
|
||||||
|
type: {{ .Values.strategyType }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -7,7 +7,8 @@ metadata:
|
|||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
{{- if .Values.postgres.enabled }}
|
{{- if .Values.postgres.enabled }}
|
||||||
postgres_host: "{{ printf (include "powerdns.fullname" "-postgres" ) | b64enc }}"
|
{{- $postgrestmp := printf "%s-%s" .Release.Name "postgres"}}
|
||||||
|
postgres_host: "{{ $postgrestmp |b64enc }}"
|
||||||
postgres_port: "{{ .Values.powerdns.postgres.port | toString | b64enc }}"
|
postgres_port: "{{ .Values.powerdns.postgres.port | toString | b64enc }}"
|
||||||
postgres_username: "{{ .Values.powerdns.postgres.username | b64enc }}"
|
postgres_username: "{{ .Values.powerdns.postgres.username | b64enc }}"
|
||||||
postgres_password: "{{ .Values.powerdns.postgres.password | toString | b64enc }}"
|
postgres_password: "{{ .Values.powerdns.postgres.password | toString | b64enc }}"
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
strategyType: Recreate
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: psitrax/powerdns
|
repository: psitrax/powerdns
|
||||||
@ -60,14 +61,10 @@ affinity: {}
|
|||||||
powerdns:
|
powerdns:
|
||||||
domain: mydomain.local
|
domain: mydomain.local
|
||||||
postgres:
|
postgres:
|
||||||
host: powerdns-postgres
|
|
||||||
port: 5432
|
|
||||||
username: pdns
|
username: pdns
|
||||||
password: pdnspass
|
password: pdnspass
|
||||||
database: pdns
|
database: pdns
|
||||||
mysql:
|
mysql:
|
||||||
host: powerdns-mariadb
|
|
||||||
port: 3306
|
|
||||||
username: pdns
|
username: pdns
|
||||||
password: pdnspass
|
password: pdnspass
|
||||||
database: pdns
|
database: pdns
|
||||||
@ -89,6 +86,10 @@ mariadb:
|
|||||||
enabled: false
|
enabled: false
|
||||||
postgres:
|
postgres:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
global:
|
||||||
|
postgresqlUsername: pdns
|
||||||
|
postgresqlPassword: pdnspass
|
||||||
|
postgresqlDatabase: pdns
|
||||||
|
|
||||||
# Probes configuration
|
# Probes configuration
|
||||||
probes:
|
probes:
|
||||||
|
Loading…
Reference in New Issue
Block a user