mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 15:39: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"
|
||||
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
|
||||
version: 1.0.0
|
||||
version: 1.0.1
|
||||
home: https://www.powerdns.com/
|
||||
sources:
|
||||
- http://www.github.com/PowerDNS/
|
||||
|
@ -10,6 +10,8 @@ spec:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: {{ include "powerdns.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
strategy:
|
||||
type: {{ .Values.strategyType }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
@ -7,7 +7,8 @@ metadata:
|
||||
type: Opaque
|
||||
data:
|
||||
{{- 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_username: "{{ .Values.powerdns.postgres.username | b64enc }}"
|
||||
postgres_password: "{{ .Values.powerdns.postgres.password | toString | b64enc }}"
|
||||
|
@ -3,6 +3,7 @@
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
replicaCount: 1
|
||||
strategyType: Recreate
|
||||
|
||||
image:
|
||||
repository: psitrax/powerdns
|
||||
@ -60,14 +61,10 @@ affinity: {}
|
||||
powerdns:
|
||||
domain: mydomain.local
|
||||
postgres:
|
||||
host: powerdns-postgres
|
||||
port: 5432
|
||||
username: pdns
|
||||
password: pdnspass
|
||||
database: pdns
|
||||
mysql:
|
||||
host: powerdns-mariadb
|
||||
port: 3306
|
||||
username: pdns
|
||||
password: pdnspass
|
||||
database: pdns
|
||||
@ -89,6 +86,10 @@ mariadb:
|
||||
enabled: false
|
||||
postgres:
|
||||
enabled: false
|
||||
global:
|
||||
postgresqlUsername: pdns
|
||||
postgresqlPassword: pdnspass
|
||||
postgresqlDatabase: pdns
|
||||
|
||||
# Probes configuration
|
||||
probes:
|
||||
|
Loading…
Reference in New Issue
Block a user