stackit-cli icon indicating copy to clipboard operation
stackit-cli copied to clipboard

feat(config): add ignore-existing for profile create

Open dergeberl opened this issue 2 months ago • 1 comments

Description

This PR adds --ignore-existing as a flag for stackit config profile create in order to call the create idempotent and don not get a error in case the profile already exists. That make it possible to use profiles in automation/tool.

Example: I am currently integrating stackit(-cli) into the gardenctl (https://github.com/gardener/gardenctl-v2/pull/669).

Checklist

  • [ ] Issue was linked above
  • [x] Code format was applied: make fmt
  • [ ] Examples were added / adjusted (see e.g. here)
  • [x] Docs are up-to-date: make generate-docs (will be checked by CI)
  • [x] Unit tests got implemented or updated
  • [x] Unit tests are passing: make test (will be checked by CI)
  • [x] No linter issues: make lint (will be checked by CI)

dergeberl avatar Nov 19 '25 07:11 dergeberl

This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it.

github-actions[bot] avatar Nov 27 '25 02:11 github-actions[bot]

cc @rubenhoenle

dergeberl avatar Dec 01 '25 09:12 dergeberl

This PR was marked as stale after 7 days of inactivity and will be closed after another 7 days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it.

github-actions[bot] avatar Dec 10 '25 03:12 github-actions[bot]