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 way to helm uninstall #152

Open
applejag opened this issue May 13, 2022 · 0 comments
Open

Add way to helm uninstall #152

applejag opened this issue May 13, 2022 · 0 comments
Labels
c/worker Component: wharf-cmd-worker enhancement New feature or request prio/1 Low priority. "Nice to have"

Comments

@applejag
Copy link
Contributor

Suggest to use similar "action" field as the kubectl step type.

Eg:

my-stage:
  my-step:
	  helm:
		  action: uninstall
			name: my-release
			namespace: prod
			cluster: cluster-config

All the flags needs to be evaluated how they should fit in here. The chartVersion flag isn't compatible with uninstalling, to begin with.

Suggested hard-coded valid enum values for the action field:

  • upgrade --install (default)
  • upgrade
  • install
  • uninstall

Maybe we want to support more? Such as also:

  • rollback
  • test
  • lint

Do we have a bunch of statements on all fields like "can only be used on action upgrade, upgrade --install, ..." or do we have a more dynamic method of declaring fields? Goes together a little with #141

@applejag applejag added c/worker Component: wharf-cmd-worker enhancement New feature or request prio/1 Low priority. "Nice to have" labels May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/worker Component: wharf-cmd-worker enhancement New feature or request prio/1 Low priority. "Nice to have"
Projects
None yet
Development

No branches or pull requests

1 participant