mirror of
https://github.com/bitnami/charts.git
synced 2026-02-10 20:27:38 +08:00
[bitnami/flux: Use merge helper]: (#19040)
This commit is contained in:
committed by
GitHub
parent
26ddfc4ef1
commit
8d4cc38db0
@@ -1,6 +1,6 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 2.9.0
|
||||
digest: sha256:416ad278a896f0e9b51d5305bef5d875c7cca6fbb64b75e1f131b04763e2aff9
|
||||
generated: "2023-08-22T14:07:35.963547+02:00"
|
||||
version: 2.10.0
|
||||
digest: sha256:023ded170632d04528f30332370f34fc8fb96efb2886a01d934cb3bd6e6d2e09
|
||||
generated: "2023-09-05T11:32:27.787365+02:00"
|
||||
|
||||
@@ -22,25 +22,25 @@ annotations:
|
||||
apiVersion: v2
|
||||
appVersion: 0.36.1
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: oci://registry-1.docker.io/bitnamicharts
|
||||
tags:
|
||||
- bitnami-common
|
||||
version: 2.x.x
|
||||
- name: common
|
||||
repository: oci://registry-1.docker.io/bitnamicharts
|
||||
tags:
|
||||
- bitnami-common
|
||||
version: 2.x.x
|
||||
description: Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration
|
||||
home: https://bitnami.com
|
||||
icon: https://bitnami.com/assets/stacks/fluxcd-kustomize-controller/img/fluxcd-kustomize-controller-stack-220x234.png
|
||||
keywords:
|
||||
- deployment
|
||||
- gitops
|
||||
- cd
|
||||
- continuous-delivery
|
||||
- helm
|
||||
- kustomize
|
||||
- deployment
|
||||
- gitops
|
||||
- cd
|
||||
- continuous-delivery
|
||||
- helm
|
||||
- kustomize
|
||||
maintainers:
|
||||
- name: VMware, Inc.
|
||||
url: https://github.com/bitnami/charts
|
||||
- name: VMware, Inc.
|
||||
url: https://github.com/bitnami/charts
|
||||
name: flux
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/flux
|
||||
version: 0.4.0
|
||||
version: 0.4.1
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
{{- if .Values.helmController.updateStrategy }}
|
||||
strategy: {{- toYaml .Values.helmController.updateStrategy | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.helmController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.helmController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: helm-controller
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
{{- if .Values.helmController.pdb.maxUnavailable }}
|
||||
maxUnavailable: {{ .Values.helmController.pdb.maxUnavailable }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.helmController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.helmController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: helm-controller
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: helm-controller
|
||||
{{- if or .Values.helmController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.helmController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.helmController.serviceAccount.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.helmController.serviceAccount.automountServiceAccountToken }}
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: helm-controller
|
||||
{{- if or .Values.helmController.metrics.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.helmController.metrics.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.helmController.metrics.service.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
@@ -49,7 +49,7 @@ spec:
|
||||
{{- if .Values.helmController.metrics.service.extraPorts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.helmController.metrics.service.extraPorts "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.helmController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.helmController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: helm-controller
|
||||
{{- end }}
|
||||
|
||||
@@ -9,12 +9,12 @@ kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ template "flux.helm-controller.fullname" . }}
|
||||
namespace: {{ default (include "common.names.namespace" .) .Values.helmController.metrics.serviceMonitor.namespace | quote }}
|
||||
{{- $labels := merge .Values.helmController.metrics.serviceMonitor.labels .Values.commonLabels }}
|
||||
{{- $labels := include "common.tplvalues.merge" ( dict "values" ( list .Values.helmController.metrics.serviceMonitor.labels .Values.commonLabels ) "context" . ) }}
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: helm-controller
|
||||
{{- if or .Values.helmController.metrics.serviceMonitor.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.helmController.metrics.serviceMonitor.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.helmController.metrics.serviceMonitor.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
{{- if .Values.imageAutomationController.updateStrategy }}
|
||||
strategy: {{- toYaml .Values.imageAutomationController.updateStrategy | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.imageAutomationController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageAutomationController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: image-automation-controller
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
{{- if .Values.imageAutomationController.pdb.maxUnavailable }}
|
||||
maxUnavailable: {{ .Values.imageAutomationController.pdb.maxUnavailable }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.imageAutomationController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageAutomationController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: image-automation-controller
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: image-automation-controller
|
||||
{{- if or .Values.imageAutomationController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.imageAutomationController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageAutomationController.serviceAccount.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.imageAutomationController.serviceAccount.automountServiceAccountToken }}
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: image-automation-controller
|
||||
{{- if or .Values.imageAutomationController.metrics.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.imageAutomationController.metrics.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageAutomationController.metrics.service.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
@@ -49,7 +49,7 @@ spec:
|
||||
{{- if .Values.imageAutomationController.metrics.service.extraPorts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.imageAutomationController.metrics.service.extraPorts "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.imageAutomationController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageAutomationController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: image-automation-controller
|
||||
{{- end }}
|
||||
|
||||
@@ -9,12 +9,12 @@ kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ template "flux.image-automation-controller.fullname" . }}
|
||||
namespace: {{ default (include "common.names.namespace" .) .Values.imageAutomationController.metrics.serviceMonitor.namespace | quote }}
|
||||
{{- $labels := merge .Values.imageAutomationController.metrics.serviceMonitor.labels .Values.commonLabels }}
|
||||
{{- $labels := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageAutomationController.metrics.serviceMonitor.labels .Values.commonLabels ) "context" . ) }}
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: helm-controller
|
||||
{{- if or .Values.imageAutomationController.metrics.serviceMonitor.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.imageAutomationController.metrics.serviceMonitor.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageAutomationController.metrics.serviceMonitor.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
{{- if .Values.imageReflectorController.updateStrategy }}
|
||||
strategy: {{- toYaml .Values.imageReflectorController.updateStrategy | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.imageReflectorController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageReflectorController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: image-reflector-controller
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
{{- if .Values.imageReflectorController.pdb.maxUnavailable }}
|
||||
maxUnavailable: {{ .Values.imageReflectorController.pdb.maxUnavailable }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.imageReflectorController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageReflectorController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: image-reflector-controller
|
||||
|
||||
@@ -17,7 +17,7 @@ metadata:
|
||||
helm.sh/resource-policy: {{ .Values.imageReflectorController.persistence.resourcePolicy | quote }}
|
||||
{{- end }}
|
||||
{{- if or .Values.imageReflectorController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.imageReflectorController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageReflectorController.serviceAccount.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: image-reflector-controller
|
||||
{{- if or .Values.imageReflectorController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.imageReflectorController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageReflectorController.serviceAccount.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.imageReflectorController.serviceAccount.automountServiceAccountToken }}
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: image-reflector-controller
|
||||
{{- if or .Values.imageReflectorController.metrics.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.imageReflectorController.metrics.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageReflectorController.metrics.service.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
@@ -49,7 +49,7 @@ spec:
|
||||
{{- if .Values.imageReflectorController.metrics.service.extraPorts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.imageReflectorController.metrics.service.extraPorts "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.imageReflectorController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageReflectorController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: image-reflector-controller
|
||||
{{- end }}
|
||||
|
||||
@@ -9,12 +9,12 @@ kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ template "flux.image-reflector-controller.fullname" . }}
|
||||
namespace: {{ default (include "common.names.namespace" .) .Values.imageReflectorController.metrics.serviceMonitor.namespace | quote }}
|
||||
{{- $labels := merge .Values.imageReflectorController.metrics.serviceMonitor.labels .Values.commonLabels }}
|
||||
{{- $labels := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageReflectorController.metrics.serviceMonitor.labels .Values.commonLabels ) "context" . ) }}
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: image-reflector-controller
|
||||
{{- if or .Values.imageReflectorController.metrics.serviceMonitor.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.imageReflectorController.metrics.serviceMonitor.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.imageReflectorController.metrics.serviceMonitor.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
{{- if .Values.kustomizeController.updateStrategy }}
|
||||
strategy: {{- toYaml .Values.kustomizeController.updateStrategy | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.kustomizeController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.kustomizeController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: kustomize-controller
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
{{- if .Values.kustomizeController.pdb.maxUnavailable }}
|
||||
maxUnavailable: {{ .Values.kustomizeController.pdb.maxUnavailable }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.kustomizeController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.kustomizeController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: kustomize-controller
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: kustomize-controller
|
||||
{{- if or .Values.kustomizeController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.kustomizeController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.kustomizeController.serviceAccount.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.kustomizeController.serviceAccount.automountServiceAccountToken }}
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: kustomize-controller
|
||||
{{- if or .Values.kustomizeController.metrics.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.kustomizeController.metrics.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.kustomizeController.metrics.service.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
@@ -49,7 +49,7 @@ spec:
|
||||
{{- if .Values.kustomizeController.metrics.service.extraPorts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.kustomizeController.metrics.service.extraPorts "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.kustomizeController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.kustomizeController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: kustomize-controller
|
||||
{{- end }}
|
||||
|
||||
@@ -9,12 +9,12 @@ kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ template "flux.kustomize-controller.fullname" . }}
|
||||
namespace: {{ default (include "common.names.namespace" .) .Values.kustomizeController.metrics.serviceMonitor.namespace | quote }}
|
||||
{{- $labels := merge .Values.kustomizeController.metrics.serviceMonitor.labels .Values.commonLabels }}
|
||||
{{- $labels := include "common.tplvalues.merge" ( dict "values" ( list .Values.kustomizeController.metrics.serviceMonitor.labels .Values.commonLabels ) "context" . ) }}
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: kustomize-controller
|
||||
{{- if or .Values.kustomizeController.metrics.serviceMonitor.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.kustomizeController.metrics.serviceMonitor.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.kustomizeController.metrics.serviceMonitor.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
{{- if .Values.notificationController.updateStrategy }}
|
||||
strategy: {{- toYaml .Values.notificationController.updateStrategy | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.notificationController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.notificationController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: notification-controller
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
{{- if .Values.notificationController.pdb.maxUnavailable }}
|
||||
maxUnavailable: {{ .Values.notificationController.pdb.maxUnavailable }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.notificationController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.notificationController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: notification-controller
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: notification-controller
|
||||
{{- if or .Values.notificationController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.notificationController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.notificationController.serviceAccount.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.notificationController.serviceAccount.automountServiceAccountToken }}
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: notification-controller
|
||||
{{- if or .Values.notificationController.metrics.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.notificationController.metrics.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.notificationController.metrics.service.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
@@ -49,7 +49,7 @@ spec:
|
||||
{{- if .Values.notificationController.metrics.service.extraPorts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.notificationController.metrics.service.extraPorts "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.notificationController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.notificationController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: notification-controller
|
||||
{{- end }}
|
||||
|
||||
@@ -9,12 +9,12 @@ kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ template "flux.notification-controller.fullname" . }}
|
||||
namespace: {{ default (include "common.names.namespace" .) .Values.notificationController.metrics.serviceMonitor.namespace | quote }}
|
||||
{{- $labels := merge .Values.notificationController.metrics.serviceMonitor.labels .Values.commonLabels }}
|
||||
{{- $labels := include "common.tplvalues.merge" ( dict "values" ( list .Values.notificationController.metrics.serviceMonitor.labels .Values.commonLabels ) "context" . ) }}
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: notification-controller
|
||||
{{- if or .Values.notificationController.metrics.serviceMonitor.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.notificationController.metrics.serviceMonitor.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.notificationController.metrics.serviceMonitor.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
{{- if .Values.sourceController.updateStrategy }}
|
||||
strategy: {{- toYaml .Values.sourceController.updateStrategy | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.sourceController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.sourceController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: source-controller
|
||||
|
||||
@@ -16,7 +16,7 @@ metadata:
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- $podLabels := merge .Values.sourceController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.sourceController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
podSelector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: source-controller
|
||||
|
||||
@@ -22,7 +22,7 @@ spec:
|
||||
{{- if .Values.sourceController.pdb.maxUnavailable }}
|
||||
maxUnavailable: {{ .Values.sourceController.pdb.maxUnavailable }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.sourceController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.sourceController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: source-controller
|
||||
|
||||
@@ -17,7 +17,7 @@ metadata:
|
||||
helm.sh/resource-policy: {{ .Values.sourceController.persistence.resourcePolicy | quote }}
|
||||
{{- end }}
|
||||
{{- if or .Values.sourceController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.sourceController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.sourceController.serviceAccount.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: source-controller
|
||||
{{- if or .Values.sourceController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.sourceController.serviceAccount.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.sourceController.serviceAccount.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.sourceController.serviceAccount.automountServiceAccountToken }}
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: source-controller
|
||||
{{- if or .Values.sourceController.metrics.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.sourceController.metrics.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.sourceController.metrics.service.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
@@ -49,7 +49,7 @@ spec:
|
||||
{{- if .Values.sourceController.metrics.service.extraPorts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.sourceController.metrics.service.extraPorts "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.sourceController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.sourceController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: source-controller
|
||||
{{- end }}
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: source-controller
|
||||
{{- if or .Values.sourceController.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.sourceController.service.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.sourceController.service.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
@@ -49,7 +49,7 @@ spec:
|
||||
{{- if .Values.sourceController.service.extraPorts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.sourceController.service.extraPorts "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- $podLabels := merge .Values.sourceController.podLabels .Values.commonLabels }}
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.sourceController.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: source-controller
|
||||
{{- end }}
|
||||
|
||||
@@ -9,11 +9,11 @@ kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ template "flux.source-controller.fullname" . }}
|
||||
namespace: {{ default (include "common.names.namespace" .) .Values.sourceController.metrics.serviceMonitor.namespace | quote }}
|
||||
{{- $labels := merge .Values.sourceController.metrics.serviceMonitor.labels .Values.commonLabels }}
|
||||
{{- $labels := include "common.tplvalues.merge" ( dict "values" ( list .Values.sourceController.metrics.serviceMonitor.labels .Values.commonLabels ) "context" . ) }}
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }} app.kubernetes.io/part-of: flux
|
||||
app.kubernetes.io/component: source-controller
|
||||
{{- if or .Values.sourceController.metrics.serviceMonitor.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := merge .Values.sourceController.metrics.serviceMonitor.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.sourceController.metrics.serviceMonitor.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user