Skip to content

Commit ec079c9

Browse files
feat: argocd login with tunnel access
1 parent 905377f commit ec079c9

File tree

1 file changed

+3
-31
lines changed

1 file changed

+3
-31
lines changed

modules/argocd/values/argo_cd.tftpl

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,11 @@ configs:
55
repositoriesAnnotations:
66
managed-by: argocd.argoproj.io
77
cm:
8-
url: https://api.polinetwork.org
9-
"dex.config": |
10-
logger:
11-
level: debug
12-
format: json
13-
connectors:
14-
- type: microsoft
15-
# Required field for connector id.
16-
id: microsoft
17-
# Required field for connector name.
18-
name: Microsoft
19-
config:
20-
# Credentials can be string literals or pulled from the environment.
21-
clientId: ${clientId}
22-
clientSecret: ${clientSecret}
23-
redirectURI: http://127.0.0.1:5556/dex/callback
24-
tenant: ${tenant}
8+
url: https://argocd.polinetwork.org
9+
"users.anonymous.enabled": true
2510

2611
rbac:
27-
"policy.default": role:''
12+
"policy.default": 'role:admin'
2813
"policy.csv": |
2914
p, role:org-admin, applications, *, */*, allow
3015
p, role:org-admin, clusters, get, *, allow
@@ -55,16 +40,3 @@ server:
5540
limits:
5641
cpu: "200m"
5742
memory: "600Mi"
58-
ingress:
59-
enabled: true
60-
hostname: "api.polinetwork.org"
61-
ingressClassName: nginx
62-
annotations:
63-
"cert-manager.io/cluster-issuer": "letsencrypt-prod-issuer"
64-
"nginx.ingress.kubernetes.io/ssl-passthrough": "true"
65-
"nginx.ingress.kubernetes.io/backend-protocol": "HTTPS"
66-
path: "/"
67-
extraTls:
68-
- hosts:
69-
- "api.polinetwork.org"
70-
secretName: "argocd-secret"

0 commit comments

Comments
 (0)