From 9be8513e423a0556ad7e88c5dd24b6c637ebefda Mon Sep 17 00:00:00 2001 From: Christian Lempa Date: Fri, 15 Jul 2022 15:02:34 +0200 Subject: [PATCH] add certificate --- argocd-tutorial/app-test-1/app-test-1.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/argocd-tutorial/app-test-1/app-test-1.yml b/argocd-tutorial/app-test-1/app-test-1.yml index 60366d3..f405150 100644 --- a/argocd-tutorial/app-test-1/app-test-1.yml +++ b/argocd-tutorial/app-test-1/app-test-1.yml @@ -59,3 +59,20 @@ spec: name: app-test-1-svc port: number: 80 + tls: + - hosts: + - app-test-1.kube-demo-1.clcreative.home + secretName: app-test-1-tls-secret +--- +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: app-test-1-cert + namespace: app-test-1 +spec: + secretName: app-test-1-tls-secret + issuerRef: + name: ssl-issuer + kind: ClusterIssuer + dnsNames: + - app-test-1.kube-demo-1.clcreative.home \ No newline at end of file