about summary refs log tree commit diff
diff options
context:
space:
mode:
-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: