Difference between revisions of "Kubectl apply -f ./certbot-issuers.yaml"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | kubectl apply -f ./certbot-issuers.yaml | ||
+ | clusterissuer.cert-manager.io/letsencrypt-staging created | ||
+ | clusterissuer.cert-manager.io/letsencrypt-prod configured | ||
+ | clusterissuer.cert-manager.io/letsencrypt-clouddns-staging created | ||
+ | clusterissuer.cert-manager.io/letsencrypt-clouddns-prod created | ||
== Certbot-issuers.yaml == | == Certbot-issuers.yaml == | ||
+ | |||
+ | apiVersion: cert-manager.io/v1 | ||
+ | [[kind: ClusterIssuer]] | ||
+ | metadata: | ||
+ | name: letsencrypt-staging | ||
+ | spec: | ||
+ | acme: | ||
+ | # The ACME server URL | ||
+ | server: https://acme-staging-v02.api.letsencrypt.org/directory | ||
+ | # Email address used for ACME registration | ||
+ | email: your_emaill@your_company.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 | ||
<pre> | <pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
--- | --- | ||
Line 90: | Line 95: | ||
key: clouddns-sa-key.json | key: clouddns-sa-key.json | ||
</pre> | </pre> | ||
+ | |||
+ | == Related == | ||
+ | * [[kind: ClusterIssuer]] | ||
+ | |||
+ | == See also == | ||
+ | * {{kind: ClusterIssuer}} | ||
+ | * {{cert-manager}} |
Latest revision as of 17:17, 13 February 2024
kubectl apply -f ./certbot-issuers.yaml clusterissuer.cert-manager.io/letsencrypt-staging created clusterissuer.cert-manager.io/letsencrypt-prod configured clusterissuer.cert-manager.io/letsencrypt-clouddns-staging created clusterissuer.cert-manager.io/letsencrypt-clouddns-prod created
Certbot-issuers.yaml[edit]
apiVersion: cert-manager.io/v1 kind: ClusterIssuer metadata: name: letsencrypt-staging spec: acme: # The ACME server URL server: https://acme-staging-v02.api.letsencrypt.org/directory # Email address used for ACME registration email: your_emaill@your_company.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
--- apiVersion: cert-manager.io/v1 kind: ClusterIssuer metadata: name: letsencrypt-prod spec: acme: # The ACME server URL server: https://acme-v02.api.letsencrypt.org/directory # Email address used for ACME registration email: your_emaill@your_company.com # Name of a secret used to store the ACME account private key privateKeySecretRef: name: letsencrypt-prod # Enable the HTTP-01 challenge provider solvers: - http01: ingress: class: nginx --- apiVersion: cert-manager.io/v1 kind: ClusterIssuer metadata: name: letsencrypt-clouddns-staging spec: acme: # The ACME server URL server: https://acme-staging-v02.api.letsencrypt.org/directory # Email address used for ACME registration email: your_emaill@your_company.com # Name of a secret used to store the ACME account private key privateKeySecretRef: name: letsencrypt-staging solvers: - dns01: cloudDNS: project: your-project serviceAccountSecretRef: name: clouddns-dns01-solver-svc-acct key: clouddns-sa-key.json --- apiVersion: cert-manager.io/v1 kind: ClusterIssuer metadata: name: letsencrypt-clouddns-prod spec: acme: # The ACME server URL server: https://acme-v02.api.letsencrypt.org/directory # Email address used for ACME registration email: your_emaill@your_company.com # Name of a secret used to store the ACME account private key privateKeySecretRef: name: letsencrypt-prod solvers: - dns01: cloudDNS: project: your-project serviceAccountSecretRef: name: clouddns-dns01-solver-svc-acct key: clouddns-sa-key.json
Related[edit]
See also[edit]
Advertising: