-
torgiren authored
Signed-off-by:
Marcin Fabrykowski <git@fabrykowski.pl>
Unverifiedb58da4cd
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
43
44
45
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: dex
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: Prune=true
argocd.argoproj.io/sync-wave: "-1"
spec:
project: exphost
source:
repoURL: 'https://charts.dexidp.io'
targetRevision: 0.14.1
chart: dex
helm:
values: |
configSecret:
create: false
name: dex-config
ingress:
enabled: true
hosts:
- host: auth.{{ .Values.domain }}
paths:
- path: /dex
pathType: Prefix
tls:
- hosts:
- auth.{{ .Values.domain }}
secretName: dex-acme.tls
annotations:
cert-manager.io/cluster-issuer: acme-issuer
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-methods: "PUT, GET, POST, OPTIONS"
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
destination:
server: 'https://kubernetes.default.svc'
namespace: dex
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true