mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/external-dns] Fix cloudflare env vars (#2755)
* [bitnami/external-dns] Fix sensitive env vars Cloudflare sensitive data (apiToken/key) now uses secrets in deployment files to prevent them from being printed in plaintext. Signed-off-by: joancafom <jcarmona@bitnami.com> * Chart version bump * [bitnami/external-dns] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
co-authored by
Bitnami Containers
parent
8eb47a37cd
commit
bb63ebb107
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: external-dns
|
||||
version: 3.1.1
|
||||
version: 3.1.2
|
||||
appVersion: 0.7.2
|
||||
description: ExternalDNS is a Kubernetes addon that configures public DNS servers with information about exposed Kubernetes services to make them discoverable.
|
||||
keywords:
|
||||
|
||||
@@ -247,7 +247,6 @@ spec:
|
||||
{{- end }}
|
||||
{{- if eq .Values.provider "cloudflare" }}
|
||||
# Cloudflare environment variables
|
||||
{{- if .Values.cloudflare.secretName }}
|
||||
- name: CF_API_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
@@ -260,16 +259,6 @@ spec:
|
||||
name: {{ template "external-dns.secretName" . }}
|
||||
key: cloudflare_api_key
|
||||
optional: true
|
||||
{{- else }}
|
||||
{{- if .Values.cloudflare.apiToken }}
|
||||
- name: CF_API_TOKEN
|
||||
value: {{ .Values.cloudflare.apiToken | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.cloudflare.apiKey }}
|
||||
- name: CF_API_KEY
|
||||
value: {{ .Values.cloudflare.apiKey | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- name: CF_API_EMAIL
|
||||
value: {{ .Values.cloudflare.email | quote }}
|
||||
{{- end }}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/external-dns
|
||||
tag: 0.7.2-debian-10-r0
|
||||
tag: 0.7.2-debian-10-r2
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/external-dns
|
||||
tag: 0.7.2-debian-10-r0
|
||||
tag: 0.7.2-debian-10-r2
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
|
||||
Reference in New Issue
Block a user