Use cluster-issuer

This commit is contained in:
Micke Nordin 2024-10-16 09:43:36 +02:00
parent 44a33aee30
commit 9d1a988ab1
Signed by: Micke
GPG key ID: 0DA0A7A5708FE257
4 changed files with 1 additions and 22 deletions

View file

@ -1,20 +0,0 @@
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: letsencrypt
namespace: argocd
spec:
acme:
# The ACME server URL
server: https://acme-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
# Enable the HTTP-01 challenge provider
solvers:
- http01:
ingress:
ingressClassName: nginx

View file

@ -1,3 +1,2 @@
resources: resources:
- argocd-ingress.yaml - argocd-ingress.yaml
- cert-manager-issuer.yml

View file

@ -4,7 +4,7 @@ metadata:
name: argocd-ingress name: argocd-ingress
namespace: argocd namespace: argocd
annotations: annotations:
cert-manager.io/issuer: "letsencrypt" cert-manager.io/cluster-issuer: "letsencrypt"
spec: spec:
defaultBackend: defaultBackend:
service: service: