Skip to content

Commit b7926ef

Browse files
authored
Merge pull request #30434 from bergerhoffer/github-30414
GitHub-30414: Adding note for GitHub Enterprise only
2 parents 1dc80f9 + 236a1b1 commit b7926ef

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

modules/identity-provider-config-map.adoc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,26 @@
77
// * authentication/identity_providers/configuring-oidc-identity-provider.adoc
88
// * authentication/identity_providers/configuring-request-header-identity-provider.adoc
99

10+
ifeval::["{context}" == "configuring-github-identity-provider"]
11+
:github:
12+
endif::[]
13+
1014
[id="identity-provider-creating-configmap_{context}"]
1115
= Creating a config map
1216

1317
Identity providers use {product-title} `ConfigMap` objects in the `openshift-config`
1418
namespace to contain the certificate authority bundle. These are primarily
1519
used to contain certificate bundles needed by the identity provider.
1620

21+
ifdef::github[]
22+
[NOTE]
23+
====
24+
This procedure is only required for GitHub Enterprise.
25+
====
26+
endif::github[]
27+
28+
.Procedure
29+
1730
* Define an {product-title} `ConfigMap` object containing the
1831
certificate authority by using the following command. The certificate
1932
authority must be stored in the `ca.crt` key of the `ConfigMap` object.
@@ -22,3 +35,8 @@ authority must be stored in the `ca.crt` key of the `ConfigMap` object.
2235
----
2336
$ oc create configmap ca-config-map --from-file=ca.crt=/path/to/ca -n openshift-config
2437
----
38+
39+
// Undefining attributes
40+
ifeval::["{context}" == "configuring-google-identity-provider"]
41+
:!github:
42+
endif::[]

0 commit comments

Comments
 (0)