trial and error

This commit is contained in:
Micke Nordin 2024-10-16 13:26:28 +02:00
parent f8c720d61a
commit 8c6039bebf
Signed by: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -5,14 +5,22 @@ metadata:
namespace: argocd namespace: argocd
annotations: annotations:
cert-manager.io/cluster-issuer: "letsencrypt" cert-manager.io/cluster-issuer: "letsencrypt"
acme.cert-manager.io/http01-ingress-class: nginx
acme.cert-manager.io/http01-edit-in-place: "false"
nginx.ingress.kubernetes.io/from-to-www-redirect: "false"
spec: spec:
defaultBackend:
service:
name: argocd-server
port:
number: 80
ingressClassName: nginx ingressClassName: nginx
tls: tls:
- hosts: - hosts:
- argocd.streams.sunet.se - argocd-test.streams.sunet.se
secretName: tls-secret secretName: tls-secret
rules: rules:
- host: argocd.streams.sunet.se - host: argocd-test.streams.sunet.se
http: http:
paths: paths:
- path: / - path: /
@ -21,4 +29,4 @@ spec:
service: service:
name: argocd-server name: argocd-server
port: port:
name: https number: 80