From d15f426ea06942bfe9ba31835195d89d8b9ec000 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Sat, 4 May 2024 22:21:01 -0400 Subject: [PATCH] Add memerr --- memerr/memerr-deployment.yaml | 44 +++++++++++++++++++++++++++++++++++ memerr/sealed-secret.yaml | 17 ++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 memerr/memerr-deployment.yaml create mode 100644 memerr/sealed-secret.yaml diff --git a/memerr/memerr-deployment.yaml b/memerr/memerr-deployment.yaml new file mode 100644 index 0000000..45b4846 --- /dev/null +++ b/memerr/memerr-deployment.yaml @@ -0,0 +1,44 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: memerr + namespace: memerr-ns +spec: + replicas: 1 + selector: + matchLabels: + app: memerr + template: + metadata: + labels: + app: memerr + spec: + containers: + - name: memerr + image: git.clortox.com/infrastructure/memerr:1.0.65 + imagePullPolicy: Always + env: + - name: DISCORD_TOKEN + valueFrom: + secretKeyRef: + name: memerr-secret + key: DISCORD_TOKEN + - name: S3_URL + value: "s3.clortox.com" + - name: S3_UN + valueFrom: + secretKeyRef: + name: memerr-secret + key: S3_UN + - name: S3_PW + valueFrom: + secretKeyRef: + name: memerr-secret + key: S3_PW + - name: S3_TLS + value: "True" + - name: S3_BUCKET + valueFrom: + secretKeyRef: + name: memerr-secret + key: S3_BUCKET diff --git a/memerr/sealed-secret.yaml b/memerr/sealed-secret.yaml new file mode 100644 index 0000000..c3b93ca --- /dev/null +++ b/memerr/sealed-secret.yaml @@ -0,0 +1,17 @@ +apiVersion: bitnami.com/v1alpha1 +kind: SealedSecret +metadata: + creationTimestamp: null + name: memerr-secret + namespace: memerr-ns +spec: + encryptedData: + DISCORD_TOKEN: AgAF5G/5hpgBKqsWSRhOVRfy35e1PKw04N0+HaeA6LwyutMAMkB7PuV9nkja4g+2dhn4uDFZh2f0u1V5243mKWtN5aj6k2C85AKOa22f0ht58BuADOb7n/dOZzpwpt1yPhGmxsC8JMBlDzB58dfM+bAkFo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Cv9Tg3bx3zP7nu9Qx33atuQ1bGU5ApQ3pbCPACmnqYRluukMcmGdI/1wwZqmGwE02W62a/re5sVeNgObwVxPDHDsmIEP+cF6rLd9wg5GKrybVjt+MpG9O8JVgnHbsin2AhExrSm1d9MLzOIYum21q4wfPqsfAfaVouCLBqQGB26Wn5D0/cUf8svARlF9DEtDcmKKfmCH0UOY653cTNNHlU7T1JLk2Nl8cT2Ev7Jvq9quyfYlcNJHFSXUTvn7WtGHl5u+id0pd0BF+7a48JqkzjGjACHh7ye0bXEJK5YgE6cLUzfh2UY9wniIHl9BtLuFWxTbBzn7XDsNf8faJ1nft9ZFUQBlIwHYaPwxJA6lfEvKoTc1JJOVdIWqpKzq+PNc8maChxbINx0ZTe2uXf8gcewkiQSZixV98iqx2a9VLZNOH/VCWbsrj5o8R5a2RxtiFWPbgHMGCTd43wUsryOsgOz0iqmny9ExQBBndIrWk7ZD7M5Oj6UG0sxJOnnYbFxlHEjpZJRTZ1o9bDqOTqXzlqS/Obu8MEXDK7fBzrMasVUHbfpTC2f9irDOlqZTL/wGlTv7RrMMD3dA82TsBej2R0KyI23w4xubJ97vgaQ/my4S4A0nR4GU93tB/Q2XrP52Qz2JYzuH5EjGyC19pTaFIKxkIPUEydl1XFFiShKd+f/Q0zhqzvE= + template: + metadata: + creationTimestamp: null + name: memerr-secret + namespace: memerr-ns