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

[Draft]: CSPL-2758: Optional level 2 validation in SOK #1371

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

vivekr-splunk
Copy link
Collaborator

@vivekr-splunk vivekr-splunk commented Aug 23, 2024

Description

Summary:
Introduce support for an optional Splunk Level 2 upgrade path in Splunk Operator 2.5.0, allowing customers to bypass the upgrade flow validation.

Description:
Splunk Operator 2.5.0 introduces support for Splunk Level 2 Upgrade Path validation, which enforces a specific flow for upgrading Splunk instances. However, some customers have reported issues with this process as they prefer to use newer images stored in their own repositories, which are not currently supported by the upgrade path validation.

Resolution:
To accommodate this request, we plan to introduce a change in the Splunk Operator's ConfigMap by adding a new key-value pair: SPLUNK_LEVEL_2. The default value will be set to true, ensuring that the upgrade path validation is enforced. However, if customers set this value to false, the Splunk upgrade process will bypass the validation and will not follow any specific flow.

Action Items:

Introduce the SPLUNK_LEVEL_2 key-value pair in the Splunk Operator ConfigMap.

Ensure the default value is set to true.

Modify the upgrade logic to bypass the validation if SPLUNK_LEVEL_2 is set to false.

Testing:

Verify that both scenarios (validation enabled and disabled) function correctly across all upgrade paths.

Ensure that all related pipelines function properly.

Implement and validate unit test cases to cover all possible scenarios.

Vivek Reddy added 2 commits August 23, 2024 12:27
Signed-off-by: Vivek Reddy <vivekrsplunk@github.com>
Signed-off-by: Vivek Reddy <vivekrsplunk@github.com>
@vivekr-splunk vivekr-splunk changed the title [Draft]: Optional level 2 [Draft]: CSPL-2758: Optional level 2 validation in SOK Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant