about summary refs log tree commit diff
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-07-01 12:17:26 +0200
committermakefunstuff <[email protected]>2024-07-01 12:17:26 +0200
commit043489b27a46f74d85e3718a4199d7ff776f592a (patch)
tree3964310df72a813c96c3811533a59ffd70bbb531
parent78a3a7b751b5042b775dfbf3376362ce9729e5bb (diff)
downloadk3s-lab-043489b27a46f74d85e3718a4199d7ff776f592a.tar.gz
mastodon
Diffstat (limited to '')
-rw-r--r--cd/third-party-apps.yaml3
-rw-r--r--third-party-apps/mastodon/Chart.yaml11
-rw-r--r--third-party-apps/mastodon/values.yaml18
3 files changed, 32 insertions, 0 deletions
diff --git a/cd/third-party-apps.yaml b/cd/third-party-apps.yaml
index e583c81..299017d 100644
--- a/cd/third-party-apps.yaml
+++ b/cd/third-party-apps.yaml
@@ -9,6 +9,9 @@ spec:
       elements:
       - chart: gitea
         path: third-party-apps/gitea
+
+      - chart: mastodon
+        path: third-party-apps/mastodon
   template:
     metadata:
       name: '{{chart}}'
diff --git a/third-party-apps/mastodon/Chart.yaml b/third-party-apps/mastodon/Chart.yaml
new file mode 100644
index 0000000..9904f69
--- /dev/null
+++ b/third-party-apps/mastodon/Chart.yaml
@@ -0,0 +1,11 @@
+apiVersion: v2
+name: mastodon
+description: A Helm chart for setting up mastodon instance
+version: 0.1.0
+appVersion: "1.0"
+
+dependencies:
+  - name: mastodon
+    version: 1.0.5
+    repository: "https://charts.codechem.com"
+
diff --git a/third-party-apps/mastodon/values.yaml b/third-party-apps/mastodon/values.yaml
new file mode 100644
index 0000000..84cfeef
--- /dev/null
+++ b/third-party-apps/mastodon/values.yaml
@@ -0,0 +1,18 @@
+mastodon:
+  ingress:
+    enabled: true
+    className: traefik
+    annotations:
+      traefik.ingress.kubernetes.io/router.entrypoints: websecure
+      traefik.ingress.kubernetes.io/router.tls: "true"
+      traefik.ingress.kubernetes.io/router.tls.certresolver: "default"
+      traefik.ingress.kubernetes.io/redirect-entry-point: https
+      cert-manager.io/cluster-issuer: letsencrypt-prod
+    hosts:
+      - host: mastodon.topkek.cloud
+        paths:
+          - path: /
+            pathType: Prefix
+    tls:
+      - secretName: mastodon-tls
+        hosts: