❯ helm repo add jetstack https://charts.jetstack.io "jetstack" has been added to your repositories ❯ helm pull jetstack/cert-manager --untar ❯ kubectl apply -f ./cert-manager.crds.yaml #--set installCRDs=true customresourcedefinition.apiextensions.k8s.io/certificaterequests.cert-manager.io created customresourcedefinition.apiextensions.k8s.io/certificates.cert-manager.io created customresourcedefinition.apiextensions.k8s.io/challenges.acme.cert-manager.io created customresourcedefinition.apiextensions.k8s.io/clusterissuers.cert-manager.io created customresourcedefinition.apiextensions.k8s.io/issuers.cert-manager.io created customresourcedefinition.apiextensions.k8s.io/orders.acme.cert-manager.io created
1 2 3 4 5 6 7 8 9
helm install -f ./cert-manager/values.yaml \ -name cert-manager \ --namespace cert-manager \ ./cert-manager \ --create-namespace \ --version v1.12.4 \ # --set installCRDs=true --set prometheus.enabled=false \ # Example: disabling prometheus using a Helm parameter --set webhook.timeoutSeconds=4 # Example: changing the webhook timeout using a Helm parameter
❯ kubectl get Certificate -n config -o wide NAME READY SECRET ISSUER STATUS AGE local True local.org-tls issuer Certificate is up to date and has not expired 11m
Key Value -– -—- Seal Type shamir Initialized true Sealed false Total Shares 1 Threshold 1 Version 1.14.0 Build Date 2023-06-19T11:40:23Z Storage Type raft Cluster Name vault-cluster-e7311051 Cluster ID b481f479-636b-44de-0133-0358e278547d HA Enabled true HA Cluster n/a HA Mode standby Active Node Address Raft Committed Index 31 Raft Applied Index 31
apiVersion: cert-manager.io/v1 kind: ClusterIssuer metadata: name: letsencrypt-staging spec: acme: # The ACME server URL pro https://acme-v02.api.letsencrypt.org/directory server: https://acme-staging-v02.api.letsencrypt.org/directory # Email address used for ACME registration email: xxx@xx.com # Name of a secret used to store the ACME account private key privateKeySecretRef: name: letsencrypt-staging # Enable the HTTP-01 challenge provider solvers: - http01: ingress: class: nginx