Fix naming

This commit is contained in:
Micke Nordin 2024-10-15 12:55:22 +02:00
parent 108c7c6e1a
commit 2cb16e7352
Signed by: Micke
GPG key ID: 0DA0A7A5708FE257
3 changed files with 3 additions and 22 deletions

View file

@ -1,18 +0,0 @@
apiVersion: cert-manager.io/v1
kind: Issuer
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: kano@sunet.se
# 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:
ingressClassName: nginx

View file

@ -1,7 +1,7 @@
apiVersion: cert-manager.io/v1 apiVersion: cert-manager.io/v1
kind: Issuer kind: Issuer
metadata: metadata:
name: letsencrypt-prod name: letsencrypt
spec: spec:
acme: acme:
# The ACME server URL # The ACME server URL
@ -10,7 +10,7 @@ spec:
email: kano@sunet.se email: kano@sunet.se
# Name of a secret used to store the ACME account private key # Name of a secret used to store the ACME account private key
privateKeySecretRef: privateKeySecretRef:
name: letsencrypt-prod name: letsencrypt
# Enable the HTTP-01 challenge provider # Enable the HTTP-01 challenge provider
solvers: solvers:
- http01: - http01:

View file

@ -4,5 +4,4 @@ kind: Kustomization
namespace: cert-manager namespace: cert-manager
resources: resources:
- https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml - https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml
- cert-manager-issuer-staging.yml - cert-manager-issuer.yml
- cert-manager-issuer-prod.yml