[bitnami/external-dns] ability to disable validation (#20001)

Signed-off-by: Jon Whitcraft <jwhitcraft@mac.com>
This commit is contained in:
Jon Whitcraft
2023-10-25 04:24:05 -04:00
committed by GitHub
parent 8d26cb1c0b
commit 9f757c4b2a
4 changed files with 12 additions and 2 deletions

View File

@@ -28,4 +28,4 @@ maintainers:
name: external-dns
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/external-dns
version: 6.26.5
version: 6.27.0

View File

@@ -101,6 +101,7 @@ The command removes all the Kubernetes components associated with the chart and
| `publishInternalServices` | Allow external-dns to publish DNS records for ClusterIP services | `false` |
| `publishHostIP` | Allow external-dns to publish host-ip for headless services | `false` |
| `serviceTypeFilter` | The service types to take care about (default: all, options: ClusterIP, NodePort, LoadBalancer, ExternalName) | `[]` |
| `validation.enabled` | Enable chart validation | `true` |
| `akamai.host` | Hostname to use for EdgeGrid auth | `""` |
| `akamai.accessToken` | Access Token to use for EdgeGrid auth | `""` |
| `akamai.clientToken` | Client Token to use for EdgeGrid auth | `""` |

View File

@@ -262,7 +262,7 @@ compartment: {{ .Values.oci.compartmentOCID }}
{{ end }}
{{/*
Compile all warnings into a single message, and call fail.
Compile all warnings into a single message, and call fail if the validation is enabled
*/}}
{{- define "external-dns.validateValues" -}}
{{- $messages := list -}}
@@ -308,10 +308,12 @@ Compile all warnings into a single message, and call fail.
{{- $messages := without $messages "" -}}
{{- $message := join "\n" $messages -}}
{{- if .Values.validation.enabled -}}
{{- if $message -}}
{{- printf "\nVALUES VALIDATION:\n%s" $message | fail -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Validate values of External DNS:

View File

@@ -145,6 +145,12 @@ publishHostIP: false
## @param serviceTypeFilter The service types to take care about (default: all, options: ClusterIP, NodePort, LoadBalancer, ExternalName)
##
serviceTypeFilter: []
## Chart Validation
##
validation:
## @param validation.enabled Enable chart validation
##
enabled: true
## Akamai configuration to be set via arguments/env. variables
##
akamai:
@@ -1110,3 +1116,4 @@ metrics:
## @param metrics.googlePodMonitor.endpoint The endpoint for Google Managed Prometheus scraping the metrics
##
endpoint: /metrics