RedHatGov / devsecops-workshop-dashboard

15 stars 13 forks source link

Update pull secret steps in README #19

Closed dmc5179 closed 3 years ago

dmc5179 commented 3 years ago

Workshop suggests creating a new pull secret and using the following to inject it into the cluster

  SECRET=<the value you copied in step 4>

  oc apply -f - << EOF
    kind: Secret
    apiVersion: v1
    metadata:
      name: pull-secret
      namespace: openshift-config
    data:
      .dockerconfigjson: $SECRET
    type: kubernetes.io/dockerconfigjson
  EOF

This would likely fail since the pull-secret in openshift-config already exists. Probably want to provide a standin name.