mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 09:36:58 +02:00
Finalize schema - passes unit tests
This commit is contained in:
parent
fc44490c96
commit
e0fce4ef61
@ -130,9 +130,11 @@ If `namespaced` is set to `true`, please ensure that `sources` my only contains
|
|||||||
| podSecurityContext | object | See _values.yaml_ | [Pod security context](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#podsecuritycontext-v1-core), this supports full customisation. |
|
| podSecurityContext | object | See _values.yaml_ | [Pod security context](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#podsecuritycontext-v1-core), this supports full customisation. |
|
||||||
| policy | string | `"upsert-only"` | How DNS records are synchronized between sources and providers; available values are `create-only`, `sync`, & `upsert-only`. |
|
| policy | string | `"upsert-only"` | How DNS records are synchronized between sources and providers; available values are `create-only`, `sync`, & `upsert-only`. |
|
||||||
| priorityClassName | string | `nil` | Priority class name for the `Pod`. |
|
| priorityClassName | string | `nil` | Priority class name for the `Pod`. |
|
||||||
|
| provider | object | `{"name":"aws","webhook":{"readTimeout":null,"sidecar":{"args":[],"env":[],"extraVolumeMounts":[],"image":{"pullPolicy":"IfNotPresent","repository":null,"tag":null},"livenessProbe":{"failureThreshold":2,"httpGet":{"path":"/healthz","port":"http-webhook"},"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5},"readinessProbe":{"failureThreshold":6,"httpGet":{"path":"/healthz","port":"http-webhook"},"initialDelaySeconds":5,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5},"resources":{},"securityContext":{},"service":{"port":8080},"serviceMonitor":{"bearerTokenFile":null,"interval":null,"metricRelabelings":[],"relabelings":[],"scheme":null,"scrapeTimeout":null,"tlsConfig":{}}},"url":null,"writeTimeout":null}}` | Provider configuration |
|
||||||
| provider.name | string | `"aws"` | _ExternalDNS_ provider name; for the available providers and how to configure them see [README](https://github.com/kubernetes-sigs/external-dns/blob/master/charts/external-dns/README.md#providers). |
|
| provider.name | string | `"aws"` | _ExternalDNS_ provider name; for the available providers and how to configure them see [README](https://github.com/kubernetes-sigs/external-dns/blob/master/charts/external-dns/README.md#providers). |
|
||||||
|
| provider.webhook | object | `{"readTimeout":null,"sidecar":{"args":[],"env":[],"extraVolumeMounts":[],"image":{"pullPolicy":"IfNotPresent","repository":null,"tag":null},"livenessProbe":{"failureThreshold":2,"httpGet":{"path":"/healthz","port":"http-webhook"},"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5},"readinessProbe":{"failureThreshold":6,"httpGet":{"path":"/healthz","port":"http-webhook"},"initialDelaySeconds":5,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5},"resources":{},"securityContext":{},"service":{"port":8080},"serviceMonitor":{"bearerTokenFile":null,"interval":null,"metricRelabelings":[],"relabelings":[],"scheme":null,"scrapeTimeout":null,"tlsConfig":{}}},"url":null,"writeTimeout":null}` | Webhook configuration |
|
||||||
| provider.webhook.readTimeout | integer | `nil` | Webhook read timeout |
|
| provider.webhook.readTimeout | integer | `nil` | Webhook read timeout |
|
||||||
| provider.webhook.sidecar | object | `{"args":[],"env":[],"extraVolumeMounts":[],"image":{"pullPolicy":"IfNotPresent","repository":null,"tag":null},"livenessProbe":{"failureThreshold":2,"httpGet":{"path":"/healthz","port":"http-webhook"},"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5},"readinessProbe":{"failureThreshold":6,"httpGet":{"path":"/healthz","port":"http-webhook"},"initialDelaySeconds":5,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5},"resources":{},"securityContext":{},"service":{"port":8080},"serviceMonitor":{"bearerTokenFile":null,"interval":null,"metricRelabelings":[],"relabelings":[],"scheme":null,"scrapeTimeout":null,"tlsConfig":{}}}` | Webhook sidecar container |
|
| provider.webhook.sidecar | object | `{"args":[],"env":[],"extraVolumeMounts":[],"image":{"pullPolicy":"IfNotPresent","repository":null,"tag":null},"livenessProbe":{"failureThreshold":2,"httpGet":{"path":"/healthz","port":"http-webhook"},"initialDelaySeconds":10,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5},"readinessProbe":{"failureThreshold":6,"httpGet":{"path":"/healthz","port":"http-webhook"},"initialDelaySeconds":5,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5},"resources":{},"securityContext":{},"service":{"port":8080},"serviceMonitor":{"bearerTokenFile":null,"interval":null,"metricRelabelings":[],"relabelings":[],"scheme":null,"scrapeTimeout":null,"tlsConfig":{}}}` | Webhook sidecar container configuration |
|
||||||
| provider.webhook.sidecar.args | list | `[]` | Extra arguments to provide for the `webhook` container. |
|
| provider.webhook.sidecar.args | list | `[]` | Extra arguments to provide for the `webhook` container. |
|
||||||
| provider.webhook.sidecar.env | list | `[]` | [Environment variables](https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/) for the `webhook` container. |
|
| provider.webhook.sidecar.env | list | `[]` | [Environment variables](https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/) for the `webhook` container. |
|
||||||
| provider.webhook.sidecar.extraVolumeMounts | list | `[]` | Extra [volume mounts](https://kubernetes.io/docs/concepts/storage/volumes/) for the `webhook` container. |
|
| provider.webhook.sidecar.extraVolumeMounts | list | `[]` | Extra [volume mounts](https://kubernetes.io/docs/concepts/storage/volumes/) for the `webhook` container. |
|
||||||
|
@ -127,7 +127,8 @@ spec:
|
|||||||
- --managed-record-types={{ . }}
|
- --managed-record-types={{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- --provider={{ $providerName }}
|
- --provider={{ $providerName }}
|
||||||
{{- if .Values.provider.webhook.readTimeout }}
|
{{- if kindIs "map" .Values.provider }}
|
||||||
|
{{- if .Values.provider.webhook.readTimeout }}
|
||||||
- --webhook-provider-read-timeout={{ .Values.provider.webhook.readTimeout }}
|
- --webhook-provider-read-timeout={{ .Values.provider.webhook.readTimeout }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.provider.webhook.writeTimeout }}
|
{{- if .Values.provider.webhook.writeTimeout }}
|
||||||
@ -136,6 +137,7 @@ spec:
|
|||||||
{{- if .Values.provider.webhook.url }}
|
{{- if .Values.provider.webhook.url }}
|
||||||
- --webhook-provider-url={{ .Values.provider.webhook.url }}
|
- --webhook-provider-url={{ .Values.provider.webhook.url }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- if kindIs "map" .Values.extraArgs }}
|
{{- if kindIs "map" .Values.extraArgs }}
|
||||||
{{- range $key, $value := .Values.extraArgs }}
|
{{- range $key, $value := .Values.extraArgs }}
|
||||||
{{- if not (kindIs "invalid" $value) }}
|
{{- if not (kindIs "invalid" $value) }}
|
||||||
|
@ -1153,6 +1153,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"provider": {
|
"provider": {
|
||||||
|
"description": "Provider configuration",
|
||||||
"type": [
|
"type": [
|
||||||
"object",
|
"object",
|
||||||
"string"
|
"string"
|
||||||
@ -1160,10 +1161,17 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"description": "_ExternalDNS_ provider name; for the available providers and how to configure them see [README](https://github.com/kubernetes-sigs/external-dns/blob/master/charts/external-dns/README.md#providers).",
|
"description": "_ExternalDNS_ provider name; for the available providers and how to configure them see [README](https://github.com/kubernetes-sigs/external-dns/blob/master/charts/external-dns/README.md#providers).",
|
||||||
"type": "string"
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"webhook": {
|
"webhook": {
|
||||||
"type": "object",
|
"description": "Webhook configuration",
|
||||||
|
"type": [
|
||||||
|
"object",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"readTimeout": {
|
"readTimeout": {
|
||||||
"description": "Webhook read timeout",
|
"description": "Webhook read timeout",
|
||||||
@ -1173,8 +1181,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"sidecar": {
|
"sidecar": {
|
||||||
"description": "Webhook sidecar container",
|
"description": "Webhook sidecar container configuration",
|
||||||
"type": "object",
|
"type": [
|
||||||
|
"object",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"args": {
|
"args": {
|
||||||
"description": "Extra arguments to provide for the `webhook` container.",
|
"description": "Extra arguments to provide for the `webhook` container.",
|
||||||
|
@ -240,18 +240,20 @@ labelFilter: # @schema type: [string,null]; default: null
|
|||||||
# -- Record types to manage (default: A, AAAA, CNAME)
|
# -- Record types to manage (default: A, AAAA, CNAME)
|
||||||
managedRecordTypes: [] # @schema type: [array, null]; item: string; uniqueItems: true
|
managedRecordTypes: [] # @schema type: [array, null]; item: string; uniqueItems: true
|
||||||
|
|
||||||
|
# -- (object) Provider configuration
|
||||||
provider: # @schema type: [object, string]
|
provider: # @schema type: [object, string]
|
||||||
# -- _ExternalDNS_ provider name; for the available providers and how to configure them see [README](https://github.com/kubernetes-sigs/external-dns/blob/master/charts/external-dns/README.md#providers).
|
# -- _ExternalDNS_ provider name; for the available providers and how to configure them see [README](https://github.com/kubernetes-sigs/external-dns/blob/master/charts/external-dns/README.md#providers).
|
||||||
name: aws
|
name: aws # @schema type:[string, null]
|
||||||
webhook: # @schema type: [object]
|
# -- (object) Webhook configuration
|
||||||
|
webhook: # @schema type: [object, null]
|
||||||
# -- (string) Webhook URL
|
# -- (string) Webhook URL
|
||||||
url: # @schema type:[string, null]
|
url: # @schema type:[string, null]; default: null
|
||||||
# -- (integer) Webhook read timeout
|
# -- (integer) Webhook read timeout
|
||||||
readTimeout: # @schema type:[integer, null]
|
readTimeout: # @schema type:[integer, null]; default: null
|
||||||
# -- (integer) Webhook write timeout
|
# -- (integer) Webhook write timeout
|
||||||
writeTimeout: # @schema type:[integer, null]
|
writeTimeout: # @schema type:[integer, null]; default: null
|
||||||
# -- Webhook sidecar container
|
# -- (object) Webhook sidecar container configuration
|
||||||
sidecar: # @schema type: [object]
|
sidecar: # @schema type: [object, null]; default: null
|
||||||
image:
|
image:
|
||||||
# -- (string) Image repository for the `webhook` container.
|
# -- (string) Image repository for the `webhook` container.
|
||||||
repository: # @schema type:[string, null]; default: null
|
repository: # @schema type:[string, null]; default: null
|
||||||
|
Loading…
Reference in New Issue
Block a user