The cert-manager is installed and maintained via ArgoCD.
git clone git@gitlab.com:smarthome3331742/cert-manager.git
To edit the deployment update the values.yml in the git repository.
kubectl apply -n argocd -f manifest.yaml
openssl genrsa -out ca.key 4096
NOTE!
The Key file must be stored in a protective way!
openssl req -new -x509 -sha256 -days 365 -key ca.key -out ca.crt
cat ca.key | base64
cat ca.crt | base64
Enter the results in at the following data entries:
...
data:
tls.crt: <base64_ca.crt>
tls.key:<base64_ca.ker>
kubectl apply -f self-signed-clusterissuer.yml
kubectl apply -f self-signed-secret.yml