Skip to content

Instantly share code, notes, and snippets.

@abohmeed
Created Jun 1, 2020
Embed
What would you like to do?
cat <<EOF | kubectl apply -f -
apiVersion: certificates.k8s.io/v1beta1
kind: CertificateSigningRequest
metadata:
name: tempcsr
spec:
request: $(cat server.csr | base64 | tr -d '\n')
groups:
- system:authenticated
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment