Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
labels: | |
app.kubernetes.io/name: kube-state-metrics | |
name: kube-state-metrics | |
namespace: kube-system |
#!/bin/bash | |
SERVICE_NAME=ingress-nginx | |
NAMESPACE=ingress-nginx | |
TEMP_DIRECTORY=$(mktemp -d) | |
echo "creating certs in directory ${TEMP_DIRECTORY}" | |
cat <<EOF >> ${TEMP_DIRECTORY}/csr.conf | |
[req] |