From 303262c75bd8d3ad2e166760f0518a0d8aa0591c Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Fri, 28 Jun 2024 02:15:22 +0300 Subject: nginx poc --- third-party/nginx/helmfile.yaml | 10 ++++++++++ third-party/nginx/values.yaml | 18 ++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 third-party/nginx/helmfile.yaml create mode 100644 third-party/nginx/values.yaml (limited to 'third-party/nginx') diff --git a/third-party/nginx/helmfile.yaml b/third-party/nginx/helmfile.yaml new file mode 100644 index 0000000..a33c107 --- /dev/null +++ b/third-party/nginx/helmfile.yaml @@ -0,0 +1,10 @@ +repositories: + - name: bitnami + url: https://charts.bitnami.com/bitnami + +releases: + - name: nginx + namespace: default + chart: bitnami/nginx + values: + - ./values.yaml diff --git a/third-party/nginx/values.yaml b/third-party/nginx/values.yaml new file mode 100644 index 0000000..d8f23ae --- /dev/null +++ b/third-party/nginx/values.yaml @@ -0,0 +1,18 @@ +service: + type: ClusterIP + port: 80 +ingress: + enabled: true + hostname: k3s.topkek.cloud # Replace with your actual domain + annotations: + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.tls: "true" + traefik.ingress.kubernetes.io/router.tls.certresolver: "default" + cert-manager.io/cluster-issuer: letsencrypt-prod + traefik.ingress.kubernetes.io/redirect-entry-point: https + traefik.ingress.kubernetes.io/router.tls.domains.0.main: topkek.cloud + traefik.ingress.kubernetes.io/router.tls.domains.0.sans: k3s.topkek.cloud + tls: + - hosts: + - k3s.topkek.cloud + secretName: k3-topkek-cloud-tls -- cgit 1.4.1-2-gfad0