Skip to content

Instantly share code, notes, and snippets.

@hadoan
Created November 12, 2022 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hadoan/000eb2eb01bf426419189101fce258e5 to your computer and use it in GitHub Desktop.
Save hadoan/000eb2eb01bf426419189101fce258e5 to your computer and use it in GitHub Desktop.
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Secret
apiVersion: v1
metadata:
name: your-sslcerts
data:
tls.crt: your base-64 string
tls.key: your base-64 string
type: Opaque
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment