about summary refs log tree commit diff
path: root/third-party/nginx
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-28 01:15:22 +0200
committermakefunstuff <[email protected]>2024-06-28 01:15:22 +0200
commit303262c75bd8d3ad2e166760f0518a0d8aa0591c (patch)
tree2b234b418dd040703294de0fba2258c83d7d7af6 /third-party/nginx
parent739fe84947959922077ee253df4b895b4e4cd77e (diff)
downloadk3s-lab-303262c75bd8d3ad2e166760f0518a0d8aa0591c.tar.gz
nginx poc
Diffstat (limited to '')
-rw-r--r--third-party/nginx/helmfile.yaml10
-rw-r--r--third-party/nginx/values.yaml18
2 files changed, 28 insertions, 0 deletions
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