-
torgiren authored
Signed-off-by:
Marcin Fabrykowski <git@fabrykowski.pl>
14e5a92e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: oauth2-longhorn
namespace: argocd
spec:
project: exphost
source:
repoURL: 'https://charts.bitnami.com/bitnami'
chart: oauth2-proxy
targetRevision: 3.4.9
helm:
values: |
ingress:
enabled: true
hostname: "longhorn.{{ .Values.domain}}"
path: /oauth2
pathType: Prefix
tls: true
annotations:
cert-manager.io/cluster-issuer: acme-issuer
configuration:
existingSecret: oauth2-longhorn-oauth2-proxy
content: |
provider = "oidc"
oidc_issuer_url = "https://auth.{{ .Values.domain }}/dex"
allowed_groups = ["k8s-admins"]
email_domains = [ "*" ]
upstreams = [ "file:///dev/null" ]
redis:
auth:
existingSecret: oauth2-longhorn-redis
destination:
server: 'https://kubernetes.default.svc'
namespace: longhorn-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true