-
Notifications
You must be signed in to change notification settings - Fork 41
Clean-up when destroying environment #527
Clean-up when destroying environment #527
Conversation
pkg/tarmak/terraform.go
Outdated
|
|
||
| c.tarmak.cluster.Log().Info("Removing environment") | ||
|
|
||
| err = c.tarmak.environment.Remove() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we have to make this command part of tarmak cluster destroy. Input is welcome for this one!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be a different command that will remove the environment and all clusters within from tarmak.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
5914c34 to
e9bd36e
Compare
5585531 to
925be30
Compare
|
/unassign |
|
/unassign @simonswine |
925be30 to
e9dca1b
Compare
e9dca1b to
1c9fb5e
Compare
0b6a395 to
29ea74f
Compare
3db31ae to
c646ee0
Compare
|
/unassign @simonswine Taking this back. Found a bug when destroying a multicluster. In the hub, it doesn't set the socket path for the Tarmak provider. |
|
Fixed it |
1bfcd10 to
d729bba
Compare
This command will destroy all clusters in an environement, remove SSH and vault token and remove the environment config from tarmak.yaml Signed-off-by: Mattias Gees <[email protected]>
Signed-off-by: Mattias Gees <[email protected]>
Signed-off-by: Mattias Gees <[email protected]>
Signed-off-by: Mattias Gees <[email protected]>
Signed-off-by: Mattias Gees <[email protected]>
Signed-off-by: Mattias Gees <[email protected]>
d729bba to
0e52b7a
Compare
|
/lgtm |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MattiasGees, simonswine The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
This will destroy a complete environment and all of its clusters:
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close that issue when PR gets merged): fixes #part of #523
Special notes for your reviewer:
Release note: