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

Kubernetes account key secrets are left behind upon solo network destroy #77

Open
Tracked by #47
jeromy-cannon opened this issue Feb 26, 2024 · 0 comments
Open
Tracked by #47
Assignees
Labels
Bug A error that causes the feature to behave differently than what was expected based on design docs P3 Low priority issue. Will not impact the release schedule if not complete.

Comments

@jeromy-cannon
Copy link
Contributor

jeromy-cannon commented Feb 26, 2024

solo network destroy runs a helm uninstall therefore leaving behind PVCs and secrets. We have already added an flag for deleting the PVCs (--delete-pvcs).

After the network nodes are up and running, then solo account init will update the account public keys and generate the Kubernetes secrets.

Here we want to add a flag to delete the Kubernetes secrets within the same namespace, eg: --delete-secrets

  SOLO_CLUSTER_NAME=solo-e2e
  SOLO_NAMESPACE=solo-e2e
  SOLO_CLUSTER_SETUP_NAMESPACE=solo-e2e-cluster
  kind delete cluster -n "${SOLO_CLUSTER_NAME}"
  kind create cluster -n "${SOLO_CLUSTER_NAME}"
  solo init --namespace "${SOLO_NAMESPACE}" -i node0,node1,node2 -t v0.47.0 -s "${SOLO_CLUSTER_SETUP_NAMESPACE}"
  solo node keys --gossip-keys --tls-keys --key-format pem
  solo cluster setup
  solo network deploy
  solo node setup
  solo node start
  solo account init
@jeromy-cannon jeromy-cannon added P3 Low priority issue. Will not impact the release schedule if not complete. Bug A error that causes the feature to behave differently than what was expected based on design docs labels Feb 26, 2024
@jeromy-cannon jeromy-cannon self-assigned this Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A error that causes the feature to behave differently than what was expected based on design docs P3 Low priority issue. Will not impact the release schedule if not complete.
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants