try again

This commit is contained in:
Micke Nordin 2024-10-16 17:08:33 +02:00
parent f9603a74fb
commit e576aa7d63
Signed by: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -1,19 +1,30 @@
apiVersion: cert-manager.io/v1 apiVersion: networking.k8s.io/v1
kind: Issuer kind: Ingress
metadata: metadata:
name: letsencrypt
spec:
acme:
# The ACME server URL
server: https://acme-v02.api.letsencrypt.org/directory
# Email address used for ACME registration
email: drive@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:
name: argocd-ingress name: argocd-ingress
namespace: argocd
annotations:
cert-manager.io/issuer: "letsencrypt"
acme.cert-manager.io/http01-edit-in-place: "true"
spec:
defaultBackend:
service:
name: argocd-server
port:
number: 80
ingressClassName: nginx
tls:
- hosts:
- argocd-test.streams.sunet.se
secretName: argocd-tls-secret
rules:
- host: argocd-test.streams.sunet.se
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
number: 80