From aae21621049a1822893663defe6e43acc1c30e81 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 29 May 2025 18:15:13 -0500 Subject: [PATCH] add bucket --- .../outline/templates/object-bucket-claim.yaml | 11 +++++++++++ .../applications/outline/templates/pod.yaml | 15 +++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 clusters/cl01tl/applications/outline/templates/object-bucket-claim.yaml create mode 100644 clusters/cl01tl/applications/outline/templates/pod.yaml diff --git a/clusters/cl01tl/applications/outline/templates/object-bucket-claim.yaml b/clusters/cl01tl/applications/outline/templates/object-bucket-claim.yaml new file mode 100644 index 000000000..9bd6b31d9 --- /dev/null +++ b/clusters/cl01tl/applications/outline/templates/object-bucket-claim.yaml @@ -0,0 +1,11 @@ +apiVersion: objectbucket.io/v1alpha1 +kind: ObjectBucketClaim +metadata: + name: ceph-bucket-outline + labels: + app.kubernetes.io/name: ceph-bucket-outline + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/part-of: {{ .Release.Name }} +spec: + generateBucketName: bucket-outline + storageClassName: ceph-bucket diff --git a/clusters/cl01tl/applications/outline/templates/pod.yaml b/clusters/cl01tl/applications/outline/templates/pod.yaml new file mode 100644 index 000000000..8a078c03b --- /dev/null +++ b/clusters/cl01tl/applications/outline/templates/pod.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Pod +metadata: + name: outline-s3cmd + namespace: directus +spec: + automountServiceAccountToken: true + containers: + - name: outline-s3cmd + image: d3fk/s3cmd:latest + command: + - /bin/sh + args: + - -ec + - sleep 1000000000000s