{{- if and .Values.istio.enabled .Values.addons.authservice.enabled }} apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: authservice namespace: {{ .Release.Namespace }} spec: targetNamespace: istio-system chart: spec: chart: chart interval: 5m sourceRef: kind: GitRepository name: authservice namespace: {{ .Release.Namespace }} {{- with .Values.flux }} interval: {{ .interval }} test: enable: false install: remediation: retries: {{ .install.retries }} upgrade: remediation: retries: {{ .upgrade.retries }} remediateLastFailure: true cleanupOnFail: true rollback: timeout: {{ .rollback.timeout }} cleanupOnFail: {{ .rollback.cleanupOnFail }} {{- end }} valuesFrom: - name: values kind: Secret valuesKey: "authservice.yaml" values: imagePullSecrets: - name: private-registry defaultConfig: false filterLabel: keycloak dependsOn: - name: istio namespace: {{ .Release.Namespace }} {{- end }}