From e8721d7bc5ff1ed5e50c334e613625bd46a7ee25 Mon Sep 17 00:00:00 2001 From: Aarushi Date: Tue, 15 Oct 2024 14:14:50 +0100 Subject: [PATCH] add encrypted secrets --- .../templates/sealed-secrets.yaml | 13 +++++-------- .../autogpt-market/templates/deployment.yaml | 2 ++ .../templates/sealed-secrets.yaml | 13 +++++-------- .../infra/helm/autogpt-market/values.dev.yaml | 13 ++++++++----- .../infra/helm/autogpt-market/values.prod.yaml | 9 +++++---- .../templates/deployment-executor.yaml | 2 ++ .../autogpt-server/templates/deployment.yaml | 2 ++ .../templates/sealed-secrets.yaml | 13 +++++-------- .../infra/helm/autogpt-server/values.dev.yaml | 14 +++++++++----- .../infra/helm/autogpt-server/values.prod.yaml | 18 +++++++++--------- .../templates/deployment.yaml | 2 ++ .../templates/sealed-secrets.yaml | 13 +++++-------- .../autogpt-websocket-server/values.dev.yaml | 4 +++- .../autogpt-websocket-server/values.prod.yaml | 6 ++++-- 14 files changed, 66 insertions(+), 58 deletions(-) diff --git a/autogpt_platform/infra/helm/autogpt-builder/templates/sealed-secrets.yaml b/autogpt_platform/infra/helm/autogpt-builder/templates/sealed-secrets.yaml index 74e2c8d543d4..8c8bfe048daf 100644 --- a/autogpt_platform/infra/helm/autogpt-builder/templates/sealed-secrets.yaml +++ b/autogpt_platform/infra/helm/autogpt-builder/templates/sealed-secrets.yaml @@ -1,17 +1,14 @@ -{{- range $secretName, $secretData := .Values.secrets }} ---- apiVersion: bitnami.com/v1alpha1 kind: SealedSecret metadata: - name: {{ $secretName }} - namespace: {{ $.Release.Namespace }} + name: {{ include "autogpt-server.fullname" . }} + namespace: {{ .Release.Namespace }} spec: encryptedData: - {{- range $key, $value := $secretData }} + {{- range $key, $value := .Values.secrets }} {{ $key }}: {{ $value }} {{- end }} template: metadata: - name: {{ $secretName }} - namespace: {{ $.Release.Namespace }} -{{- end }} \ No newline at end of file + name: {{ .Release.Name }}-secrets + namespace: {{ .Release.Namespace }} \ No newline at end of file diff --git a/autogpt_platform/infra/helm/autogpt-market/templates/deployment.yaml b/autogpt_platform/infra/helm/autogpt-market/templates/deployment.yaml index cb6d7faa45ce..230c204a6a0b 100644 --- a/autogpt_platform/infra/helm/autogpt-market/templates/deployment.yaml +++ b/autogpt_platform/infra/helm/autogpt-market/templates/deployment.yaml @@ -35,6 +35,8 @@ spec: envFrom: - configMapRef: name: {{ include "autogpt-market.fullname" . }}-config + - secretRef: + name: {{ include "autogpt-market.fullname" . }}-secrets securityContext: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" diff --git a/autogpt_platform/infra/helm/autogpt-market/templates/sealed-secrets.yaml b/autogpt_platform/infra/helm/autogpt-market/templates/sealed-secrets.yaml index 74e2c8d543d4..8c8bfe048daf 100644 --- a/autogpt_platform/infra/helm/autogpt-market/templates/sealed-secrets.yaml +++ b/autogpt_platform/infra/helm/autogpt-market/templates/sealed-secrets.yaml @@ -1,17 +1,14 @@ -{{- range $secretName, $secretData := .Values.secrets }} ---- apiVersion: bitnami.com/v1alpha1 kind: SealedSecret metadata: - name: {{ $secretName }} - namespace: {{ $.Release.Namespace }} + name: {{ include "autogpt-server.fullname" . }} + namespace: {{ .Release.Namespace }} spec: encryptedData: - {{- range $key, $value := $secretData }} + {{- range $key, $value := .Values.secrets }} {{ $key }}: {{ $value }} {{- end }} template: metadata: - name: {{ $secretName }} - namespace: {{ $.Release.Namespace }} -{{- end }} \ No newline at end of file + name: {{ .Release.Name }}-secrets + namespace: {{ .Release.Namespace }} \ No newline at end of file diff --git a/autogpt_platform/infra/helm/autogpt-market/values.dev.yaml b/autogpt_platform/infra/helm/autogpt-market/values.dev.yaml index cee62f6a7432..9d2066a1d8cf 100644 --- a/autogpt_platform/infra/helm/autogpt-market/values.dev.yaml +++ b/autogpt_platform/infra/helm/autogpt-market/values.dev.yaml @@ -86,12 +86,15 @@ env: APP_ENV: "dev" PYRO_HOST: "0.0.0.0" ENABLE_AUTH: "true" - SUPABASE_JWT_SECRET: "" - DATABASE_URL: "" - SENTRY_DSN: "" - SUPABASE_SERVICE_ROLE_KEY: "" GITHUB_CLIENT_ID: "" GITHUB_CLIENT_SECRET: "" FRONTEND_BASE_URL: "https://dev-builder.agpt.co/" SUPABASE_URL: "https://adfjtextkuilwuhzdjpf.supabase.co" - BACKEND_CORS_ALLOW_ORIGINS: "https://dev-builder.agpt.co" \ No newline at end of file + BACKEND_CORS_ALLOW_ORIGINS: "https://dev-builder.agpt.co" + + +secrets: + SUPABASE_JWT_SECRET: "AgBL6H6byPKXVN0nYWgqyoZBHJJJqk8S3rNYSu3JvwOsNn3Sw94SrJcXuE48fxcojcbKvYcDshetFhrSNEsfUwvbSFoaIj+MItPIZ8FGHyfXnmeZJ5j/sdvcjaMmWS7CiL2jhzI+nc8rL2ATV2TgA7E6FA9MvhWqkAyZu04pCd1c9DsAlpcfQ3pxywXjOV+BU0+1+++Z+fTnaugt+hRbhHrKTddaPhi72KrIyJPOUlqfht0JcgflT1f5frvmNnDwkiP862knhJsqg7XyrSy4msCN7eH4BvV01pO3KhAEnMG4Lk/5FeE/2t05+HqgB4mvPbkqfY6g8Lvf6qmd5g+stB10wRmr+TxzokOom36r7sYd3tyXZMgemJOi3BZjYk7774zf/TI081pJx1FPvM6dDPQdrgnU1nhshq/gLyKB5tTTCkPQHW+YhUtApWgrC5mq8ezMqfuwrUuR+NvyO59K56ERJJFAw1fDKHIVl4TYmftet42lkVOchml30cje9gjBtpOrTkFf8lMv5DLQ/ygdwsAYmVrpYtXbT+GAaRI9QIv/rZVuckfz4uIhTp7IjAtRXJreMH2V8GZ22h6Of/BQG+XA42lMA2huIyLwsqmtL0qxNmIu5EGjcXBvlOt5eNquzts68jgNqEfE6fEuqS9lDepvtTSxGp7wmcmWwOBbIgbCnxl8t4IW/e1qvOPuvxMldH+YtVIvfHMf3DnvbehhCIYuLmRM+E6139/qdGKreRyCi4PA4PKTMEG962rSu/7z0X5wu+UYY+kESrs7HhksL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vtXmshMwRsl9e/5Y2/T2VgS7/wPTJA4AmyyrSK976SOjo7imb4XfMwc6Cc/2GE0BRW9jiKvzjQ1TC2ovQpNujTYYgPzIq8sFXEVss31DIcfwbRAzgKTTQZKl+H+i9AS0q6iYHtKORwTQ2bv2XwQwxogXMHTUq1oC3MkzjKfV9DcoTHU2o/+gTyOBW5i3BRatuublA1x0EwDoEVmWA1+i1h2bpkl4QYuyeNlhJnRHzuQU3RdFLWn3MkDM8Q4Y9n0/XXwwTCgqtdAExqNh3YJYumWiGiWfdBpEUqlUtOUurNMXy6rHH4odnNKeLQfMOa9406x5H5xiwNkl3mzGjNiPDMS7JMTptlsoL8DshE2TM0PqZVrQy81OsGNpdiU8MVeUdHO6/bDBe7j9v0FipqpeehX1AZEYb/4CWosTJACWpaTnLYRh+w12bk3x6Sj0kriDKMOuJLBRh1fveZXUC9C0FsEPhq2rBLQDVh78DkBIeKVGUzuxDP/6mT3OSBPe4aCye0vTmwtEOEvB+A7rcMkOl+j90bKAveE9H+f7UVU6Og40Nc3sSuMolKHbQyB9TNd4+jOfmySSN675riL6BpFFCSuWqjrqWFr0yI1h/xAg+YMg8WzWarwSeWr3ykXrbhQvu7Oj27ffLXEIvS0gU=" \ No newline at end of file diff --git a/autogpt_platform/infra/helm/autogpt-market/values.prod.yaml b/autogpt_platform/infra/helm/autogpt-market/values.prod.yaml index ea006f82b3d6..dd10fe22fad6 100644 --- a/autogpt_platform/infra/helm/autogpt-market/values.prod.yaml +++ b/autogpt_platform/infra/helm/autogpt-market/values.prod.yaml @@ -86,13 +86,14 @@ env: APP_ENV: "prod" PYRO_HOST: "0.0.0.0" ENABLE_AUTH: "true" - SUPABASE_JWT_SECRET: "" - DATABASE_URL: "" - SENTRY_DSN: "" - SUPABASE_SERVICE_ROLE_KEY: "" GITHUB_CLIENT_ID: "" GITHUB_CLIENT_SECRET: "" FRONTEND_BASE_URL: "https://platform.agpt.co/" SUPABASE_URL: "https://bgwpwdsxblryihinutbx.supabase.co" BAC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s5H7Hcbbd07HDYPmBNSc3w5MTI5QPZzH/yPbRA0pKUX3yF05BhIbgDuhRYQG582IYk8nI+PmvqNxDFLEDEauzoX90qNUcidZS2jgjJ0BwmkB2zgBdoU13zELjdhdewoOJJkAVm6wIT83tUnkwpEW2nJg5bE1dmvKXQuoT85/03hIf36BXQ815m6Cp1lf4W4goOfF3U3HM7CGNFRC8st3l7Rem49AE7sPWBVc00a8NnKVzdbFohm0l+NRzRwFagU/gYkXHILpP0YPdfWHI8mptv0+UlirwuJXW0EUYU9hu9rCMB3u+ooSUFLK3ojlA7A34s7lJ+7VW0haxl/Wt0PQGwGptDT8ZBrLFv7NtCGq7FRlBfdlHEKouuaqgzIJq7THwEXyvOAkmZMhrEoQoOZol/cMXYntglTO9eZ5Vhapp6ttmO8SxQieAilImY=" diff --git a/autogpt_platform/infra/helm/autogpt-server/templates/deployment-executor.yaml b/autogpt_platform/infra/helm/autogpt-server/templates/deployment-executor.yaml index b8f239e7e233..ad9e1962f18f 100644 --- a/autogpt_platform/infra/helm/autogpt-server/templates/deployment-executor.yaml +++ b/autogpt_platform/infra/helm/autogpt-server/templates/deployment-executor.yaml @@ -35,6 +35,8 @@ spec: envFrom: - configMapRef: name: {{ include "autogpt-server.fullname" . }}-config + - secretRef: + name: {{ include "autogpt-server.fullname" . }}-secrets securityContext: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" diff --git a/autogpt_platform/infra/helm/autogpt-server/templates/deployment.yaml b/autogpt_platform/infra/helm/autogpt-server/templates/deployment.yaml index f706105f190b..ad896d1f991a 100644 --- a/autogpt_platform/infra/helm/autogpt-server/templates/deployment.yaml +++ b/autogpt_platform/infra/helm/autogpt-server/templates/deployment.yaml @@ -35,6 +35,8 @@ spec: envFrom: - configMapRef: name: {{ include "autogpt-server.fullname" . }}-config + - secretRef: + name: {{ include "autogpt-server.fullname" . }}-secrets securityContext: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" diff --git a/autogpt_platform/infra/helm/autogpt-server/templates/sealed-secrets.yaml b/autogpt_platform/infra/helm/autogpt-server/templates/sealed-secrets.yaml index 74e2c8d543d4..8c8bfe048daf 100644 --- a/autogpt_platform/infra/helm/autogpt-server/templates/sealed-secrets.yaml +++ b/autogpt_platform/infra/helm/autogpt-server/templates/sealed-secrets.yaml @@ -1,17 +1,14 @@ -{{- range $secretName, $secretData := .Values.secrets }} ---- apiVersion: bitnami.com/v1alpha1 kind: SealedSecret metadata: - name: {{ $secretName }} - namespace: {{ $.Release.Namespace }} + name: {{ include "autogpt-server.fullname" . }} + namespace: {{ .Release.Namespace }} spec: encryptedData: - {{- range $key, $value := $secretData }} + {{- range $key, $value := .Values.secrets }} {{ $key }}: {{ $value }} {{- end }} template: metadata: - name: {{ $secretName }} - namespace: {{ $.Release.Namespace }} -{{- end }} \ No newline at end of file + name: {{ .Release.Name }}-secrets + namespace: {{ .Release.Namespace }} \ No newline at end of file diff --git a/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml b/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml index 5fd79257f187..ec6f526809df 100644 --- a/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml +++ b/autogpt_platform/infra/helm/autogpt-server/values.dev.yaml @@ -95,13 +95,8 @@ env: ENABLE_AUTH: "true" REDIS_HOST: "redis-dev-master.redis-dev.svc.cluster.local" REDIS_PORT: "6379" - OPENAI_API_KEY: "" - SUPABASE_JWT_SECRET: "" - REDIS_PASSWORD: "password" NUM_GRAPH_WORKERS: 10 NUM_NODE_WORKERS: 3 - DATABASE_URL: "" - SENTRY_DSN: "" ENABLE_CREDIT: "true" BACKEND_CORS_ALLOW_ORIGINS: '["https://dev-builder.agpt.co"]' SUPABASE_SERVICE_ROLE_KEY: "" @@ -111,3 +106,12 @@ env: SUPABASE_URL: "https://adfjtextkuilwuhzdjpf.supabase.co" AGENTSERVER_HOST: "autogpt-server.dev-agpt.svc.cluster.local" EXECUTIONMANAGER_HOST: "autogpt-server-executor.dev-agpt.svc.cluster.local" + +secrets: + ANTHROPIC_API_KEY: "AgBllA6KzTdyLs6Tc+HrwIeSjdsPQxdU/4qpqT64H4K3nTehS6kpCW1qtH6eBChs1v+m857sUgsrB9u8+P0aAa3DcgZ/gNg+G1GX6vAY2NJvP/2Q+Hiwi1cAn+R3ChHejG9P2C33hTa6+V9cpUI9xUWOwWLOIQZpLvAc7ltsi0ZJ06qFO0Zhj+H9K768h7U3XaivwywX7PT7BnUTiT6AQkAwD2misBkeSQZdsllOD0th3b2245yieqal9osZHlSlslI9c6EMpH0n+szSND7goyjgsik0Tb0xJU6kGggdcw9hl4x91rYDYNPs0hFES9HUxzfiAid6Y2rDUVBXoNg7K7pMR6/foIkl+gCg/1lqOS0FRlUVyAQGJEx6XphyX/SftgLaI7obaVnzjErrpLWY1ZRiD8VVZD40exf8FddGOXwPvxYHrrrPotlTDLONZMn4Fl46tJCTsoQfHCjco+sz7/nLMMnHx+l1D0eKBuGPVsKTtbWozhLCNuWEgcWb4kxJK5sd1g/GylD43g8hFW531Vbpk1J1rpf7Hurd/aTUjwSXmdxB2qXTT4HRG+Us6PnhMIuf/yxilTs4WNShY0zHhYgnQFSM3oCTL6XXG1dqdOwY2k6+k2wCQtpK45boVN5PpBrQuDuFdWb/jM5jH6L8ns0dMMlY3lHM459u7FEn8rum/xXdP/JvpFb+yct3Rgc54SOT5HuVUNAHzzmbWhY4RG4b3i21L2SlsVUwjKvu+PlN4MN5KPilvHe3yODXZu0Gp0ClzDNZQiKQU67H0uYr6eRccMDsHtMlPELqnjyQZ+OriydzB3qXidAkguKNmzPypz0LyTMnry7YpNRGyUw=" + OPENAI_API_KEY: " AgBzA0t5U4eXqjAIZ1z2zKWGSYKuPuWMe38gg9DyU5ELbvpWbkBuknl4B1+2PH9Cy1Ma0NGfRCW5p5iqX94ay5y16lWycExgw//ue67E0x5YxZw7Bmp65g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4AQqkrC30FRKJcCxJNTHHzsZiHGQLZNP2l0cEsmqtMXMk8TqbcqHvJZRpr8jP1dSJ7bxEdU9mH/zB4HV+EsPLDFWFAnFjbEQwv8FEGgqpy81ifch4Hz7S0wjwk0x/QsagKavBTvI579K6Sx7uJyMyilpzm5Ct8kDXTEGUWv7pFINXM5cAbcBNzuvwvtXmshMwRsl9e/5Y2/T2VgS7/wPTJA4AmyyrSK976SOjo7imb4XfMwc6Cc/2GE0BRW9jiKvzjQ1TC2ovQpNujTYYgPzIq8sFXEVss31DIcfwbRAzgKTTQZKl+H+i9AS0q6iYHtKORwTQ2bv2XwQwxogXMHTUq1oC3MkzjKfV9DcoTHU2o/+gTyOBW5i3BRatuublA1x0EwDoEVmWA1+i1h2bpkl4QYuyeNlhJnRHzuQU3RdFLWn3MkDM8Q4Y9n0/XXwwTCgqtdAExqNh3YJYumWiGiWfdBpEUqlUtOUurNMXy6rHH4odnNKeLQfMOa9406x5H5xiwNkl3mzGjNiPDMS7JMTptlsoL8DshE2TM0PqZVrQy81OsGNpdiU8MVeUdHO6/bDBe7j9v0FipqpeehX1AZEYb/4CWosTJACWpaTnLYRh+w12bk3x6Sj0kriDKMOuJLBRh1fveZXUC9C0FsEPhq2rBLQDVh78DkBIeKVGUzuxDP/6mT3OSBPe4aCye0vTmwtEOEvB+A7rcMkOl+j90bKAveE9H+f7UVU6Og40Nc3sSuMolKHbQyB9TNd4+jOfmySSN675riL6BpFFCSuWqjrqWFr0yI1h/xAg+YMg8WzWarwSeWr3ykXrbhQvu7Oj27ffLXEIvS0gU=" \ No newline at end of file diff --git a/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml b/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml index e8a55f6dff43..46c9cd64118e 100644 --- a/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml +++ b/autogpt_platform/infra/helm/autogpt-server/values.prod.yaml @@ -95,20 +95,20 @@ env: ENABLE_AUTH: "true" REDIS_HOST: "redis-prod-master.redis-prod.svc.cluster.local" REDIS_PORT: "6379" - ANTHROPIC_API_KEY: "" - OPENAI_API_KEY: "" - REDIS_PASSWORD: "" NUM_GRAPH_WORKERS: 10 NUM_NODE_WORKERS: 3 ENABLE_CREDIT: "true" BACKEND_CORS_ALLOW_ORIGINS: '["https://platform.agpt.co"]' - SUPABASE_JWT_SECRET: "" - DATABASE_URL: "" - SENTRY_DSN: "" - SUPABASE_SERVICE_ROLE_KEY: "" FRONTEND_BASE_URL: "https://platform.agpt.co/" SUPABASE_URL: "https://bgwpwdsxblryihinutbx.supabase.co" AGENTSERVER_HOST: "autogpt-server.prod-agpt.svc.cluster.local" EXECUTIONMANAGER_HOST: "autogpt-server-executor.prod-agpt.svc.cluster.local" - GITHUB_CLIENT_ID: "" - GITHUB_CLIENT_SECRET: "" + +secrets: + ANTHROPIC_API_KEY: "AgCf0CUyhYluMW13zvdScIzF50c1u4P3sUkKZjwe2lJGil/WrxN1r+GQGoLzjMn8ODANV7FiJN2+Y+ilVgpf0tVA9uEWLCL/OguNshRYWfNfU0PCgciXvz+Cy8xILfJW5SIZvZgDV5zMbzXeBomJYq+qFpr+PRyiIzA6ciHK/ZuItcGBB0FMdJ6w2gvAlLTFmAK0ekyXTzYidPEkBp+DA4jJXuzjXGd4U8iC4IcrSs/o0eaqfMQSOBRc7w/6SK+YDUnWypc2awBX4qNwqKbQRYAT59lihy/B0D4BhjjiUb2bAlzNWP0STsJONrOPbnHzuvipm1xpk+1bdYFpkqJAf9rk9GOPAMfB5f/kOdmaoj9jdQN55NIomSzub+KnSGt+m4G6YlEnUf2ZBZTKTeWO1jzk0gnzrdFZclPq/9Dd0qUBsZ/30KjbBRJyL9SexwxpfMoaf6dKJHcsOdOevaCpMQZaQ/AjcFZRtntw8mLALJzTZbTq7Gb6h25blwe1Oi6DrOuTrWT+OMHeUJcDQA3q1rJERa4xV0wLjYraCTerezhZgjMvfRD1Ykm5S+1U9hzsZUZZQS6OEEIS0BaOfYugt3DiFSNLrIUwVcYb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hu9rCMB3u+ooSUFLK3ojlA7A34s7lJ+7VW0haxl/Wt0PQGwGptDT8ZBrLFv7NtCGq7FRlBfdlHEKouuaqgzIJq7THwEXyvOAkmZMhrEoQoOZol/cMXYntglTO9eZ5Vhapp6ttmO8SxQieAilImY=" diff --git a/autogpt_platform/infra/helm/autogpt-websocket-server/templates/deployment.yaml b/autogpt_platform/infra/helm/autogpt-websocket-server/templates/deployment.yaml index c45c0089c6be..975122d65d18 100644 --- a/autogpt_platform/infra/helm/autogpt-websocket-server/templates/deployment.yaml +++ b/autogpt_platform/infra/helm/autogpt-websocket-server/templates/deployment.yaml @@ -35,6 +35,8 @@ spec: envFrom: - configMapRef: name: {{ include "autogpt-websocket-server.fullname" . }}-config + - secretRef: + name: {{ include "autogpt-websocket-server.fullname" . }}-secrets securityContext: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" diff --git a/autogpt_platform/infra/helm/autogpt-websocket-server/templates/sealed-secrets.yaml b/autogpt_platform/infra/helm/autogpt-websocket-server/templates/sealed-secrets.yaml index 74e2c8d543d4..8c8bfe048daf 100644 --- a/autogpt_platform/infra/helm/autogpt-websocket-server/templates/sealed-secrets.yaml +++ b/autogpt_platform/infra/helm/autogpt-websocket-server/templates/sealed-secrets.yaml @@ -1,17 +1,14 @@ -{{- range $secretName, $secretData := .Values.secrets }} ---- apiVersion: bitnami.com/v1alpha1 kind: SealedSecret metadata: - name: {{ $secretName }} - namespace: {{ $.Release.Namespace }} + name: {{ include "autogpt-server.fullname" . }} + namespace: {{ .Release.Namespace }} spec: encryptedData: - {{- range $key, $value := $secretData }} + {{- range $key, $value := .Values.secrets }} {{ $key }}: {{ $value }} {{- end }} template: metadata: - name: {{ $secretName }} - namespace: {{ $.Release.Namespace }} -{{- end }} \ No newline at end of file + name: {{ .Release.Name }}-secrets + namespace: {{ .Release.Namespace }} \ No newline at end of file diff --git a/autogpt_platform/infra/helm/autogpt-websocket-server/values.dev.yaml b/autogpt_platform/infra/helm/autogpt-websocket-server/values.dev.yaml index e899d2b7c331..a977f9bece0c 100644 --- a/autogpt_platform/infra/helm/autogpt-websocket-server/values.dev.yaml +++ b/autogpt_platform/infra/helm/autogpt-websocket-server/values.dev.yaml @@ -77,4 +77,6 @@ livenessProbe: env: REDIS_HOST: "redis-dev-master.redis-dev.svc.cluster.local" REDIS_PORT: "6379" - REDIS_PASSWORD: "password" \ No newline at end of file + +secrets: + REDIS_PASSWORD: "AgBKMJoMuj4Aze7QZFm0mmR+7FJ/1Shc/fvFMc1yv1WcyT12ngDlSdmw6eW6PaAxnrzTRZbjGNxDVONS/8g86OvEEe+OiZjI7iaGxipGkxeKMzHPbHgQt97gKRT0wEQ8K6d67gD72YZDpVmYKMOWlMDIWl64404O1Xq4FJeBQQiB57MpP5VBX0Haxe+piYfyCcli/V9mZqLb8rzutl+IovCzd3z+rpJ2EC9kgCWjGzH0Kaylmrg86ZFFSQScTcv+UQ6/7y2WldVJPohMFEOFbxUXEThzkPxy7rryNNDrQ2M704a+/ixAqhQ9nJmaAfMNdFgp4T0oEQlsTPBEsXwCt3yzqbdAm+eAohe2X60d+trNsHdMGEzgWDFtTLEjCdKml9a7GJMJsZsf2Qb1AnvdwlLFWm9jm8X+x9YXrHvakso+zvRCB1uvVEB+77ys4y0flBXDheFOTsS7cnGfumexGV/0IrJPBujVJM1q6J1ilPGTYqWVpSznl4taCPvkGjFtsKj1JHlc1FMkyV9vmkHfMfC/YuYYzMpKcfMQlUh22gpth69ENhN3DNUUEH3m5Ea4hzG5lsiCJ9XFJyJ4RSqUU3U58zy18ONEzlX1qNb26oqTSe2j5+29JpTAOkmcRyMBH0WHhB1Us5vgYjN0WNKY4EKLO53kxJDJIKiquEb1mWAmy9yzft+LhroqpyhAUtTvh5MLVs1CCpUX2Q==" \ No newline at end of file diff --git a/autogpt_platform/infra/helm/autogpt-websocket-server/values.prod.yaml b/autogpt_platform/infra/helm/autogpt-websocket-server/values.prod.yaml index 8acdabe1878a..e8a3ca448b96 100644 --- a/autogpt_platform/infra/helm/autogpt-websocket-server/values.prod.yaml +++ b/autogpt_platform/infra/helm/autogpt-websocket-server/values.prod.yaml @@ -77,5 +77,7 @@ livenessProbe: env: REDIS_HOST: "redis-prod-master.redis-prod.svc.cluster.local" REDIS_PORT: "6379" - REDIS_PASSWORD: "" - BACKEND_CORS_ALLOW_ORIGINS: '["https://platform.agpt.co"]' \ No newline at end of file + BACKEND_CORS_ALLOW_ORIGINS: '["https://platform.agpt.co"]' + +secrets: + REDIS_PASSWORD: "AgAfjYznqRaf/teLvYmjk61r3N0hx3jUFcrvzOARUQokr79relW7V48COEpVBUZzv5212oXpAOdNL2boBfTGneVJ59ohh1PIW1Wm/zrLhYs/G7gIx1YZdeAFDaB++fdNU87MWpLrDXknf0bOj4VgeuoGQ5aph5sHH9ZNVU6KODyQiZK88ghgfuB6YLe0U7ng5X9m2pY+FZ/NlrZZTaI6Lmhzfk8ozXg70n9/pPpdLy3C7o79Y15mcMOrO5SVufsIH8jHJUKwG0T5Pjkzy7qImQQAVlH24No7J55fhyZHwo2TegWw9PDuPinjcW2LfoDqVSRMcW8Gs0b41OhrOriZss8vUG5PqB49/PdVt7a9R52WVeq1vWTOc5vBLdjq8xiOX1XzghVHvvt8HKaSCO4cb+nt5iPCv+1ZbTm1UVCG66okjCpJpW8fB3R/1i+HjH2gy1gzwW0ATQzDeRoa0ErBJfEbKfmEAgUU0uiqfSd4Ch9rJmEWgt4WdcKBUjvhKODk6mgX1LoQTLnuAivQV3AYw7837+nLwKXiwdWP+FvNNTdPjH7Im5UiwPqIs+rUnT+tm0UPhKjDg60Ylc2QIV3HmjU1qoa9h438hxufb8rURSLpPfI5d462ou6g3W67KR2UzqfNuX4o7PB1suWmLs/lQpegybFZ8i8ShbcTC+rfrsPD0d1g0SW5RCTj5wsCvuE6KOZLdcCw4kV69jS36QA3jg==" \ No newline at end of file