You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -8,7 +12,7 @@ Dex is installed by default for all the Argo CD instances created by the Operato
8
12
9
13
To configure Keycloak, follow these steps:
10
14
11
-
. Delete the Dex configuration by removing the following section from the Argo CD Custom Resource (CR), and save the CR:
15
+
. Delete the Dex configuration by removing the `.spec.sso.dex` parameter from the Argo CD custom resource (CR), and save the CR:
12
16
+
13
17
[source,yaml]
14
18
----
@@ -23,7 +27,11 @@ dex:
23
27
memory:
24
28
----
25
29
26
-
. Configure Keycloak by editing the Argo CD CR, and updating the value for the `provider` parameter as `keycloak`. For example:
30
+
. Set the value of the `provider` parameter to `keycloak` in the Argo CD CR.
31
+
32
+
. Configure Keycloak by performing one of the following steps:
33
+
34
+
* For a secure connection, set the value of the `rootCA` parameter as shown in the following example:
27
35
+
28
36
[source,yaml]
29
37
----
@@ -36,9 +44,33 @@ metadata:
36
44
spec:
37
45
sso:
38
46
provider: keycloak
47
+
keycloak:
48
+
rootCA: "<PEM-encoded-root-certificate>" <1>
39
49
server:
40
50
route:
41
-
enabled: true
51
+
enabled: true
52
+
----
53
+
<1> A custom certificate used to verify the Keycloak's TLS certificate.
54
+
+
55
+
The Operator reconciles changes in the `.spec.keycloak.rootCA` parameter and updates the `oidc.config` parameter with the PEM encoded root certificate in the `argocd-cm` configuration map.
56
+
57
+
* For an insecure connection, leave the value of the `rootCA` parameter empty and use the `oidc.tls.insecure.skip.verify` parameter as shown below:
0 commit comments