Skip to content

Instantly share code, notes, and snippets.

@voraviz
Created February 22, 2021 14:09
Show Gist options
  • Save voraviz/37181ba5e4aeba4116ccff03f405aa82 to your computer and use it in GitHub Desktop.
Save voraviz/37181ba5e4aeba4116ccff03f405aa82 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/acme.com.crt \
-n control-plane -o yaml --dry-run=client |
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