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

Add data_layer support #230

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Add data_layer support #230

wants to merge 14 commits into from

Conversation

Starttoaster
Copy link
Contributor

No description provided.

spec:
chia:
caSecretName: chiaca-secret # A kubernetes Secret containing certificate authority files
```
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Need more docs.

app.kubernetes.io/managed-by: kustomize
name: chiadatalayer-sample
spec:
# TODO(user): Add fields here
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should make a better sample here even though the samples aren't really advertised anywhere.

}

// ChiaDataLayerSpecChia defines the desired state of Chia component configuration
type ChiaDataLayerSpecChia struct {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

What settings would be valuable for this? Off the top of my head, it would be cool to be able to add or delete store IDs from the builtin wallet in the yaml config. But doing that I believe would likely require config sidecar be developed that runs alongside the data_layer container in the Pod and makes all the RPC requests for managing stores from the yaml config for a ChiaDatalayer resource.

Maybe there's another option? But I don't think using the chia-docker entrypoint script works as I believe the data_layer/wallet RPC needs to be up.

Copy link
Contributor Author

@Starttoaster Starttoaster Jan 11, 2025

Choose a reason for hiding this comment

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

If we go that far with developing the config sidecar, it may as well support all of the actions from https://docs.chia.net/guides/datalayer-user-guide/

Config sidecar will likely be developed after this PR. Just standing up the instance and managing the wallet manually by exec-ing into the chia container as a MVP.

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.

1 participant