[powerdns] additional env vars (#1248)

* add possibility to insert additional env vars

* update README.md
This commit is contained in:
MickaelCa 2021-10-17 15:05:19 +02:00 committed by GitHub
parent 5d55c5a0cb
commit 2afb28717e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v4.3.1
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: 3.4.1
version: 3.4.2
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/powerdns
sources:
- http://www.github.com/PowerDNS/

View File

@ -105,6 +105,7 @@ N/A
| powerdns.postgres.database | string | `"pdns"` | |
| powerdns.postgres.password | string | `"pdnspass"` | |
| powerdns.postgres.username | string | `"pdns"` | |
| powerdns.additionalEnv | list | `[]` | |
| probes.liveness.enabled | bool | `true` | |
| probes.liveness.failureThreshold | int | `5` | |
| probes.liveness.initialDelaySeconds | int | `30` | |

View File

@ -87,6 +87,9 @@ spec:
- name: MYSQL_DNSSEC
value: {{if (.Values.powerdns.dnssec)}}"yes"{{else}}"no"{{ end }}
{{ end }}
{{- with .Values.powerdns.additionalEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: dns-tcp
containerPort: 53

View File

@ -70,6 +70,27 @@ powerdns:
database: pdns
dnssec: true
config: {}
additionalEnv: []
# - name: PGSQL_HOST
# valueFrom:
# secretKeyRef:
# name: "external-secret-name"
# key: host
# - name: PGSQL_USER
# valueFrom:
# secretKeyRef:
# name: "external-secret-name"
# key: user
# - name: PGSQL_PASS
# valueFrom:
# secretKeyRef:
# name: external-secret-name
# key: password
# - name: PGSQL_DB
# valueFrom:
# secretKeyRef:
# name: external-secret-name
# key: dbname
# Enabled mariadb
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb