Created
June 1, 2020 10:51
-
-
Save abohmeed/ba1abfa3991c19ca371969b67398f76a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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