--- apiVersion: helm.toolkit.fluxcd.io/v2beta2 kind: HelmRelease metadata: name: {{ .Release.Name }}-auth spec: chart: spec: sourceRef: kind: GitRepository name: "wrenix-helm-charts" namespace: "flux-system" chart: "./authentik-application" reconcileStrategy: "Revision" install: {{- toYaml .Values.commons.helm.release.install | nindent 4 }} test: {{- toYaml .Values.commons.helm.release.test | nindent 4 }} upgrade: {{- toYaml .Values.commons.helm.release.upgrade | nindent 4 }} driftDetection: {{- toYaml .Values.commons.helm.release.driftDetection | nindent 4 }} interval: 10m values: {{- $host := .Values.ingress.host | default (printf "coder.%s" .Values.commons.ingress.domain) }} blueprint: authentik: domain: "https://{{ .Values.commons.auth.host | default (printf "auth.%s" .Values.commons.ingress.domain) }}" provider: type: "oidc" name: "GoToSocial" oidc: clientType: "confidential" redirectURL: "https://{{ $host }}/external-auth/primary/callback" clientID: {{ .Values.auth.clientID | default (derivePassword 1 "long" .Values.commons.masterPassword "coder" "auth.clientID") | quote }} clientSecret: {{ .Values.auth.clientSecret | default (derivePassword 1 "long" .Values.commons.masterPassword "coder" "auth.clientSecret") | quote }} signingKey: "authentik Self-signed Certificate" scopes: - name: "authentik default OAuth Mapping: OpenID 'openid'" - name: "authentik default OAuth Mapping: OpenID 'email'" - name: "authentik default OAuth Mapping: OpenID 'profile'" groups: - slug: "mycloud - users" bindID: "cefc0c13-49fa-4374-a909-e201a88a473b" application: policyEngineMode: "any" openInNewTab: true publisher: "WrenIX's myCloud" slug: "mycloud-coder" group: "Developing" name: "Coder" launchURL: "https://{{ $host }}/settings" icon: "https://{{ $host }}/assets/logo.png" description: "Deliver Real Developer Productivity - Code More. Build Fast. Spend Less."