From 08cea4556253eed520c1a1acca6391b76fe13740 Mon Sep 17 00:00:00 2001 From: Quan Nguyen Date: Mon, 23 Oct 2023 13:52:14 -0500 Subject: [PATCH] chore: rename hedera-network chart to fullstack-deployment (#437) Signed-off-by: Quan Nguyen --- .releaserc | 2 +- .../.helmignore | 0 .../Chart.lock | 0 .../Chart.yaml | 4 ++-- .../charts/hedera-explorer/.helmignore | 0 .../charts/hedera-explorer/Chart.yaml | 0 .../charts/hedera-explorer/templates/NOTES.txt | 0 .../charts/hedera-explorer/templates/_helpers.tpl | 0 .../hedera-explorer/templates/configmap.yaml | 0 .../hedera-explorer/templates/deployment.yaml | 0 .../charts/hedera-explorer/templates/hpa.yaml | 0 .../charts/hedera-explorer/templates/ingress.yaml | 0 .../templates/poddisruptionbudget.yaml | 0 .../charts/hedera-explorer/templates/service.yaml | 0 .../hedera-explorer/templates/serviceaccount.yaml | 0 .../charts/hedera-explorer/values.yaml | 0 .../config-files/envoy.yaml | 0 .../config-files/haproxy.cfg | 0 .../config-files/ofacBlock.acl | 0 .../config-files/otel-collector-config.yaml | 0 .../templates/NOTES.txt | 0 .../templates/_helpers.tpl | 0 .../templates/configmaps/envoy-cm.yaml | 0 .../templates/configmaps/haproxy-cm.yaml | 0 .../templates/configmaps/otel-collector-cm.yaml | 0 .../templates/configmaps/test-cm.yaml | 0 .../gateway-api/envoy-grpc-web-routes.yaml | 0 .../templates/gateway-api/gateway.yaml | 0 .../templates/gateway-api/haproxy-grpc-routes.yaml | 0 .../gateway-api/network-node-grpc-routes.yaml | 0 .../templates/network-node-statefulset.yaml | 0 .../templates/pdb.yaml | 0 .../templates/proxy/envoy-deployment.yaml | 0 .../templates/proxy/haproxy-deployment.yaml | 0 .../templates/rbac/pod-monitor.yaml | 0 .../templates/secrets/backup-uploder-secrets.yaml | 0 .../templates/secrets/otel-collector-secrets.yaml | 0 .../templates/secrets/uploder-mirror-secrets.yaml | 0 .../templates/services/envoy-svc.yaml | 0 .../templates/services/haproxy-svc.yaml | 0 .../templates/services/network-node-svc.yaml | 0 .../sidecars/_account-balance-uploader.tpl | 0 .../templates/sidecars/_backup-uploader.tpl | 0 .../templates/sidecars/_event-stream-uploader.tpl | 0 .../templates/sidecars/_otel-collector.tpl | 0 .../templates/sidecars/_record-stream-uploader.tpl | 0 .../templates/sidecars/_sidecars.tpl | 0 .../telemetry/prometheus-svc-monitor.yaml | 0 .../templates/tests/test-deployment.yaml | 0 .../tests/README.md | 4 ++-- .../tests/env.sh | 0 .../tests/env.template | 0 .../tests/helper.sh | 0 .../tests/load.sh | 0 .../tests/logging.sh | 0 .../tests/run.sh | 0 .../tests/test_basic_deployment.bats | 0 .../tests/test_gateway_api_deployment.bats | 0 .../tests/test_proxy_deployment.bats | 0 .../tests/test_sidecar_deployment.bats | 0 .../values.yaml | 0 dev/Makefile | 4 ++-- dev/README.md | 2 +- dev/scripts/env.sh | 2 +- fullstack-examples/build.gradle.kts | 4 ++-- .../plugin/HelmDependencyUpdateTaskTest.java | 2 +- .../gradle/plugin/HelmInstallChartTaskTest.java | 14 +++++++------- .../fullstack/helm/client/test/HelmClientTest.java | 2 +- 68 files changed, 20 insertions(+), 20 deletions(-) rename charts/{hedera-network => fullstack-deployment}/.helmignore (100%) rename charts/{hedera-network => fullstack-deployment}/Chart.lock (100%) rename charts/{hedera-network => fullstack-deployment}/Chart.yaml (95%) rename charts/{hedera-network => fullstack-deployment}/charts/hedera-explorer/.helmignore (100%) rename charts/{hedera-network => fullstack-deployment}/charts/hedera-explorer/Chart.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/charts/hedera-explorer/templates/NOTES.txt (100%) rename charts/{hedera-network => fullstack-deployment}/charts/hedera-explorer/templates/_helpers.tpl (100%) rename charts/{hedera-network => fullstack-deployment}/charts/hedera-explorer/templates/configmap.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/charts/hedera-explorer/templates/deployment.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/charts/hedera-explorer/templates/hpa.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/charts/hedera-explorer/templates/ingress.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/charts/hedera-explorer/templates/poddisruptionbudget.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/charts/hedera-explorer/templates/service.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/charts/hedera-explorer/templates/serviceaccount.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/charts/hedera-explorer/values.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/config-files/envoy.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/config-files/haproxy.cfg (100%) rename charts/{hedera-network => fullstack-deployment}/config-files/ofacBlock.acl (100%) rename charts/{hedera-network => fullstack-deployment}/config-files/otel-collector-config.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/NOTES.txt (100%) rename charts/{hedera-network => fullstack-deployment}/templates/_helpers.tpl (100%) rename charts/{hedera-network => fullstack-deployment}/templates/configmaps/envoy-cm.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/configmaps/haproxy-cm.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/configmaps/otel-collector-cm.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/configmaps/test-cm.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/gateway-api/envoy-grpc-web-routes.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/gateway-api/gateway.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/gateway-api/haproxy-grpc-routes.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/gateway-api/network-node-grpc-routes.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/network-node-statefulset.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/pdb.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/proxy/envoy-deployment.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/proxy/haproxy-deployment.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/rbac/pod-monitor.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/secrets/backup-uploder-secrets.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/secrets/otel-collector-secrets.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/secrets/uploder-mirror-secrets.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/services/envoy-svc.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/services/haproxy-svc.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/services/network-node-svc.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/sidecars/_account-balance-uploader.tpl (100%) rename charts/{hedera-network => fullstack-deployment}/templates/sidecars/_backup-uploader.tpl (100%) rename charts/{hedera-network => fullstack-deployment}/templates/sidecars/_event-stream-uploader.tpl (100%) rename charts/{hedera-network => fullstack-deployment}/templates/sidecars/_otel-collector.tpl (100%) rename charts/{hedera-network => fullstack-deployment}/templates/sidecars/_record-stream-uploader.tpl (100%) rename charts/{hedera-network => fullstack-deployment}/templates/sidecars/_sidecars.tpl (100%) rename charts/{hedera-network => fullstack-deployment}/templates/telemetry/prometheus-svc-monitor.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/templates/tests/test-deployment.yaml (100%) rename charts/{hedera-network => fullstack-deployment}/tests/README.md (85%) rename charts/{hedera-network => fullstack-deployment}/tests/env.sh (100%) rename charts/{hedera-network => fullstack-deployment}/tests/env.template (100%) rename charts/{hedera-network => fullstack-deployment}/tests/helper.sh (100%) rename charts/{hedera-network => fullstack-deployment}/tests/load.sh (100%) rename charts/{hedera-network => fullstack-deployment}/tests/logging.sh (100%) rename charts/{hedera-network => fullstack-deployment}/tests/run.sh (100%) rename charts/{hedera-network => fullstack-deployment}/tests/test_basic_deployment.bats (100%) rename charts/{hedera-network => fullstack-deployment}/tests/test_gateway_api_deployment.bats (100%) rename charts/{hedera-network => fullstack-deployment}/tests/test_proxy_deployment.bats (100%) rename charts/{hedera-network => fullstack-deployment}/tests/test_sidecar_deployment.bats (100%) rename charts/{hedera-network => fullstack-deployment}/values.yaml (100%) diff --git a/.releaserc b/.releaserc index 2209fe917..7c5f311ab 100644 --- a/.releaserc +++ b/.releaserc @@ -26,7 +26,7 @@ { "assets": [ "gradle.properties", - "charts/hedera-network/Chart.yaml" + "charts/fullstack-deployment/Chart.yaml" ] } ] diff --git a/charts/hedera-network/.helmignore b/charts/fullstack-deployment/.helmignore similarity index 100% rename from charts/hedera-network/.helmignore rename to charts/fullstack-deployment/.helmignore diff --git a/charts/hedera-network/Chart.lock b/charts/fullstack-deployment/Chart.lock similarity index 100% rename from charts/hedera-network/Chart.lock rename to charts/fullstack-deployment/Chart.lock diff --git a/charts/hedera-network/Chart.yaml b/charts/fullstack-deployment/Chart.yaml similarity index 95% rename from charts/hedera-network/Chart.yaml rename to charts/fullstack-deployment/Chart.yaml index a55d561ba..887c6662a 100644 --- a/charts/hedera-network/Chart.yaml +++ b/charts/fullstack-deployment/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 -name: hedera-network -description: A Helm chart for the Hedera network +name: fullstack-deployment +description: A Helm chart for the fullstack deployment # A chart can be either an 'application' or a 'library' chart. # diff --git a/charts/hedera-network/charts/hedera-explorer/.helmignore b/charts/fullstack-deployment/charts/hedera-explorer/.helmignore similarity index 100% rename from charts/hedera-network/charts/hedera-explorer/.helmignore rename to charts/fullstack-deployment/charts/hedera-explorer/.helmignore diff --git a/charts/hedera-network/charts/hedera-explorer/Chart.yaml b/charts/fullstack-deployment/charts/hedera-explorer/Chart.yaml similarity index 100% rename from charts/hedera-network/charts/hedera-explorer/Chart.yaml rename to charts/fullstack-deployment/charts/hedera-explorer/Chart.yaml diff --git a/charts/hedera-network/charts/hedera-explorer/templates/NOTES.txt b/charts/fullstack-deployment/charts/hedera-explorer/templates/NOTES.txt similarity index 100% rename from charts/hedera-network/charts/hedera-explorer/templates/NOTES.txt rename to charts/fullstack-deployment/charts/hedera-explorer/templates/NOTES.txt diff --git a/charts/hedera-network/charts/hedera-explorer/templates/_helpers.tpl b/charts/fullstack-deployment/charts/hedera-explorer/templates/_helpers.tpl similarity index 100% rename from charts/hedera-network/charts/hedera-explorer/templates/_helpers.tpl rename to charts/fullstack-deployment/charts/hedera-explorer/templates/_helpers.tpl diff --git a/charts/hedera-network/charts/hedera-explorer/templates/configmap.yaml b/charts/fullstack-deployment/charts/hedera-explorer/templates/configmap.yaml similarity index 100% rename from charts/hedera-network/charts/hedera-explorer/templates/configmap.yaml rename to charts/fullstack-deployment/charts/hedera-explorer/templates/configmap.yaml diff --git a/charts/hedera-network/charts/hedera-explorer/templates/deployment.yaml b/charts/fullstack-deployment/charts/hedera-explorer/templates/deployment.yaml similarity index 100% rename from charts/hedera-network/charts/hedera-explorer/templates/deployment.yaml rename to charts/fullstack-deployment/charts/hedera-explorer/templates/deployment.yaml diff --git a/charts/hedera-network/charts/hedera-explorer/templates/hpa.yaml b/charts/fullstack-deployment/charts/hedera-explorer/templates/hpa.yaml similarity index 100% rename from charts/hedera-network/charts/hedera-explorer/templates/hpa.yaml rename to charts/fullstack-deployment/charts/hedera-explorer/templates/hpa.yaml diff --git a/charts/hedera-network/charts/hedera-explorer/templates/ingress.yaml b/charts/fullstack-deployment/charts/hedera-explorer/templates/ingress.yaml similarity index 100% rename from charts/hedera-network/charts/hedera-explorer/templates/ingress.yaml rename to charts/fullstack-deployment/charts/hedera-explorer/templates/ingress.yaml diff --git a/charts/hedera-network/charts/hedera-explorer/templates/poddisruptionbudget.yaml b/charts/fullstack-deployment/charts/hedera-explorer/templates/poddisruptionbudget.yaml similarity index 100% rename from charts/hedera-network/charts/hedera-explorer/templates/poddisruptionbudget.yaml rename to charts/fullstack-deployment/charts/hedera-explorer/templates/poddisruptionbudget.yaml diff --git a/charts/hedera-network/charts/hedera-explorer/templates/service.yaml b/charts/fullstack-deployment/charts/hedera-explorer/templates/service.yaml similarity index 100% rename from charts/hedera-network/charts/hedera-explorer/templates/service.yaml rename to charts/fullstack-deployment/charts/hedera-explorer/templates/service.yaml diff --git a/charts/hedera-network/charts/hedera-explorer/templates/serviceaccount.yaml b/charts/fullstack-deployment/charts/hedera-explorer/templates/serviceaccount.yaml similarity index 100% rename from charts/hedera-network/charts/hedera-explorer/templates/serviceaccount.yaml rename to charts/fullstack-deployment/charts/hedera-explorer/templates/serviceaccount.yaml diff --git a/charts/hedera-network/charts/hedera-explorer/values.yaml b/charts/fullstack-deployment/charts/hedera-explorer/values.yaml similarity index 100% rename from charts/hedera-network/charts/hedera-explorer/values.yaml rename to charts/fullstack-deployment/charts/hedera-explorer/values.yaml diff --git a/charts/hedera-network/config-files/envoy.yaml b/charts/fullstack-deployment/config-files/envoy.yaml similarity index 100% rename from charts/hedera-network/config-files/envoy.yaml rename to charts/fullstack-deployment/config-files/envoy.yaml diff --git a/charts/hedera-network/config-files/haproxy.cfg b/charts/fullstack-deployment/config-files/haproxy.cfg similarity index 100% rename from charts/hedera-network/config-files/haproxy.cfg rename to charts/fullstack-deployment/config-files/haproxy.cfg diff --git a/charts/hedera-network/config-files/ofacBlock.acl b/charts/fullstack-deployment/config-files/ofacBlock.acl similarity index 100% rename from charts/hedera-network/config-files/ofacBlock.acl rename to charts/fullstack-deployment/config-files/ofacBlock.acl diff --git a/charts/hedera-network/config-files/otel-collector-config.yaml b/charts/fullstack-deployment/config-files/otel-collector-config.yaml similarity index 100% rename from charts/hedera-network/config-files/otel-collector-config.yaml rename to charts/fullstack-deployment/config-files/otel-collector-config.yaml diff --git a/charts/hedera-network/templates/NOTES.txt b/charts/fullstack-deployment/templates/NOTES.txt similarity index 100% rename from charts/hedera-network/templates/NOTES.txt rename to charts/fullstack-deployment/templates/NOTES.txt diff --git a/charts/hedera-network/templates/_helpers.tpl b/charts/fullstack-deployment/templates/_helpers.tpl similarity index 100% rename from charts/hedera-network/templates/_helpers.tpl rename to charts/fullstack-deployment/templates/_helpers.tpl diff --git a/charts/hedera-network/templates/configmaps/envoy-cm.yaml b/charts/fullstack-deployment/templates/configmaps/envoy-cm.yaml similarity index 100% rename from charts/hedera-network/templates/configmaps/envoy-cm.yaml rename to charts/fullstack-deployment/templates/configmaps/envoy-cm.yaml diff --git a/charts/hedera-network/templates/configmaps/haproxy-cm.yaml b/charts/fullstack-deployment/templates/configmaps/haproxy-cm.yaml similarity index 100% rename from charts/hedera-network/templates/configmaps/haproxy-cm.yaml rename to charts/fullstack-deployment/templates/configmaps/haproxy-cm.yaml diff --git a/charts/hedera-network/templates/configmaps/otel-collector-cm.yaml b/charts/fullstack-deployment/templates/configmaps/otel-collector-cm.yaml similarity index 100% rename from charts/hedera-network/templates/configmaps/otel-collector-cm.yaml rename to charts/fullstack-deployment/templates/configmaps/otel-collector-cm.yaml diff --git a/charts/hedera-network/templates/configmaps/test-cm.yaml b/charts/fullstack-deployment/templates/configmaps/test-cm.yaml similarity index 100% rename from charts/hedera-network/templates/configmaps/test-cm.yaml rename to charts/fullstack-deployment/templates/configmaps/test-cm.yaml diff --git a/charts/hedera-network/templates/gateway-api/envoy-grpc-web-routes.yaml b/charts/fullstack-deployment/templates/gateway-api/envoy-grpc-web-routes.yaml similarity index 100% rename from charts/hedera-network/templates/gateway-api/envoy-grpc-web-routes.yaml rename to charts/fullstack-deployment/templates/gateway-api/envoy-grpc-web-routes.yaml diff --git a/charts/hedera-network/templates/gateway-api/gateway.yaml b/charts/fullstack-deployment/templates/gateway-api/gateway.yaml similarity index 100% rename from charts/hedera-network/templates/gateway-api/gateway.yaml rename to charts/fullstack-deployment/templates/gateway-api/gateway.yaml diff --git a/charts/hedera-network/templates/gateway-api/haproxy-grpc-routes.yaml b/charts/fullstack-deployment/templates/gateway-api/haproxy-grpc-routes.yaml similarity index 100% rename from charts/hedera-network/templates/gateway-api/haproxy-grpc-routes.yaml rename to charts/fullstack-deployment/templates/gateway-api/haproxy-grpc-routes.yaml diff --git a/charts/hedera-network/templates/gateway-api/network-node-grpc-routes.yaml b/charts/fullstack-deployment/templates/gateway-api/network-node-grpc-routes.yaml similarity index 100% rename from charts/hedera-network/templates/gateway-api/network-node-grpc-routes.yaml rename to charts/fullstack-deployment/templates/gateway-api/network-node-grpc-routes.yaml diff --git a/charts/hedera-network/templates/network-node-statefulset.yaml b/charts/fullstack-deployment/templates/network-node-statefulset.yaml similarity index 100% rename from charts/hedera-network/templates/network-node-statefulset.yaml rename to charts/fullstack-deployment/templates/network-node-statefulset.yaml diff --git a/charts/hedera-network/templates/pdb.yaml b/charts/fullstack-deployment/templates/pdb.yaml similarity index 100% rename from charts/hedera-network/templates/pdb.yaml rename to charts/fullstack-deployment/templates/pdb.yaml diff --git a/charts/hedera-network/templates/proxy/envoy-deployment.yaml b/charts/fullstack-deployment/templates/proxy/envoy-deployment.yaml similarity index 100% rename from charts/hedera-network/templates/proxy/envoy-deployment.yaml rename to charts/fullstack-deployment/templates/proxy/envoy-deployment.yaml diff --git a/charts/hedera-network/templates/proxy/haproxy-deployment.yaml b/charts/fullstack-deployment/templates/proxy/haproxy-deployment.yaml similarity index 100% rename from charts/hedera-network/templates/proxy/haproxy-deployment.yaml rename to charts/fullstack-deployment/templates/proxy/haproxy-deployment.yaml diff --git a/charts/hedera-network/templates/rbac/pod-monitor.yaml b/charts/fullstack-deployment/templates/rbac/pod-monitor.yaml similarity index 100% rename from charts/hedera-network/templates/rbac/pod-monitor.yaml rename to charts/fullstack-deployment/templates/rbac/pod-monitor.yaml diff --git a/charts/hedera-network/templates/secrets/backup-uploder-secrets.yaml b/charts/fullstack-deployment/templates/secrets/backup-uploder-secrets.yaml similarity index 100% rename from charts/hedera-network/templates/secrets/backup-uploder-secrets.yaml rename to charts/fullstack-deployment/templates/secrets/backup-uploder-secrets.yaml diff --git a/charts/hedera-network/templates/secrets/otel-collector-secrets.yaml b/charts/fullstack-deployment/templates/secrets/otel-collector-secrets.yaml similarity index 100% rename from charts/hedera-network/templates/secrets/otel-collector-secrets.yaml rename to charts/fullstack-deployment/templates/secrets/otel-collector-secrets.yaml diff --git a/charts/hedera-network/templates/secrets/uploder-mirror-secrets.yaml b/charts/fullstack-deployment/templates/secrets/uploder-mirror-secrets.yaml similarity index 100% rename from charts/hedera-network/templates/secrets/uploder-mirror-secrets.yaml rename to charts/fullstack-deployment/templates/secrets/uploder-mirror-secrets.yaml diff --git a/charts/hedera-network/templates/services/envoy-svc.yaml b/charts/fullstack-deployment/templates/services/envoy-svc.yaml similarity index 100% rename from charts/hedera-network/templates/services/envoy-svc.yaml rename to charts/fullstack-deployment/templates/services/envoy-svc.yaml diff --git a/charts/hedera-network/templates/services/haproxy-svc.yaml b/charts/fullstack-deployment/templates/services/haproxy-svc.yaml similarity index 100% rename from charts/hedera-network/templates/services/haproxy-svc.yaml rename to charts/fullstack-deployment/templates/services/haproxy-svc.yaml diff --git a/charts/hedera-network/templates/services/network-node-svc.yaml b/charts/fullstack-deployment/templates/services/network-node-svc.yaml similarity index 100% rename from charts/hedera-network/templates/services/network-node-svc.yaml rename to charts/fullstack-deployment/templates/services/network-node-svc.yaml diff --git a/charts/hedera-network/templates/sidecars/_account-balance-uploader.tpl b/charts/fullstack-deployment/templates/sidecars/_account-balance-uploader.tpl similarity index 100% rename from charts/hedera-network/templates/sidecars/_account-balance-uploader.tpl rename to charts/fullstack-deployment/templates/sidecars/_account-balance-uploader.tpl diff --git a/charts/hedera-network/templates/sidecars/_backup-uploader.tpl b/charts/fullstack-deployment/templates/sidecars/_backup-uploader.tpl similarity index 100% rename from charts/hedera-network/templates/sidecars/_backup-uploader.tpl rename to charts/fullstack-deployment/templates/sidecars/_backup-uploader.tpl diff --git a/charts/hedera-network/templates/sidecars/_event-stream-uploader.tpl b/charts/fullstack-deployment/templates/sidecars/_event-stream-uploader.tpl similarity index 100% rename from charts/hedera-network/templates/sidecars/_event-stream-uploader.tpl rename to charts/fullstack-deployment/templates/sidecars/_event-stream-uploader.tpl diff --git a/charts/hedera-network/templates/sidecars/_otel-collector.tpl b/charts/fullstack-deployment/templates/sidecars/_otel-collector.tpl similarity index 100% rename from charts/hedera-network/templates/sidecars/_otel-collector.tpl rename to charts/fullstack-deployment/templates/sidecars/_otel-collector.tpl diff --git a/charts/hedera-network/templates/sidecars/_record-stream-uploader.tpl b/charts/fullstack-deployment/templates/sidecars/_record-stream-uploader.tpl similarity index 100% rename from charts/hedera-network/templates/sidecars/_record-stream-uploader.tpl rename to charts/fullstack-deployment/templates/sidecars/_record-stream-uploader.tpl diff --git a/charts/hedera-network/templates/sidecars/_sidecars.tpl b/charts/fullstack-deployment/templates/sidecars/_sidecars.tpl similarity index 100% rename from charts/hedera-network/templates/sidecars/_sidecars.tpl rename to charts/fullstack-deployment/templates/sidecars/_sidecars.tpl diff --git a/charts/hedera-network/templates/telemetry/prometheus-svc-monitor.yaml b/charts/fullstack-deployment/templates/telemetry/prometheus-svc-monitor.yaml similarity index 100% rename from charts/hedera-network/templates/telemetry/prometheus-svc-monitor.yaml rename to charts/fullstack-deployment/templates/telemetry/prometheus-svc-monitor.yaml diff --git a/charts/hedera-network/templates/tests/test-deployment.yaml b/charts/fullstack-deployment/templates/tests/test-deployment.yaml similarity index 100% rename from charts/hedera-network/templates/tests/test-deployment.yaml rename to charts/fullstack-deployment/templates/tests/test-deployment.yaml diff --git a/charts/hedera-network/tests/README.md b/charts/fullstack-deployment/tests/README.md similarity index 85% rename from charts/hedera-network/tests/README.md rename to charts/fullstack-deployment/tests/README.md index 7da4919d4..7ca7a0510 100644 --- a/charts/hedera-network/tests/README.md +++ b/charts/fullstack-deployment/tests/README.md @@ -8,7 +8,7 @@ you have the network deployed already. - Use the `test_basic_deployment.bats` file as the template while creating new tests. - In order to run and debug the tests inside the helm test container, do the following: - - Update `run` command section in `charts/hedera-network/template/tests/test-deployment.yaml` as below so that it keeps it running when we run `make helm-test`: + - Update `run` command section in `charts/fullstack-deployment/template/tests/test-deployment.yaml` as below so that it keeps it running when we run `make helm-test`: ``` - "/bin/bash" - "-c" @@ -24,7 +24,7 @@ you have the network deployed already. cd /tests && ./run.sh ``` - Once debug is done, you can exit and use Ctrl+C to terminate the helm-test process (you will need to delete the `network-test` container using `kubectl delete network-test`). - - If it looks all good, revert changes in `charts/hedera-network/template/tests/test-deployment.yaml` + - If it looks all good, revert changes in `charts/fullstack-deployment/template/tests/test-deployment.yaml` ## Run - Run `git submodule update --init` in order to install [bats](https://github.com/bats-core) for tests. diff --git a/charts/hedera-network/tests/env.sh b/charts/fullstack-deployment/tests/env.sh similarity index 100% rename from charts/hedera-network/tests/env.sh rename to charts/fullstack-deployment/tests/env.sh diff --git a/charts/hedera-network/tests/env.template b/charts/fullstack-deployment/tests/env.template similarity index 100% rename from charts/hedera-network/tests/env.template rename to charts/fullstack-deployment/tests/env.template diff --git a/charts/hedera-network/tests/helper.sh b/charts/fullstack-deployment/tests/helper.sh similarity index 100% rename from charts/hedera-network/tests/helper.sh rename to charts/fullstack-deployment/tests/helper.sh diff --git a/charts/hedera-network/tests/load.sh b/charts/fullstack-deployment/tests/load.sh similarity index 100% rename from charts/hedera-network/tests/load.sh rename to charts/fullstack-deployment/tests/load.sh diff --git a/charts/hedera-network/tests/logging.sh b/charts/fullstack-deployment/tests/logging.sh similarity index 100% rename from charts/hedera-network/tests/logging.sh rename to charts/fullstack-deployment/tests/logging.sh diff --git a/charts/hedera-network/tests/run.sh b/charts/fullstack-deployment/tests/run.sh similarity index 100% rename from charts/hedera-network/tests/run.sh rename to charts/fullstack-deployment/tests/run.sh diff --git a/charts/hedera-network/tests/test_basic_deployment.bats b/charts/fullstack-deployment/tests/test_basic_deployment.bats similarity index 100% rename from charts/hedera-network/tests/test_basic_deployment.bats rename to charts/fullstack-deployment/tests/test_basic_deployment.bats diff --git a/charts/hedera-network/tests/test_gateway_api_deployment.bats b/charts/fullstack-deployment/tests/test_gateway_api_deployment.bats similarity index 100% rename from charts/hedera-network/tests/test_gateway_api_deployment.bats rename to charts/fullstack-deployment/tests/test_gateway_api_deployment.bats diff --git a/charts/hedera-network/tests/test_proxy_deployment.bats b/charts/fullstack-deployment/tests/test_proxy_deployment.bats similarity index 100% rename from charts/hedera-network/tests/test_proxy_deployment.bats rename to charts/fullstack-deployment/tests/test_proxy_deployment.bats diff --git a/charts/hedera-network/tests/test_sidecar_deployment.bats b/charts/fullstack-deployment/tests/test_sidecar_deployment.bats similarity index 100% rename from charts/hedera-network/tests/test_sidecar_deployment.bats rename to charts/fullstack-deployment/tests/test_sidecar_deployment.bats diff --git a/charts/hedera-network/values.yaml b/charts/fullstack-deployment/values.yaml similarity index 100% rename from charts/hedera-network/values.yaml rename to charts/fullstack-deployment/values.yaml diff --git a/dev/Makefile b/dev/Makefile index 0509b8cc8..c4a68c248 100644 --- a/dev/Makefile +++ b/dev/Makefile @@ -24,7 +24,7 @@ SHELLOPTS:=$(if $(SHELLOPTS),$(SHELLOPTS):)pipefail:errexit # Setup variables SCRIPTS_DIR=$(PWD)/scripts -CHART_DIR=$(PWD)/../charts/hedera-network +CHART_DIR=$(PWD)/../charts/fullstack-deployment SCRIPT_NAME=direct-install.sh TMP_DIR=${SCRIPTS_DIR}/../temp @@ -57,7 +57,7 @@ uninstall-chart: .PHONY: update-helm-dependencies update-helm-dependencies: - helm dependency update ../charts/hedera-network + helm dependency update ../charts/fullstack-deployment .PHONY: deploy-shared deploy-shared: update-helm-dependencies deploy-gateway-api deploy-prometheus-operator deploy-minio-operator-if-required diff --git a/dev/README.md b/dev/README.md index 251a6623c..af5fb2c6a 100644 --- a/dev/README.md +++ b/dev/README.md @@ -3,7 +3,7 @@ Below are few helper commands to start the hedera network in the local kubernete - `make setup`: sets up .env file with default settings. Edit this file with any desired settings. - `make setup-cluster`: sets up a kind cluster. It assumes docker desktop is running with enough resources (6 core, 8Gb RAM, 100G disk) -- `make deploy-network`: deploys hedera-network helm chart and runs helm tests to ensure deployment was successful. +- `make deploy-network`: deploys fullstack-deployment helm chart and runs helm tests to ensure deployment was successful. - `make start`: uses NMT to install platform in the network-node pods and starts the node. - `make stop`: uses NMT to stop nodes. - `make destroy-network`: uninstalls the helm chart diff --git a/dev/scripts/env.sh b/dev/scripts/env.sh index d5cc1b2ec..5f4447a8f 100644 --- a/dev/scripts/env.sh +++ b/dev/scripts/env.sh @@ -97,7 +97,7 @@ POD_MONITOR_ROLE="${POD_MONITOR_ROLE:-pod-monitor-role}" GATEWAY_CLASS_NAME="${GATEWAY_CLASS_NAME:-fst-gateway-class}" readonly SETUP_CHART_DIR="${SCRIPT_DIR}/../../charts/fullstack-cluster-setup" -readonly CHART_DIR="${SCRIPT_DIR}/../../charts/hedera-network" +readonly CHART_DIR="${SCRIPT_DIR}/../../charts/fullstack-deployment" # telemetry related env variables readonly COMMON_RESOURCES="${SCRIPT_DIR}/../common-resources" diff --git a/fullstack-examples/build.gradle.kts b/fullstack-examples/build.gradle.kts index ba561f485..c070bf44b 100644 --- a/fullstack-examples/build.gradle.kts +++ b/fullstack-examples/build.gradle.kts @@ -37,7 +37,7 @@ tasks.register("helmInstallFstChart") { createNamespace.set(true) namespace.set("fst-ns") release.set("fst") - chart.set("../charts/hedera-network") + chart.set("../charts/fullstack-deployment") } tasks.register("helmInstallNginxChart") { @@ -59,7 +59,7 @@ tasks.register("helmNginxExists") { } tasks.register("helmDependencyUpdate") { - chartName.set("../charts/hedera-network") + chartName.set("../charts/fullstack-deployment") } tasks.register("helmTestNginxChart") { diff --git a/fullstack-gradle-plugin/src/test/java/com/hedera/fullstack/gradle/plugin/HelmDependencyUpdateTaskTest.java b/fullstack-gradle-plugin/src/test/java/com/hedera/fullstack/gradle/plugin/HelmDependencyUpdateTaskTest.java index 668c87cc5..96a7c13da 100644 --- a/fullstack-gradle-plugin/src/test/java/com/hedera/fullstack/gradle/plugin/HelmDependencyUpdateTaskTest.java +++ b/fullstack-gradle-plugin/src/test/java/com/hedera/fullstack/gradle/plugin/HelmDependencyUpdateTaskTest.java @@ -28,7 +28,7 @@ import org.junit.jupiter.api.Test; public class HelmDependencyUpdateTaskTest { - private static final String CHART = "../charts/hedera-network"; + private static final String CHART = "../charts/fullstack-deployment"; private static Project project; @BeforeAll diff --git a/fullstack-gradle-plugin/src/test/java/com/hedera/fullstack/gradle/plugin/HelmInstallChartTaskTest.java b/fullstack-gradle-plugin/src/test/java/com/hedera/fullstack/gradle/plugin/HelmInstallChartTaskTest.java index f5112c6c9..0cd10e82c 100644 --- a/fullstack-gradle-plugin/src/test/java/com/hedera/fullstack/gradle/plugin/HelmInstallChartTaskTest.java +++ b/fullstack-gradle-plugin/src/test/java/com/hedera/fullstack/gradle/plugin/HelmInstallChartTaskTest.java @@ -52,18 +52,18 @@ static void beforeAll() { // 1. 'make deploy-chart' // 2. run this test case, assuming it passes and installs fst // 3. 'make destroy-chart' - @DisplayName("Helm Install Chart Task for Hedera Network Chart") - void testHelmInstallChartTaskForHederaNetworkChart() throws IOException { - HelmClient helmClient = HelmClient.defaultClient(); + @DisplayName("Helm Install Chart Task for Fullstack Deployment Chart") + void testHelmInstallChartTaskForFullstackDeploymentChart() throws IOException { + final HelmClient helmClient = HelmClient.defaultClient(); suppressExceptions(() -> helmClient.uninstallChart("fst")); try { - final File hederaNetworkChart = new File("../charts/hedera-network"); - final String hederaNetworkChartPath = hederaNetworkChart.getCanonicalPath(); - final File valuesFile = new File(hederaNetworkChartPath + File.separator + "values.yaml"); + final File fullstackDeploymentChart = new File("../charts/fullstack-deployment"); + final String fullstackDeploymentChartPath = fullstackDeploymentChart.getCanonicalPath(); + final File valuesFile = new File(fullstackDeploymentChartPath + File.separator + "values.yaml"); final String valuesFilePath = valuesFile.getCanonicalPath(); HelmInstallChartTask helmInstallChartTask = project.getTasks() .create("helmInstallFstChart", HelmInstallChartTask.class, task -> { - task.getChart().set(hederaNetworkChartPath); + task.getChart().set(fullstackDeploymentChartPath); task.getRelease().set("fst"); // set image for nmt-install task.getSet().add("defaults.root.image.repository=hashgraph/full-stack-testing/ubi8-init-dind"); diff --git a/fullstack-helm-client/src/test/java/com/hedera/fullstack/helm/client/test/HelmClientTest.java b/fullstack-helm-client/src/test/java/com/hedera/fullstack/helm/client/test/HelmClientTest.java index 61cc6169d..e332b3246 100644 --- a/fullstack-helm-client/src/test/java/com/hedera/fullstack/helm/client/test/HelmClientTest.java +++ b/fullstack-helm-client/src/test/java/com/hedera/fullstack/helm/client/test/HelmClientTest.java @@ -398,7 +398,7 @@ void testTestChartWithOptions() { @Test @DisplayName("Test Helm dependency update subcommand") void testHelmDependencyUpdate() { - helmClient.dependencyUpdate("../charts/hedera-network"); + helmClient.dependencyUpdate("../charts/fullstack-deployment"); } @Test