mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
[bitnami/external-dns] ability to disable validation (#20001)
Signed-off-by: Jon Whitcraft <jwhitcraft@mac.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 | `""` |
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user