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 }} {{- end }}
{{- if eq $providerName "webhook" }} {{- if eq $providerName "webhook" }}
{{- if .Values.provider.webhook.sidecar }} {{- if .Values.provider.webhook.sidecar }}
{{- with .Values.provider.webhook }} {{- with .Values.provider.webhook.sidecar }}
- name: webhook - name: webhook
image: {{ include "external-dns.webhookImage" . }} image: {{ include "external-dns.webhookImage" . }}
imagePullPolicy: {{ .image.pullPolicy }} imagePullPolicy: {{ .image.pullPolicy }}

View File

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

View File

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

View File

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