Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[substrate] platform deployment via Helm #2541

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

saurabhkumarkardam
Copy link
Contributor

@saurabhkumarkardam saurabhkumarkardam commented Apr 9, 2024

Commit to be reviewed


feat(substrate): platform deployment via Helm

This pull request introduces enhanced functionality to deploy the Substrate platform using Helm charts. Several improvements have been made to streamline the process and increase readability:

1. Substrate-genesis:
   - The substrate-genesis Helm chart now dynamically generates keys and updates the genesis.json file accordingly.
   - Eliminates the need for the substrate-key-chart Helm chart, achieving the same functionality within the substrate-genesis chart.
   - Once the entire Substrate codebase is updated, substrate-key-mgmt can be safely removed.

2. Substrate-node:
   - The substrate-node chart handles node deployment, simplifying the overall process.
   - Improved readability and maintainability by removing the repetetive code and containers such as node-secrets, retrieve-chain-spec, inject-keys, and query-services.
   - Their functionalities have been incorporated into the main container responsible for starting the node.

3. dscp-ipfs-node
   - Updated for deployment via Helm.

4. A README.md has been added at the path ./platform/substrate/charts/ to provide guidance for deploying the Substrate platform via Helm.

These enhancements aim to streamline Substrate deployment via Helm, making the process more efficient and the codebase easier to manage.

fixes #2484

Copy link
Contributor

@sownak sownak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks fine, just revert the port changes to 30303

@sownak
Copy link
Contributor

sownak commented Apr 18, 2024

LGTM

This pull request introduces enhanced functionality to deploy the Substrate platform using Helm charts. Several improvements have been made to streamline the process and increase readability:

1. Substrate-genesis:
   - The substrate-genesis Helm chart now dynamically generates keys and updates the genesis.json file accordingly.
   - Eliminates the need for the substrate-key-chart Helm chart, achieving the same functionality within the substrate-genesis chart.
   - Once the entire Substrate codebase is updated, substrate-key-mgmt can be safely removed.

2. Substrate-node:
   - The substrate-node chart handles node deployment, simplifying the overall process.
   - Improved readability and maintainability by removing the repetetive code and containers such as node-secrets, retrieve-chain-spec, inject-keys, and query-services.
   - Their functionalities have been incorporated into the main container responsible for starting the node.

3. dscp-ipfs-node
   - Updated for deployment via Helm.

4. A README.md has been added at the path ./platform/substrate/charts/ to provide guidance for deploying the Substrate platform via Helm.

These enhancements aim to streamline Substrate deployment via Helm, making the process more efficient and the codebase easier to manage.

fixes hyperledger-bevel#2484

Signed-off-by: saurabhkumarkardam <[email protected]>
Copy link
Contributor

@suvajit-sarkar suvajit-sarkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sownak sownak merged commit 8cb9c5c into hyperledger-bevel:develop Apr 22, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants