From 5bcd255f3b8b5b9b2091642b80becad0d77b744e Mon Sep 17 00:00:00 2001 From: Zaven Arra Date: Wed, 10 Nov 2021 18:37:03 -0800 Subject: [PATCH] feat: add database secrets for test and prod --- .../prod/database-connection-sealed-secret.yaml | 15 +++++++++++++++ .../test/database-connection-sealed-secret.yaml | 15 +++++++++++++++ ...tracker-rabbitmq-connection-sealed-secret.yaml | 15 --------------- 3 files changed, 30 insertions(+), 15 deletions(-) create mode 100644 deployment/overlays/prod/database-connection-sealed-secret.yaml create mode 100644 deployment/overlays/test/database-connection-sealed-secret.yaml delete mode 100644 deployment/overlays/test/treetracker-rabbitmq-connection-sealed-secret.yaml diff --git a/deployment/overlays/prod/database-connection-sealed-secret.yaml b/deployment/overlays/prod/database-connection-sealed-secret.yaml new file mode 100644 index 0000000..b56a32d --- /dev/null +++ b/deployment/overlays/prod/database-connection-sealed-secret.yaml @@ -0,0 +1,15 @@ +apiVersion: bitnami.com/v1alpha1 +kind: SealedSecret +metadata: + creationTimestamp: null + name: database-connection + namespace: earnings-api +spec: + encryptedData: + db: AgBeZ8fzbdPuON2I3TmFt9vWin/rJgKBtuwzayj4N7u5MBt4X1YrOARcQqCrOPBe92N2n7Qhmi1QFg/+vT/0W3rkGrmsLupV6uV5qc7p9jkKRak97t6b+lR0LiUSaiFiX4TIn/4h4VOcE4r2h7U1siCGxSuaayC1kwdEOo61wHq/x5EcOOsxKSyDF7ATGsHXU0d5k284PH5Lo3jpnyaQx8dagb8vs4+xfQbQOdDXQfNRoYkyxhHf76iLUABX3RWnZhaJfSqvR+athUJyhtC+rRW1ojiQYwGVEQ2mbL2WjJFwHHYHRps3ocm4trnzRCjVDM1zWs5ACxAnrPKDNimgudc+jwSusu5ae39BgYeOwAsCBdQhsOmZdJpkUgQOm/TOFEzL7JEmSv3t1bWiEj9iO0/qOwwz7ISBjCPYBTSxubs6loCVYxO+VhOhm93SwEGj1i6xt2viMCvxYVcvL4GXb9+FlJ6fx696ag187Agm9HTAngaUfJd6FE4K9WAjA6xPrbmZHciQlhxw5Z9jaC1cLSp5jGjRcy39Sfnqr2DsOSyNim8NUBasUHjPNOQFauLpcgs5wtd1aBVH5nV8KuSxlDbnac79QncU0T6wPptB9MBRqOPERilKX1NH4nW6lmIlFzjWb3NnXsUI+AWlS/TmwUhL4e63CE2Gd/duiH1tr6ywOZbGWaR8UT/PysMpWEHOrOEUND1RiSkNNNhTV2c8s4S7zPhfcwPSLWRsMLJiEHndq/Q8k+m/rozlRTiBsvb3C1Nze5YeorDysg5szuhMb+ZB/GNGGizZjouaNrWFPbNHYMKpYiu1aISDdkpuNfFxdqiTFjCawq489AfD+2rcwLF8gMqYK+gMSnb9LYeGiu4pxy2em0CXzQ== + template: + metadata: + creationTimestamp: null + name: database-connection + namespace: earnings-api + diff --git a/deployment/overlays/test/database-connection-sealed-secret.yaml b/deployment/overlays/test/database-connection-sealed-secret.yaml new file mode 100644 index 0000000..153c25f --- /dev/null +++ b/deployment/overlays/test/database-connection-sealed-secret.yaml @@ -0,0 +1,15 @@ +apiVersion: bitnami.com/v1alpha1 +kind: SealedSecret +metadata: + creationTimestamp: null + name: database-connection + namespace: earnings-api +spec: + encryptedData: + db: AgCbkDprk/vcvevslFFAJPysf/AXmFvsJX8UDPFUt5a27XTuw2ayqxaYQLkJfgmZny5OUJr8RV/TrxFzMZ7MMaLxUftfZFkYFImbAabKzBt+Xbpt4mOo/pnext+vxsyQ7Egsz5s+Iz1qn0RclZh6E2/QmG1DxbKuqmtfGTRkJVs9IzzrdsVVRF6DvhdIQ7QHLBrEECjAEQHNG8Bahf6e003Y7JibaXu7jpQH9GUArFBkU7lQve+7ZDxT/W9O39HQO5ZTfmw27SDy7e82QDmUMRmlGk9mPiYGaldatvcOsZR3UWGBtBQcGS2Ynxj+90RiGl3P4hBnEW4ijYVpd1OIhFiuczl9P+3rFE2lMaXgGU+6kGkjPGLS0Lmdin/wABM2NYFwqmDTUCh6O1tYwAPSkTlQbW8RWP4nZQo6cUQzp+7HvG+SR/2X/JV8h4zwNHso8hfeF8ccuEpxfnNtI0z2bMfOGBXsvtfeQjlAg14I8ydfTitsolF6Njjr1VhWhe4WZ9sEULQf3tuMlDA2yox62fFFe///4kGbNpz34flv7yAhl7VEUwOrKi4qXlR6SFw+C5D2nlWJF37dip02naHTqUjb40Bk1vdd8P9klZOtsmq7QKrFUafp5mWxpdE8CxywiJznW1dSkkVKgMTAvfewWqnLwqIi7Yw+WB+FRNxXGYr+EILY0DArYFm2yYOSLWaWeUNEZMZC8oYH6CoE754NxSs5IlTB7f4LpM5bZuRYeB9cVEeNKPymH55DrfDwFdXq9jaHJG/E1UN+ZVRE4aQY6Syrx9Tj+kSs1wb+xeqAHz/Zi+dBMHMxnWiCFP15GfhTQYefRIXVampZ6vjon+Fdiu+f49J+Ha9xPun2qY4bojFQo23aYXnQO7ytcg== + template: + metadata: + creationTimestamp: null + name: database-connection + namespace: earnings-api + diff --git a/deployment/overlays/test/treetracker-rabbitmq-connection-sealed-secret.yaml b/deployment/overlays/test/treetracker-rabbitmq-connection-sealed-secret.yaml deleted file mode 100644 index 8a4572f..0000000 --- a/deployment/overlays/test/treetracker-rabbitmq-connection-sealed-secret.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: bitnami.com/v1alpha1 -kind: SealedSecret -metadata: - creationTimestamp: null - name: treetracker-rabbitmq-connection - namespace: field-data-api -spec: - encryptedData: - messageQueue: AgA5bLjM3VDVoGfDlWuXs4Aj1Uet9JU6lbgdlxqKXjjZd9C+TnvrvTgF888NOY7MHTTbA+nuLgqTSXnLZz75PHW9t2iziQAUKvhVcm0/eKakoamQYC3JR07QII44DHB5U0H+A/isdqIc8FOXc+rV5RukZ0cQrtCIoaJo8wrcXjJ1MmeRKtWoZwK8R9BzyWl+Xh4nzg6Bnm7W2G4WsGRP19eqigKwMuOgE6xoTTOxB1QHv+Fw4qZvh8C3h89u/YWOFXKlxOuId85G0jM7TpDQQMG0WQJ8fbLw8eIkMpF0EHF/CuVlwjyjW8iT0821d7nEIoS4ni2PZ07QhztgutOP+Yi361plDOY+YK/LMlvu/X0vgCQZhuOc0fCHXnx2bLgSYQ7IOdDoQMLtKo4P7W8wYQHqz3FjB7cG6NrQEx4eWXtWPKO5hndDyW2yyS8A8ypMs2uu3loIFU8xiZBFmEB7B5QAx7KMb/e5OVdQIFWgn8SnF85d0wf68xms7Ss6QTfyWXPy2RBXdNP1ipKiVB446B8IFf5pDO1R6eJhG097y5fACn3gJGvqeo+M7PltdPq5OlfCVd0OVauPB2mUZCmF0KATo2HSppZ14o+eqik5U50Owzt0JRJr2+HmodFR8ls82p4h17WP612TmdJg3tC6rlx0gaoaZNNTtg8BxUwfn0xE0+5hMP7FMyT/tfXue7WArp/jlezPI9Vu14DAFBJ/Dh9IvGuYF+1+LtTQ9fiLVBkRdUWtZmtni5a8zP4qeTZtGkmHzzG9uawYAwXF2YdJUB8aNe7zz1lMFPbvkRz0quuDOVeFQuf6Uy3vHypLu8o= - template: - metadata: - creationTimestamp: null - name: treetracker-rabbitmq-connection - namespace: field-data-api -