From 5e9c64516659c6565f7c4357acaf1d29a42a699e Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 14 May 2023 22:14:04 -0400 Subject: [PATCH] add msrewards --- cluster/apps/default/kustomization.yaml | 3 +- .../default/msrewards/env-secret.sops.yaml | 62 +++++++++++++++++++ .../apps/default/msrewards/helm-release.yaml | 28 +++++++++ .../apps/default/msrewards/kustomization.yaml | 5 ++ 4 files changed, 97 insertions(+), 1 deletion(-) create mode 100644 cluster/apps/default/msrewards/env-secret.sops.yaml create mode 100644 cluster/apps/default/msrewards/helm-release.yaml create mode 100644 cluster/apps/default/msrewards/kustomization.yaml diff --git a/cluster/apps/default/kustomization.yaml b/cluster/apps/default/kustomization.yaml index d5632b3..6cca249 100644 --- a/cluster/apps/default/kustomization.yaml +++ b/cluster/apps/default/kustomization.yaml @@ -3,4 +3,5 @@ kind: Kustomization resources: - ./fireflyiii - ./cdn -- ./gitea \ No newline at end of file +- ./gitea +- ./msrewards \ No newline at end of file diff --git a/cluster/apps/default/msrewards/env-secret.sops.yaml b/cluster/apps/default/msrewards/env-secret.sops.yaml new file mode 100644 index 0000000..1d1a6c2 --- /dev/null +++ b/cluster/apps/default/msrewards/env-secret.sops.yaml @@ -0,0 +1,62 @@ +apiVersion: v1 +kind: Secret +metadata: + name: msrewards-env-secret + namespace: default +stringData: + TZ: ENC[AES256_GCM,data:rIp7EMSrKApRg03l4/59Xw==,iv:A0cFOA2pr7CvjQBiCcequq9WAA77x2k8iqTlMJ9lJBU=,tag:dYdQDtA1H1h/CufVSEbQGw==,type:str] + MSAccount_0_USERNAME: ENC[AES256_GCM,data:JIW/ueWXYfgP+rgMR/7aXWWyuRP1YQ==,iv:P69ybwaQPFfMJnfDiVM3TSSlc2YkAUUM6VANdhgFDtY=,tag:GlZwS/nWOJfm7NQzXLkPFA==,type:str] + MSAccount_0_PASSWORD: ENC[AES256_GCM,data:nUWE5vW9iSavWPKhVWcn,iv:NWI9ILx+M8EGWi4jaor8MpRWL9SYXibOp9Nct6rVB+U=,tag:CUqpuogj1BJk2ocicaj5vQ==,type:str] +sops: + kms: [] + gcp_kms: [] + azure_kv: [] + hc_vault: [] + age: [] + lastmodified: "2023-05-15T02:13:48Z" + mac: ENC[AES256_GCM,data:q1QBZ3bGr90qXXHKEtKuSfC39pGJ90ss8cJtD8CIZYYB5CQAuz0fZH6nsim6FoyYhWXDzlDo8HH7Z+bLJt1BGXCSa0SDaOe9xcSZtBinSapTQ3sYSRul99xCD7QHGGFXZtYbPjCRv/qj58vRTLXHKejnh8hCbPJsNYCYYuBGXks=,iv:HDIA3WDGZwXhwRjioGnd2KHwWISinLLoxS4LaHLgRAU=,tag:ux9KEs0bYQUzkpnBdrIQAQ==,type:str] + pgp: + - created_at: "2023-05-15T02:13:46Z" + enc: | + -----BEGIN PGP MESSAGE----- + + hQIMAzKleRwoSoixAQ//Xm7FbYSJt3FPFSIcltxFqSEmvgv47TZ0+ktb1lyj4Qga + isU19xxjwl/vXu38gheywYdYSePl5vc9k92EtLZxfYRKjVIspL1lAD6UGul/fB3R + 8dKjIb8IjpaVMXMeig4/kHulYfQ4dUEkGKN6QhSaa17vxMh8Tw98/LabC4KiYp8L + r7eMqFjoHKgl1suxjB7/qTyJbBkYD2+ep3KZj99EbwgbylRzT8tZUj63oKZnctxw + UAcb5BR2tdad6GUZAi+dTIyh9GlLxUH+ma7mmRIBjqUrPCOCkceCCDnhycPf524E + 1K2yRU7+SYtgKM51pQvmDmoTll4JKDj7ztacsHBiol5V+yaYUUxYXPMGHnXyf/cz + it3jdUsK15eesb9B0t/sQcJDJykBoG0CIk0oG3e1GTjF8sNfzSocaU/z8e9GUcmD + lKhi0KOqKEDneI2wq68cTR0zEPy3JeNtyOqhwR9j+O6zD95k0ZlxKsU4+0uh4Ndv + 0rJ8zyl11rPsT/lsjSxkqgGRzMI7LCxDX8dy3/7yIWG0o/vrATk1BF+CF3UPc1yO + FQOdVrFc9xLTmRCfokoPl3nAbHJKAyhEzfV6yGJTzo2QiNl9bSB2vffzPXxt1V4D + XJ8/NhAErlSDJIr0ZLGaLY6LvJNamXsORKXArHivVP8649yJz8N+4LYjzsdjGjDU + aAEJAhAVV69Gwo0RrjxfHkd6d0jncXUn4TKZHt2JyCu5zH/2xGAjkwTFRD0LiFN3 + ljJMeRkXa1phkGVDGak8XGOqaOG+aWNgnQwtmW91GQTEF3w1yqzXERG79v7zxFCg + YHletP5QN9F1 + =a4kI + -----END PGP MESSAGE----- + fp: 2CC2B3631D5C3393901335DB68F95C5D753EE1E5 + - created_at: "2023-05-15T02:13:46Z" + enc: | + -----BEGIN PGP MESSAGE----- + + hQIMA4WLYkVpP8xtAQ//bjuPs8n97bOnbdWpvGIpHrQc8ty9fXQR+szmM6Ya1w1V + wwJKTREZ7L8RoONzIWYsW12KuyJz5dUZYBBA/AfADm9amVaaqXOIS3+TabgQtsmt + lfPtIpMBAeTKjpTeK3YloLKdSk7yEmQEZBAJMgOouDx7LatWoHz3Vzat1wVnH7t7 + s9bdSCawqOXGtaWE2t+MlWpWOa3a6Fbr2/GaZwTrVJ4ZO+q4Oo8Q5a07B14mcEm6 + Nb+cp7J6EN7OneqePMoaqMrAWhhPpxOzMgxNLO/qOKsjB2aXbLmgcWghKtg6adcC + 0htvUVdB6/Lgn22cocd91bZuVoj4VBaYq9cdVOFTaIxuWNb0SJN2NvBe/7dK3Nft + MCqt5Mqa3JtlGbuVo/D89M1qI1P3GxSLMHjdZUFuCjoPh4UO7VbZ5MJmyH+gIcFY + Mq18RexmLx/ISUwxj+j44j7BCUFhC5D+OMtfIAfpsyLgkvPwHc0Gx+dMpZEAP5e+ + ZXEO59YyMVstRVaMdAIz07auoWRcsU0fHgdCVoUc+V8zDi6ZoUlBFbxjOpnX4BOu + zN6Seyy4dHk8VX+FrotN/5vUq1CDr2Pa25+meOukjbHoA3GO836J1CezwAYHgYXC + KIQKNevogsaCwrAR2fs8qbcjb3B67nKdemE0AlNXjTh4KUETYmGoJ/KGgVhuZK/U + aAEJAhDQ+n/QkUUfgigB9La8T/Su0XiazU3OQcxD6FjjU8KpU4Ar13tEzI02RliF + izvA5C4jiKF6ik1e95/ZD91hpiAT+JbFgkfwq/TYcH1w4khUwohSrJkzKg8lR8K3 + fL0914OMu8Gq + =5YEL + -----END PGP MESSAGE----- + fp: 8DF31C9F48A24F525FFB1815FC96C52B59328E95 + encrypted_regex: ^(data|stringData)$ + version: 3.7.3 diff --git a/cluster/apps/default/msrewards/helm-release.yaml b/cluster/apps/default/msrewards/helm-release.yaml new file mode 100644 index 0000000..7151c89 --- /dev/null +++ b/cluster/apps/default/msrewards/helm-release.yaml @@ -0,0 +1,28 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: msrewardfarmer + namespace: default +spec: + interval: 5m + chart: + spec: + chart: app-template + version: 1.3.x + sourceRef: + kind: HelmRepository + name: bjws-charts + namespace: flux-system + + values: + image: + repository: ghcr.io/binaryn3xus/msrewardfarmer + tag: latest + + envFrom: + - secretRef: + name: "msrewards-env-secret" + + service: + main: + enabled: false \ No newline at end of file diff --git a/cluster/apps/default/msrewards/kustomization.yaml b/cluster/apps/default/msrewards/kustomization.yaml new file mode 100644 index 0000000..8eb891c --- /dev/null +++ b/cluster/apps/default/msrewards/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- ./env-secret.sops.yaml +- ./helm-release.yaml \ No newline at end of file