Book "Getting Started with JBoss EAP for OpenShift Container Platform".
Revision 54b23ab5.
Chapter "2.2. Prepare OpenShift for Application Deployment".
The commands:
oc secrets new SECRET_NAME KEYSTORE_FILENAME.jks
and
oc secrets new eap7-app-secret keystore.jks
end with:
Command "new" is deprecated, use oc create secret
This is the case with OpenShift 4.3. The secret is created, but documentation should not use deprecated commands. Use oc create secret in the documentation instead.
The oc create alternative command is:
oc create secret generic eap7-app-secret --from-file=keystore.jks