Skip to content

Commit

Permalink
fixed a merge mistake in values.yaml (too many mistakes !)
Browse files Browse the repository at this point in the history
and used variable for minio_url

Signed-off-by: Deepak Mishra <[email protected]>
  • Loading branch information
deepak-swirlds committed Aug 22, 2023
1 parent 9567b71 commit 8ecb0eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{- $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 -}}
{{- $minio_url := printf "http://%s-hl:9000" (index $.Values "minio-server" "tenant" "name") -}}

apiVersion: v1
kind: Secret
Expand All @@ -21,7 +22,7 @@ data:
# The below keys will be ignored by the uploader side cars
# These will be used by mirror node to connect to minio
HEDERA_MIRROR_IMPORTER_DOWNLOADER_SOURCES_0_TYPE: {{ "S3" | b64enc }}
HEDERA_MIRROR_IMPORTER_DOWNLOADER_SOURCES_0_URI: {{ "http://minio-hl:9000" | b64enc }}
HEDERA_MIRROR_IMPORTER_DOWNLOADER_SOURCES_0_URI: {{ $minio_url |b64enc }}
HEDERA_MIRROR_IMPORTER_DOWNLOADER_SOURCES_0_CREDENTIALS_ACCESSKEY: {{ $minio_accessKey | b64enc }}
HEDERA_MIRROR_IMPORTER_DOWNLOADER_SOURCES_0_CREDENTIALS_SECRETKEY: {{ $minio_secretKey | b64enc }}
---
21 changes: 0 additions & 21 deletions charts/hedera-network/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,27 +181,6 @@ minio-server:
certificate:
requestAutoCert: false

# This configures the minio tenant subchart
# Reference for configuration: https://github.com/minio/operator/blob/master/helm/tenant/values.yaml
minio-server:
secrets:
# This secret has [accessKey, secretKey] and will be randomly generated by helm
existingSecret: minio-secrets
tenant:
buckets:
- name: fst-streams
- name: fst-backups
name: minio
pools:
- servers: 1
name: pool-1
volumesPerServer: 1
size: 10Gi
configuration:
name: minio-secrets
certificate:
requestAutoCert: false

hedera-mirror-node:
# importer is a component of the hedera mirror node
# config for subchart hedera-mirror/importer
Expand Down

0 comments on commit 8ecb0eb

Please sign in to comment.