Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 375 Bytes

ops-tricks-and-tips.md

File metadata and controls

19 lines (13 loc) · 375 Bytes

Ops Tricks and Tips

K8s, OpenShift, PaaS, IaaS, WtfaaS

OpenShift

  • Add user to current project
$ oc adm policy add-role-to-user edit username
  • Get content of a pull secret
oc get secret/pullsecret  -n my-namespace -o go-template --template='{{index .data ".dockerconfigjson"}}' | base64 -d

References