Add certificate
This commit is contained in:
parent
d73835d60b
commit
22a4658679
22
argocd-nginx/base/argocd-certificate.yaml
Normal file
22
argocd-nginx/base/argocd-certificate.yaml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: tls-secret
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
# Secret names are always required.
|
||||||
|
secretName: tls-secret
|
||||||
|
|
||||||
|
duration: 2160h # 90d
|
||||||
|
renewBefore: 360h # 15d
|
||||||
|
|
||||||
|
# At least one of commonName (possibly through literalSubject), dnsNames, uris, emailAddresses, ipAddresses or otherNames is required.
|
||||||
|
dnsNames:
|
||||||
|
- argocd-test.streams.sunet.se
|
||||||
|
|
||||||
|
# Issuer references are always required.
|
||||||
|
issuerRef:
|
||||||
|
name: ca-issuer
|
||||||
|
# We can reference ClusterIssuers by changing the kind here.
|
||||||
|
# The default value is Issuer (i.e. a locally namespaced Issuer)
|
||||||
|
kind: ClusterIssuer
|
|
@ -1,2 +1,3 @@
|
||||||
resources:
|
resources:
|
||||||
- argocd-ingress.yaml
|
- argocd-ingress.yaml
|
||||||
|
- argocd-certificate.yaml
|
||||||
|
|
Loading…
Reference in a new issue