Skip to content

Allow skipping delete of fleet component template#642

Merged
salvatore-campagna merged 1 commit intoelastic:masterfrom
salvatore-campagna:fix/skip-delete-fleet-security-track
Aug 29, 2024
Merged

Allow skipping delete of fleet component template#642
salvatore-campagna merged 1 commit intoelastic:masterfrom
salvatore-campagna:fix/skip-delete-fleet-security-track

Conversation

@salvatore-campagna
Copy link
Contributor

@salvatore-campagna salvatore-campagna commented Aug 28, 2024

The fleet component template is used when we try to delete it. Here we introduce a parameter that allows us to skip deletion of the component template. The default value is false, which means normally we attempt to delete it. Setting it explicitly to true we avoid deleting it. This prevents errors happening if we try to delete it and it is in use.

This needs to be backported to Elasticsearch 8.15.

The fleet component template is used when we try to delete it.
Here we introduce a parameter that allows us to skip deletion
of the component template. The default value is false, which
means normally we attempt to delete it. Setting it explicitly
to true we avoid deleting it. This prevents errors happening
if we try to delete it and it is in use.
Copy link
Member

@gareth-ellis gareth-ellis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@salvatore-campagna salvatore-campagna merged commit db0f8fb into elastic:master Aug 29, 2024
salvatore-campagna added a commit to salvatore-campagna/rally-tracks that referenced this pull request Aug 29, 2024
The fleet component template is used when we try to delete it.
Here we introduce a parameter that allows us to skip deletion
of the component template. The default value is false, which
means normally we attempt to delete it. Setting it explicitly
to true we avoid deleting it. This prevents errors happening
if we try to delete it and it is in use.
salvatore-campagna added a commit that referenced this pull request Aug 29, 2024
The fleet component template is used when we try to delete it.
Here we introduce a parameter that allows us to skip deletion
of the component template. The default value is false, which
means normally we attempt to delete it. Setting it explicitly
to true we avoid deleting it. This prevents errors happening
if we try to delete it and it is in use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments