Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-18645

oc secrets new command is deprecated

XMLWordPrintable

      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
      

              snelluli@redhat.com Sreelatha Nelluli
              rjanik@redhat.com Richard Janik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: