-
Notifications
You must be signed in to change notification settings - Fork 44.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security(platform): Add sealed secrets (#8342)
* add sealed secrets * add encrypted secrets * remove extra space
- Loading branch information
1 parent
769ab18
commit 9fe3fed
Showing
14 changed files
with
102 additions
and
26 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
autogpt_platform/infra/helm/autogpt-builder/templates/sealed-secrets.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: bitnami.com/v1alpha1 | ||
kind: SealedSecret | ||
metadata: | ||
name: {{ include "autogpt-server.fullname" . }} | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
encryptedData: | ||
{{- range $key, $value := .Values.secrets }} | ||
{{ $key }}: {{ $value }} | ||
{{- end }} | ||
template: | ||
metadata: | ||
name: {{ .Release.Name }}-secrets | ||
namespace: {{ .Release.Namespace }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
autogpt_platform/infra/helm/autogpt-market/templates/sealed-secrets.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: bitnami.com/v1alpha1 | ||
kind: SealedSecret | ||
metadata: | ||
name: {{ include "autogpt-server.fullname" . }} | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
encryptedData: | ||
{{- range $key, $value := .Values.secrets }} | ||
{{ $key }}: {{ $value }} | ||
{{- end }} | ||
template: | ||
metadata: | ||
name: {{ .Release.Name }}-secrets | ||
namespace: {{ .Release.Namespace }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
autogpt_platform/infra/helm/autogpt-server/templates/sealed-secrets.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: bitnami.com/v1alpha1 | ||
kind: SealedSecret | ||
metadata: | ||
name: {{ include "autogpt-server.fullname" . }} | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
encryptedData: | ||
{{- range $key, $value := .Values.secrets }} | ||
{{ $key }}: {{ $value }} | ||
{{- end }} | ||
template: | ||
metadata: | ||
name: {{ .Release.Name }}-secrets | ||
namespace: {{ .Release.Namespace }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.