Skip to content

Instantly share code, notes, and snippets.

@voraviz
Created February 22, 2021 14:13
Show Gist options
  • Save voraviz/8bc5b03a5db081d2e75494ff153b0f30 to your computer and use it in GitHub Desktop.
Save voraviz/8bc5b03a5db081d2e75494ff153b0f30 to your computer and use it in GitHub Desktop.
oc create secret generic frontend-credential \
--from-file=tls.key=certs/frontend.key \
--from-file=tls.crt=certs/frontend.crt \
--from-file=ca.crt=certs/trusted.crt \
-n control-plane --dry-run=client -o yaml \
| oc replace -n control-plane secret frontend-credential -f -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment