Skip to content

Instantly share code, notes, and snippets.

@WolfEYc
Last active July 14, 2024 02:51
Show Gist options
  • Save WolfEYc/004abc00c9ceac29820988d246dbe95a to your computer and use it in GitHub Desktop.
Save WolfEYc/004abc00c9ceac29820988d246dbe95a to your computer and use it in GitHub Desktop.
Set kube active namespace
kubectl config set-context (kubectl config current-context) --namespace=observability
create secret
kubectl create secret generic mysecret --from-literal=username=admin --from-literal=password=s3cr3t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment