try again
This commit is contained in:
parent
6540e97612
commit
f9603a74fb
|
@ -1,32 +1,19 @@
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: cert-manager.io/v1
|
||||||
kind: Ingress
|
kind: Issuer
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-ingress
|
name: letsencrypt
|
||||||
namespace: argocd
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/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:
|
acme:
|
||||||
service:
|
# The ACME server URL
|
||||||
name: argocd-server
|
server: https://acme-v02.api.letsencrypt.org/directory
|
||||||
port:
|
# Email address used for ACME registration
|
||||||
number: 80
|
email: drive@sunet.se
|
||||||
ingressClassName: nginx
|
# Name of a secret used to store the ACME account private key
|
||||||
tls:
|
privateKeySecretRef:
|
||||||
- hosts:
|
name: letsencrypt
|
||||||
- argocd-test.streams.sunet.se
|
# Enable the HTTP-01 challenge provider
|
||||||
secretName: argocd-tls-secret
|
solvers:
|
||||||
rules:
|
- http01:
|
||||||
- host: argocd-test.streams.sunet.se
|
ingress:
|
||||||
http:
|
name: argocd-ingress
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: argocd-server
|
|
||||||
port:
|
|
||||||
number: 80
|
|
||||||
|
|
Loading…
Reference in a new issue