wip2 cant helm template

This commit is contained in:
Eric Ace 2025-07-23 17:38:54 -04:00
parent 9460f0d325
commit e3689a59fe
4 changed files with 10 additions and 19 deletions

View File

@ -174,7 +174,7 @@ spec:
{{- end }}
{{- if eq $providerName "webhook" }}
{{- if .Values.provider.webhook.sidecar }}
{{- with .Values.provider.webhook }}
{{- with .Values.provider.webhook.sidecar }}
- name: webhook
image: {{ include "external-dns.webhookImage" . }}
imagePullPolicy: {{ .image.pullPolicy }}

View File

@ -27,7 +27,7 @@ spec:
targetPort: http
protocol: TCP
{{- if eq $providerName "webhook" }}
{{- with .Values.provider.webhook.service }}
{{- with .Values.provider.webhook.sidecar.service }}
- name: http-webhook
port: {{ .port }}
targetPort: http-webhook

View File

@ -50,7 +50,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if eq $providerName "webhook" }}
{{- with .Values.provider.webhook.serviceMonitor }}
{{- with .Values.provider.webhook.sidecar.serviceMonitor }}
- port: http-webhook
path: /metrics
{{- with .interval }}

View File

@ -248,22 +248,13 @@ provider: # @schema type: [object, string];
readTimeout:
writeTimeout:
sidecar:
image: # @schema additionalProperties: false
# -- Image repository for the `webhook` container.
repository: registry.k8s.io/external-dns/external-dns
# -- Image tag for the `external-dns` container, this will default to `.Chart.AppVersion` if not set.
tag: # @schema type:[string, null]
# -- Image pull policy for the `external-dns` container.
pullPolicy: IfNotPresent # @schema enum:[IfNotPresent, Always];
#image:
# # -- (string) Image repository for the `webhook` container.
# repository: # @schema type:[string, null]; default: null
# # -- (string) Image tag for the `webhook` container.
# tag: # @schema type:[string, null]; default: null
# # -- Image pull policy for the `webhook` container.
# pullPolicy: IfNotPresent
image:
# -- (string) Image repository for the `webhook` container.
repository: # @schema type:[string, null]; default: null
# -- (string) Image tag for the `webhook` container.
tag: # @schema type:[string, null]; default: null
# -- Image pull policy for the `webhook` container.
pullPolicy: IfNotPresent
# -- [Environment variables](https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/) for the `webhook` container.
env: []
# -- Extra arguments to provide for the `webhook` container.