From 3007a58bb54cdf295c9c65ec139e0ebae8f6f32d Mon Sep 17 00:00:00 2001 From: Thom Breugelmans Date: Fri, 6 Dec 2024 19:09:23 +0100 Subject: [PATCH] chore(aoch): added new envvar needed for migrate --- apps/aoch/deploy.yaml | 6 ++++++ secrets/aoch.yaml | 17 +++++++++-------- secrets/templates/aoch.tpl.yaml | 1 + 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/apps/aoch/deploy.yaml b/apps/aoch/deploy.yaml index e527b3a..abd9ae4 100644 --- a/apps/aoch/deploy.yaml +++ b/apps/aoch/deploy.yaml @@ -54,6 +54,12 @@ spec: key: session - name: leaderboard_id value: "954860" + - name: SECRET_KEY_BASE + value: null + valueFrom: + secretKeyRef: + name: aoch + key: SECRET_KEY_BASE resources: limits: memory: 512Mi diff --git a/secrets/aoch.yaml b/secrets/aoch.yaml index 56e9db0..47cd479 100644 --- a/secrets/aoch.yaml +++ b/secrets/aoch.yaml @@ -4,7 +4,8 @@ metadata: name: aoch namespace: default stringData: - session: ENC[AES256_GCM,data:EW49KqkGZhVpqq5zvoqw3PZSTxsE6RbifI+2AZZq3O8TtuZOpXw/1x4slKf6SnN/Q4L74TbqtDvlWWYomB8Yu5mFseg/NM2timuD+zCq7s0q4PvLB1/ABvcAgb6kL5h+AvUi9zJABh7MLliY/x66CnFXjMGF5TxwC+Twnua+sXs=,iv:L6cGTJoLaOxImDQ1WFPmuCs8OMvUbfuY1WXZX7O97vo=,tag:kBQ+hMkdv3XrPm2LofszhQ==,type:str] + session: ENC[AES256_GCM,data:XV1cGJhRYk2+oLOXQwJyIzFE2/PytbofGF4danwmN/4xe7vva1Cc2dtu11+cwmiBKN8/fJWbLUvq5vubFJrnxx94nt96kFbpbB37B4ilBbGq/VK5dZOF4MGhwwXnquJUkyNSPDJkYfZyFtdqGyU1YdTDjzP2tSFVHA1mw71Tq2c=,iv:+5IatK1MSvuV34ceXiHlL3w6P+WZKavpe0AQG1wU2c4=,tag:/m0Qk3G/6ExjcjKYXIZpgA==,type:str] + SECRET_KEY_BASE: ENC[AES256_GCM,data:XXDsLX6c3nuIFWOWszPiMR0Q5VcgkAYfpVZaNqoXYhy5+2sO6KErO2RmmMWRgzvhAhbqHTTXKR9aPDxvikmHkA==,iv:G9+83yuK4gBa0OF9HS3wNwG8/BiKp65EKH+anUFQx7w=,tag:vOmFde7ic8U4E8HaUg9gQw==,type:str] sops: kms: [] gcp_kms: [] @@ -14,14 +15,14 @@ sops: - recipient: age1ug2fepnvaqsfpn7t5gjjh2l0j8074jwh9h50pnjcjxn08v8pp3xq7ymxn2 enc: | -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBqbFQ4T3QyVldkNjVJZ2ZQ - SkhIQ0poTlM5UFVkeFBuUVUySzFPSUdZYXg4Cjc4RUV6MEpWbW1jSmd4L2NhS21E - WjlZcys1aUNEU2sxVVZwMnRRaTFwL0EKLS0tIE5DbWxKWE9Rc0I4T3RSbnB1elJk - MUZiRndoN1VxYjlFcVc4NkRNdUh2L2MKCfqqfLOfh+vB1gapixFzz4/ZxidTwn8F - C25Z7UDWcIJvoAM/g7RAy8uL0iUgTsQMw4inEwokaolkkOzicy1PiQ== + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBHWnFpM3RIL2w5L0greW5M + YVk3a1RCMHd5OENHNldBZ1dQV0ZNQVNKZUhJClFlTHlzRll0bGo2UW5zYmJSR0h4 + dmsvVFVOb0tTcGE2MGlaRVBYdVhqV2sKLS0tIENLZlhBc1dKQmVYUUlSNWlWaDNM + VjdMeUdFMldWRzhpanovT0xOYkdnUDgKn1VqYj7zeo4pmAiHz+seM8ulpWDNw4l9 + HQNDI4O0oeD1hA9Za95jTJlkbp5YOSui3OPWwa0URSfHH9QmyCSZUQ== -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-11-27T13:42:09Z" - mac: ENC[AES256_GCM,data:0LAWFAlYyVd3lQQtI80+VGQNymwPIO2urliic8hLSsvYl9ZCvIPUgPSGVQXSjXfVl41oxhU4XeasR9iGW3DwJ2/W3Bn7UTh3ek+sG7U6O4dmymuL44cK9F508cxF1IvK2If96jKz2ht7ttXQ11CYf82msOdL/KVp1hafRF3aTS0=,iv:FFE7JNDWF54MxWHKaWM+g3G95KpgPa05LOKunUWEMi8=,tag:0mlRoM2QX6zr+ajDjbyWxg==,type:str] + lastmodified: "2024-12-06T18:05:34Z" + mac: ENC[AES256_GCM,data:kcZLVnUmSxX7S0ygSr5EhJAoLd2RhQs05ITl9nP5ZfnfUBuODTtWYtGJzZJjB1M8hBWxxDj4PMwOXg+xCsVoc4P5PEqHkWAQSF8RZR89hcxOr6NjeNrcLENJhMZLr4TjgpoGKZXVf1uQLJ6eA7KOqABtgiCHVAfZ20kpmHZhvZg=,iv:CLn8JhdAZUl35L281fEID4eBt9uMhcOGqKlDx6653zY=,tag:96H/c6kJK47AoOOk+Bafdw==,type:str] pgp: [] encrypted_regex: ^(data|stringData)$ version: 3.9.1 diff --git a/secrets/templates/aoch.tpl.yaml b/secrets/templates/aoch.tpl.yaml index 0dbc37a..e68fc34 100644 --- a/secrets/templates/aoch.tpl.yaml +++ b/secrets/templates/aoch.tpl.yaml @@ -5,3 +5,4 @@ metadata: namespace: default stringData: session: "" + SECRET_KEY_BASE: ""