mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-05 17:16:59 +02:00
WIP templates succesfully
This commit is contained in:
parent
e3689a59fe
commit
a6131625cf
@ -127,6 +127,15 @@ spec:
|
||||
- --managed-record-types={{ . }}
|
||||
{{- end }}
|
||||
- --provider={{ $providerName }}
|
||||
{{- if .Values.provider.webhook.readTimeout }}
|
||||
- --webhook-provider-read-timeout={{ .Values.provider.webhook.readTimeout }}
|
||||
{{- end }}
|
||||
{{- if .Values.provider.webhook.writeTimeout }}
|
||||
- --webhook-provider-write-timeout={{ .Values.provider.webhook.writeTimeout }}
|
||||
{{- end }}
|
||||
{{- if .Values.provider.webhook.url }}
|
||||
- --webhook-provider-url={{ .Values.provider.webhook.url }}
|
||||
{{- end }}
|
||||
{{- if kindIs "map" .Values.extraArgs }}
|
||||
{{- range $key, $value := .Values.extraArgs }}
|
||||
{{- if not (kindIs "invalid" $value) }}
|
||||
|
@ -27,6 +27,7 @@ spec:
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
{{- if eq $providerName "webhook" }}
|
||||
{{- if .Values.provider.webhook.sidecar }}
|
||||
{{- with .Values.provider.webhook.sidecar.service }}
|
||||
- name: http-webhook
|
||||
port: {{ .port }}
|
||||
@ -34,3 +35,4 @@ spec:
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
@ -50,6 +50,7 @@ spec:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if eq $providerName "webhook" }}
|
||||
{{- if .Values.provider.webhook.sidecar }}
|
||||
{{- with .Values.provider.webhook.sidecar.serviceMonitor }}
|
||||
- port: http-webhook
|
||||
path: /metrics
|
||||
@ -79,6 +80,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- with .Values.serviceMonitor.targetLabels }}
|
||||
targetLabels:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
|
Loading…
Reference in New Issue
Block a user