terraform-provider-flux icon indicating copy to clipboard operation
terraform-provider-flux copied to clipboard

Skip git manifests deletion

Open invin12 opened this issue 3 months ago • 5 comments

Optionally skip manifests deletion from git repository on terraform destroy

invin12 avatar Mar 25 '24 16:03 invin12

@invin12 you need to run make docs and submit the changes.

swade1987 avatar Mar 25 '24 18:03 swade1987

@invin12 you need to run make docs and submit the changes.

All done

invin12 avatar Mar 26 '24 16:03 invin12

Thanks, @invin12. Would you be okay with waiting until I get @stefanprodan to approve and merge #615, as it's a big refactor/simplification of the documentation? Once we have that merged, we can merge your changes over the top.

swade1987 avatar Mar 26 '24 16:03 swade1987

Thanks, @invin12. Would you be okay with waiting until I get @stefanprodan to approve and merge #615, as it's a big refactor/simplification of the documentation? Once we have that merged, we can merge your changes over the top.

Of course I don't mind, thanks!

invin12 avatar Mar 26 '24 16:03 invin12

@invin12 could you please do the following:

  1. Rebase your branch against the main branch
  2. Run pre-commit install
  3. Run make docs
  4. Commit all changes.
  5. Squash everything into a single commit.

Many thanks in advance.

swade1987 avatar Mar 27 '24 16:03 swade1987

@invin12 could you please do the following:

  1. Rebase your branch against the main branch
  2. Run pre-commit install
  3. Run make docs
  4. Commit all changes.
  5. Squash everything into a single commit.

Many thanks in advance.

All done

invin12 avatar Mar 28 '24 13:03 invin12

@invin12, can I propose we reverse your logic and return if the user chooses not to delete the manifests? This just means we don't have to have the whole thing wrapped in a massive if block.

swade1987 avatar Mar 28 '24 14:03 swade1987

@invin12, can I propose we reverse your logic and return if the user chooses not to delete the manifests? This just means we don't have to have the whole thing wrapped in a massive if block.

Ok, logic is changed.

invin12 avatar Mar 28 '24 15:03 invin12

We will need to wait for @stefanprodan to get back next week to approve and merge this @invin12

swade1987 avatar Mar 28 '24 19:03 swade1987

Closing due to inactivity will be tracking via https://github.com/fluxcd/terraform-provider-flux/pull/650

swade1987 avatar Apr 10 '24 12:04 swade1987