-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add minio tenant helm chart conditionally (#239)
Signed-off-by: Deepak Mishra <deepak@swirldslabs.com> Signed-off-by: Lenin Mehedy <lenin.mehedy@swirldslabs.com> Signed-off-by: Deepak Mishra <107930718+deepak-swirlds@users.noreply.github.com> Signed-off-by: Nathan Klick <nathan@swirldslabs.com> Co-authored-by: Lenin Mehedy <lenin.mehedy@swirldslabs.com> Co-authored-by: Nathan Klick <nathan@swirldslabs.com>
- Loading branch information
1 parent
1fa684b
commit 99b2527
Showing
10 changed files
with
122 additions
and
29 deletions.
There are no files selected for viewing
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
18 changes: 14 additions & 4 deletions
18
charts/hedera-network/templates/secrets/uploder-mirror-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 |
---|---|---|
@@ -1,10 +1,20 @@ | ||
{{- $minio_accessKey := randAlpha 10 -}} | ||
{{- $minio_secretKey := randAlpha 10 -}} | ||
{{- $minio_config_env := printf "export MINIO_ROOT_USER=%s\nexport MINIO_ROOT_PASSWORD=%s" $minio_accessKey $minio_secretKey -}} | ||
|
||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: minio-secrets | ||
type: Opaque | ||
data: | ||
config.env: {{ $minio_config_env | b64enc }} | ||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: uploader-mirror-secrets | ||
type: Opaque | ||
data: | ||
S3_ACCESS_KEY: "" | ||
S3_SECRET_KEY: "" | ||
GCS_ACCESS_KEY: "" | ||
GCS_SECRET_KEY: "" | ||
S3_ACCESS_KEY: {{ $minio_accessKey | b64enc }} | ||
S3_SECRET_KEY: {{ $minio_secretKey | b64enc }} |
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
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