UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
authservice-helmrelease.yaml 1.43 KiB
Newer Older
{{- if and .Values.istio.enabled ( or .Values.addons.authservice.enabled .Values.monitoring.sso.enabled .Values.jaeger.sso.enabled ) }}
joshwolf's avatar
joshwolf committed
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: authservice
  namespace: {{ .Release.Namespace }}
Thomas Runyon's avatar
Thomas Runyon committed
  labels:
    app.kubernetes.io/name: authservice
    app.kubernetes.io/component: "core"
    {{- include "commonLabels" . | nindent 4}}
joshwolf's avatar
joshwolf committed
spec:
joshwolf's avatar
joshwolf committed
  chart:
    spec:
      chart: {{ .Values.addons.authservice.git.path }}
joshwolf's avatar
joshwolf committed
      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: {{ .Release.Name }}-authservice-values
      kind: Secret
      valuesKey: "common"
    - name: {{ .Release.Name }}-authservice-values
      kind: Secret
      valuesKey: "defaults"
    - name: {{ .Release.Name }}-authservice-values
joshwolf's avatar
joshwolf committed
      kind: Secret
      valuesKey: "overlays"

  {{- if .Values.istio.enabled }}
joshwolf's avatar
joshwolf committed
  dependsOn:
  - name: istio
    namespace: {{ .Release.Namespace }}
joshwolf's avatar
joshwolf committed
{{- end }}