From 31ee97d80b80abd5c3b37e1e11e0779076bead80 Mon Sep 17 00:00:00 2001 From: Christian Lempa Date: Wed, 20 Apr 2022 14:58:38 +0200 Subject: [PATCH] traefik and ingress update --- helm/traefik/templates/ingress.yml | 6 +++++- kubectl/templates/certificate.yaml | 12 ++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/helm/traefik/templates/ingress.yml b/helm/traefik/templates/ingress.yml index e046257..5c1ce88 100644 --- a/helm/traefik/templates/ingress.yml +++ b/helm/traefik/templates/ingress.yml @@ -27,4 +27,8 @@ spec: service: name: your-service-name # The name of the service port: - number: 80 # Service Portnumber \ No newline at end of file + number: 80 # Service Portnumber + # tls: + # - hosts: + # - your-hostname.com # Your hostname + # secretName: your-secret # Your TLS Secret \ No newline at end of file diff --git a/kubectl/templates/certificate.yaml b/kubectl/templates/certificate.yaml index e69de29..a48c792 100644 --- a/kubectl/templates/certificate.yaml +++ b/kubectl/templates/certificate.yaml @@ -0,0 +1,12 @@ +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: your-certificate + namespace: your-namespace +spec: + secretName: your-secret + issuerRef: + name: ssl-issuer + kind: ClusterIssuer + dnsNames: + - your-hostname \ No newline at end of file