KEYCLOAK-13556 correcting syntax for OC command
This commit is contained in:
parent
b495ac8697
commit
834afdaf64
2 changed files with 7 additions and 7 deletions
|
@ -118,7 +118,7 @@ OpenShift uses objects called link:https://docs.openshift.com/container-platform
|
|||
+
|
||||
[source,bash,subs="attributes+,macros+"]
|
||||
----
|
||||
$ oc secret new sso-app-secret keystore.jks jgroups.jceks truststore.jks
|
||||
$ oc create secret generic sso-app-secret --from-file=keystore.jks --from-file=jgroups.jceks --from-file=truststore.jks
|
||||
----
|
||||
. Link these secrets to the link:https://docs.openshift.com/container-platform/latest/dev_guide/service_accounts.html#default-service-accounts-and-roles[default] service account, which is used to run {project_name} pods.
|
||||
+
|
||||
|
|
|
@ -880,12 +880,12 @@ $ keytool -genseckey \
|
|||
+
|
||||
[source,bash,subs="attributes+,macros+"]
|
||||
----
|
||||
$ oc secret new eap-ssl-secret eapkeystore.jks
|
||||
$ oc create secret generic eap-ssl-secret --from-file=eapkeystore.jks
|
||||
----
|
||||
+
|
||||
[source,bash,subs="attributes+,macros+"]
|
||||
----
|
||||
$ oc secret new eap-jgroup-secret eapjgroups.jceks
|
||||
$ oc create secret generic eap-jgroup-secret --from-file=eapjgroups.jceks
|
||||
----
|
||||
.. Add the EAP application secret to the link:https://docs.openshift.com/container-platform/latest/dev_guide/service_accounts.html#default-service-accounts-and-roles[`default`] service account.
|
||||
+
|
||||
|
@ -1330,8 +1330,8 @@ $ keytool -genseckey -alias jgroups -storetype JCEKS -keystore eapjgroups.jceks
|
|||
+
|
||||
[source,bash,subs="attributes+,macros+"]
|
||||
----
|
||||
$ oc secret new eap-ssl-secret eapkeystore.jks
|
||||
$ oc secret new eap-jgroup-secret eapjgroups.jceks
|
||||
$ oc create secret generic eap-ssl-secret --from-file=eapkeystore.jks
|
||||
$ oc create secret generic eap-jgroup-secret --from-file=eapjgroups.jceks
|
||||
----
|
||||
. Add the EAP secret to the `default` service account:
|
||||
+
|
||||
|
@ -1579,8 +1579,8 @@ $ keytool -genseckey -alias jgroups -storetype JCEKS -keystore eapjgroups.jceks
|
|||
+
|
||||
[source,bash,subs="attributes+,macros+"]
|
||||
----
|
||||
$ oc secret new eap-ssl-secret eapkeystore.jks
|
||||
$ oc secret new eap-jgroup-secret eapjgroups.jceks
|
||||
$ oc create secret generic eap-ssl-secret --from-file=eapkeystore.jks
|
||||
$ oc create secret generic eap-jgroup-secret --from-file=eapjgroups.jceks
|
||||
----
|
||||
. Add the EAP application secret to the EAP service account created earlier:
|
||||
+
|
||||
|
|
Loading…
Reference in a new issue