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