Skip to content

Commit

Permalink
Promote Develop to main for Splunk Operator Release 2.5.2 (#1304)
Browse files Browse the repository at this point in the history
* cspl-2505: add Pod Security standard to restricted (#1266)

* add Pod Security standard to restricted

* helm chart changes

Signed-off-by: vivekr-splunk <[email protected]>

* helm chart packages for 2.5

* removed secret

---------

Signed-off-by: vivekr-splunk <[email protected]>

* level2: Support for Level-2 Upgrade Strategy in Splunk Operator  (#1262)

* CSPL-2094, 2342: Upgrade Strategy for LM and CM (#1181)

* Added changeAnnotation method

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed uninstall kuttl test

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Added branch in int-tests

* Completed code coverage tests

* Added upgradeScenario and related methods for CM

* Added label selectors to get Current Image

* Changed pod.Spec to pod.Status

* Added changeAnnotations for MC

* Added kuttl test cases

* Fixed unit test

* Fixed SmartStore unit test

* Added code coverage test

* using fake client instead of mock

* removed creating statefulset and service

* Corrected LMCurrentImage method

* Completed Coverage tests for CM

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Completed code coverage tests

* Resolved all conflict issues

* Added comments

* Updated upgradeScenario to check if statefulSet exists

* Fixed Unit tests

* Added common APIs, changed upgrade condition

* Added only warning if annotation not found

* Add warning

* Updated upgradeCondition

* updated changeAnnotation to work with no ref

* Fixed unit tests

* Handled not found error

* Removed blank lines; handled errors in changeAnnotation

* Only call changeAnnotation if LM is ready

* Removed redundant checks

* Return if CM list is empty

* removed superfluous nil err check

* Removed branch from workflow

---------

Co-authored-by: vivekr-splunk <[email protected]>

* CSPL-2343: Upgrade Strategy for MC (#1194)

* Added changeAnnotation method

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed uninstall kuttl test

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Added branch in int-tests

* Completed code coverage tests

* Added upgradeScenario and related methods for CM

* Added label selectors to get Current Image

* Changed pod.Spec to pod.Status

* Added changeAnnotations for MC

* Added kuttl test cases

* Fixed unit test

* Fixed SmartStore unit test

* Added code coverage test

* using fake client instead of mock

* removed creating statefulset and service

* Corrected LMCurrentImage method

* Completed Coverage tests for CM

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Completed code coverage tests

* Resolved all conflict issues

* Added comments

* Updated upgradeScenario to check if statefulSet exists

* Fixed Unit tests

* Added common APIs, changed upgrade condition

* Added only warning if annotation not found

* Add warning

* Updated upgradeCondition

* updated changeAnnotation to work with no ref

* Fixed unit tests

* Handled not found error

* Added MC functions

* Removed blank lines; handled errors in changeAnnotation

* Only call changeAnnotation if LM is ready

* Removed redundant checks

* Return if CM list is empty

* removed superfluous nil err check

* Removed branch from workflow

* Added branch to workflow

* Fixed comment

* Fixed unit test

* Improved comment for the upgrade condition

* Removed branch from workflow

---------

Co-authored-by: vivekr-splunk <[email protected]>

* Level-2: Single state machine for Level-2 support (#1216)

* Added SHC functions

* Check error in change annotation

* Added Single Site IDX functions

* Added functional test case

* Removed Change annotation; Added TODO

* Added documentation

* Added multisite func

* Added branch to workflow

* Commiting

* Added specific test

* Changed image

* Added cm ref

* Removed cm ref

* Only CM and LM

* Added image output

* Added mc change image

* Added shc change image

* Fixed shc name

* Added idxc

* Check this

* Test with only CM, SHC, IDX

* Test with only CM, IDX

* Test with only LM, CM, SHC, IDX

* Test only with CM, MC, SHC, IDX

* Addd cm ref to CM,MC,SHC,IDX

* All the instances

* Test with LM,CM,MC

* Check without cm ref

* Cm Ref + LM,CM,MC,SHC

* CM ref + LM,CM,MC,IDX

* Testing all with no idx update code

* Fixed commit

* All + only single site

* With everything

* Fixed mgr client

* Final

* one stop for all the upgrade scenarios

Signed-off-by: vivekr-splunk <[email protected]>

* added upgradepath to clustermanager

Signed-off-by: vivekr-splunk <[email protected]>

* added upgradepath to all CR

Signed-off-by: vivekr-splunk <[email protected]>

* Made changes in upgrade checks

* somemore changes to fix test case for upgrade scenario

Signed-off-by: vivekr-splunk <[email protected]>

* ignore tel app install in unit test

Signed-off-by: vivekr-splunk <[email protected]>

* intermittent, changes

Signed-off-by: vivekr-splunk <[email protected]>

* fixed searchhead cluster,mc, lm, cm

Signed-off-by: vivekr-splunk <[email protected]>

* fixed test case

Signed-off-by: vivekr-splunk <[email protected]>

* working test code for upgrade

Signed-off-by: vivekr-splunk <[email protected]>

* unit test cases fixed

Signed-off-by: vivekr-splunk <[email protected]>

* added comments to the new code

Signed-off-by: vivekr-splunk <[email protected]>

* fixed some test cases

Signed-off-by: vivekr-splunk <[email protected]>

* fixed some test cases

Signed-off-by: vivekr-splunk <[email protected]>

* formatting changes

Signed-off-by: vivekr-splunk <[email protected]>

* addressed review comments

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* adding this branch for int test pipeline

Signed-off-by: vivekr-splunk <[email protected]>

* test case fix - adding extra timeout

* test case fix - adding extra timeout

* changed splunk version to 9.1.2

* changed order in the test case for level-2 support

* changing timeout to so test can pass

Signed-off-by: vivekr-splunk <[email protected]>

* changed order first search and then index

Signed-off-by: vivekr-splunk <[email protected]>

* adding back kind name in controller

* adding more timeout

Signed-off-by: vivekr-splunk <[email protected]>

* increasing to 10 min

Signed-off-by: vivekr-splunk <[email protected]>

* increasing overall test run to 6 hours

Signed-off-by: vivekr-splunk <[email protected]>

* doc changes

Signed-off-by: vivekr-splunk <[email protected]>

* just run m4 tests

Signed-off-by: vivekr-splunk <[email protected]>

* just run c3 test

Signed-off-by: vivekr-splunk <[email protected]>

* enabled all the test

Signed-off-by: vivekr-splunk <[email protected]>

* fixed go libraries

* increasing time to 7h for test

* adding helm test

* removed unused functions

* adding comment

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>

* fixed test case

* fixed helm test cases

* fixed helm test case

Signed-off-by: vivekr-splunk <[email protected]>

* adding gp2 to helm test

Signed-off-by: vivekr-splunk <[email protected]>

* fixed topologyspread constraint test case

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>

* helm test case fix (#1270)

* fixed c3 test case

* adding helm test

* fixed c3 with operator test case

Signed-off-by: vivekr-splunk <[email protected]>

---------

Signed-off-by: vivekr-splunk <[email protected]>

* Splunk Operator 2.5.0 release (#1271)

* [create-pull-request] automated change

* adding helm 2.5.0 packages

* cleanup workflows

* adding env changes

* adding bundle changes

* adding bundle changes

* changing eks version to 1.27

* changing splunk version to 9.1.2

* updated changelog

* updated changelog

---------

Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>

* removed unused files (#1276)

* merging from main to develop after release (#1280)

* Promote Develop to main for Splunk Operator Release 2.5.0 (#1273)

* cspl-2505: add Pod Security standard to restricted (#1266)

* add Pod Security standard to restricted

* helm chart changes

Signed-off-by: vivekr-splunk <[email protected]>

* helm chart packages for 2.5

* removed secret

---------

Signed-off-by: vivekr-splunk <[email protected]>

* level2: Support for Level-2 Upgrade Strategy in Splunk Operator  (#1262)

* CSPL-2094, 2342: Upgrade Strategy for LM and CM (#1181)

* Added changeAnnotation method

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed uninstall kuttl test

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Added branch in int-tests

* Completed code coverage tests

* Added upgradeScenario and related methods for CM

* Added label selectors to get Current Image

* Changed pod.Spec to pod.Status

* Added changeAnnotations for MC

* Added kuttl test cases

* Fixed unit test

* Fixed SmartStore unit test

* Added code coverage test

* using fake client instead of mock

* removed creating statefulset and service

* Corrected LMCurrentImage method

* Completed Coverage tests for CM

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Completed code coverage tests

* Resolved all conflict issues

* Added comments

* Updated upgradeScenario to check if statefulSet exists

* Fixed Unit tests

* Added common APIs, changed upgrade condition

* Added only warning if annotation not found

* Add warning

* Updated upgradeCondition

* updated changeAnnotation to work with no ref

* Fixed unit tests

* Handled not found error

* Removed blank lines; handled errors in changeAnnotation

* Only call changeAnnotation if LM is ready

* Removed redundant checks

* Return if CM list is empty

* removed superfluous nil err check

* Removed branch from workflow

---------

Co-authored-by: vivekr-splunk <[email protected]>

* CSPL-2343: Upgrade Strategy for MC (#1194)

* Added changeAnnotation method

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed uninstall kuttl test

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Added branch in int-tests

* Completed code coverage tests

* Added upgradeScenario and related methods for CM

* Added label selectors to get Current Image

* Changed pod.Spec to pod.Status

* Added changeAnnotations for MC

* Added kuttl test cases

* Fixed unit test

* Fixed SmartStore unit test

* Added code coverage test

* using fake client instead of mock

* removed creating statefulset and service

* Corrected LMCurrentImage method

* Completed Coverage tests for CM

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Completed code coverage tests

* Resolved all conflict issues

* Added comments

* Updated upgradeScenario to check if statefulSet exists

* Fixed Unit tests

* Added common APIs, changed upgrade condition

* Added only warning if annotation not found

* Add warning

* Updated upgradeCondition

* updated changeAnnotation to work with no ref

* Fixed unit tests

* Handled not found error

* Added MC functions

* Removed blank lines; handled errors in changeAnnotation

* Only call changeAnnotation if LM is ready

* Removed redundant checks

* Return if CM list is empty

* removed superfluous nil err check

* Removed branch from workflow

* Added branch to workflow

* Fixed comment

* Fixed unit test

* Improved comment for the upgrade condition

* Removed branch from workflow

---------

Co-authored-by: vivekr-splunk <[email protected]>

* Level-2: Single state machine for Level-2 support (#1216)

* Added SHC functions

* Check error in change annotation

* Added Single Site IDX functions

* Added functional test case

* Removed Change annotation; Added TODO

* Added documentation

* Added multisite func

* Added branch to workflow

* Commiting

* Added specific test

* Changed image

* Added cm ref

* Removed cm ref

* Only CM and LM

* Added image output

* Added mc change image

* Added shc change image

* Fixed shc name

* Added idxc

* Check this

* Test with only CM, SHC, IDX

* Test with only CM, IDX

* Test with only LM, CM, SHC, IDX

* Test only with CM, MC, SHC, IDX

* Addd cm ref to CM,MC,SHC,IDX

* All the instances

* Test with LM,CM,MC

* Check without cm ref

* Cm Ref + LM,CM,MC,SHC

* CM ref + LM,CM,MC,IDX

* Testing all with no idx update code

* Fixed commit

* All + only single site

* With everything

* Fixed mgr client

* Final

* one stop for all the upgrade scenarios

Signed-off-by: vivekr-splunk <[email protected]>

* added upgradepath to clustermanager

Signed-off-by: vivekr-splunk <[email protected]>

* added upgradepath to all CR

Signed-off-by: vivekr-splunk <[email protected]>

* Made changes in upgrade checks

* somemore changes to fix test case for upgrade scenario

Signed-off-by: vivekr-splunk <[email protected]>

* ignore tel app install in unit test

Signed-off-by: vivekr-splunk <[email protected]>

* intermittent, changes

Signed-off-by: vivekr-splunk <[email protected]>

* fixed searchhead cluster,mc, lm, cm

Signed-off-by: vivekr-splunk <[email protected]>

* fixed test case

Signed-off-by: vivekr-splunk <[email protected]>

* working test code for upgrade

Signed-off-by: vivekr-splunk <[email protected]>

* unit test cases fixed

Signed-off-by: vivekr-splunk <[email protected]>

* added comments to the new code

Signed-off-by: vivekr-splunk <[email protected]>

* fixed some test cases

Signed-off-by: vivekr-splunk <[email protected]>

* fixed some test cases

Signed-off-by: vivekr-splunk <[email protected]>

* formatting changes

Signed-off-by: vivekr-splunk <[email protected]>

* addressed review comments

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* adding this branch for int test pipeline

Signed-off-by: vivekr-splunk <[email protected]>

* test case fix - adding extra timeout

* test case fix - adding extra timeout

* changed splunk version to 9.1.2

* changed order in the test case for level-2 support

* changing timeout to so test can pass

Signed-off-by: vivekr-splunk <[email protected]>

* changed order first search and then index

Signed-off-by: vivekr-splunk <[email protected]>

* adding back kind name in controller

* adding more timeout

Signed-off-by: vivekr-splunk <[email protected]>

* increasing to 10 min

Signed-off-by: vivekr-splunk <[email protected]>

* increasing overall test run to 6 hours

Signed-off-by: vivekr-splunk <[email protected]>

* doc changes

Signed-off-by: vivekr-splunk <[email protected]>

* just run m4 tests

Signed-off-by: vivekr-splunk <[email protected]>

* just run c3 test

Signed-off-by: vivekr-splunk <[email protected]>

* enabled all the test

Signed-off-by: vivekr-splunk <[email protected]>

* fixed go libraries

* increasing time to 7h for test

* adding helm test

* removed unused functions

* adding comment

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>

* fixed test case

* fixed helm test cases

* fixed helm test case

Signed-off-by: vivekr-splunk <[email protected]>

* adding gp2 to helm test

Signed-off-by: vivekr-splunk <[email protected]>

* fixed topologyspread constraint test case

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>

* helm test case fix (#1270)

* fixed c3 test case

* adding helm test

* fixed c3 with operator test case

Signed-off-by: vivekr-splunk <[email protected]>

---------

Signed-off-by: vivekr-splunk <[email protected]>

* Splunk Operator 2.5.0 release (#1271)

* [create-pull-request] automated change

* adding helm 2.5.0 packages

* cleanup workflows

* adding env changes

* adding bundle changes

* adding bundle changes

* changing eks version to 1.27

* changing splunk version to 9.1.2

* updated changelog

* updated changelog

---------

Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>

* setting splunk verion to 9.1.3

* removing unwanted file

* removed unused files (#1276)

* Update helm-test-workflow.yml

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: gaurav-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>

* change log date fixed (#1277)

* Add documentation for WLM support (#1278)

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: gaurav-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: Arjun Kondur <[email protected]>

* cspl-2532: fix for leader election lost issue (#1281)

* fix for leader election lost issue

* runs nigtly once a week

* helm chart packages for 2.5.1 (#1282)

* Splunk Operator 2.5.1 release (#1283)

* [create-pull-request] automated change

* fixed change log

* fixed change log

---------

Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>

* Main to develop 2.5.1 (#1289)

* Promote Develop to main for Splunk Operator Release 2.5.0 (#1273)

* cspl-2505: add Pod Security standard to restricted (#1266)

* add Pod Security standard to restricted

* helm chart changes

Signed-off-by: vivekr-splunk <[email protected]>

* helm chart packages for 2.5

* removed secret

---------

Signed-off-by: vivekr-splunk <[email protected]>

* level2: Support for Level-2 Upgrade Strategy in Splunk Operator  (#1262)

* CSPL-2094, 2342: Upgrade Strategy for LM and CM (#1181)

* Added changeAnnotation method

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed uninstall kuttl test

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Added branch in int-tests

* Completed code coverage tests

* Added upgradeScenario and related methods for CM

* Added label selectors to get Current Image

* Changed pod.Spec to pod.Status

* Added changeAnnotations for MC

* Added kuttl test cases

* Fixed unit test

* Fixed SmartStore unit test

* Added code coverage test

* using fake client instead of mock

* removed creating statefulset and service

* Corrected LMCurrentImage method

* Completed Coverage tests for CM

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Completed code coverage tests

* Resolved all conflict issues

* Added comments

* Updated upgradeScenario to check if statefulSet exists

* Fixed Unit tests

* Added common APIs, changed upgrade condition

* Added only warning if annotation not found

* Add warning

* Updated upgradeCondition

* updated changeAnnotation to work with no ref

* Fixed unit tests

* Handled not found error

* Removed blank lines; handled errors in changeAnnotation

* Only call changeAnnotation if LM is ready

* Removed redundant checks

* Return if CM list is empty

* removed superfluous nil err check

* Removed branch from workflow

---------

Co-authored-by: vivekr-splunk <[email protected]>

* CSPL-2343: Upgrade Strategy for MC (#1194)

* Added changeAnnotation method

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed uninstall kuttl test

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Added branch in int-tests

* Completed code coverage tests

* Added upgradeScenario and related methods for CM

* Added label selectors to get Current Image

* Changed pod.Spec to pod.Status

* Added changeAnnotations for MC

* Added kuttl test cases

* Fixed unit test

* Fixed SmartStore unit test

* Added code coverage test

* using fake client instead of mock

* removed creating statefulset and service

* Corrected LMCurrentImage method

* Completed Coverage tests for CM

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Completed code coverage tests

* Resolved all conflict issues

* Added comments

* Updated upgradeScenario to check if statefulSet exists

* Fixed Unit tests

* Added common APIs, changed upgrade condition

* Added only warning if annotation not found

* Add warning

* Updated upgradeCondition

* updated changeAnnotation to work with no ref

* Fixed unit tests

* Handled not found error

* Added MC functions

* Removed blank lines; handled errors in changeAnnotation

* Only call changeAnnotation if LM is ready

* Removed redundant checks

* Return if CM list is empty

* removed superfluous nil err check

* Removed branch from workflow

* Added branch to workflow

* Fixed comment

* Fixed unit test

* Improved comment for the upgrade condition

* Removed branch from workflow

---------

Co-authored-by: vivekr-splunk <[email protected]>

* Level-2: Single state machine for Level-2 support (#1216)

* Added SHC functions

* Check error in change annotation

* Added Single Site IDX functions

* Added functional test case

* Removed Change annotation; Added TODO

* Added documentation

* Added multisite func

* Added branch to workflow

* Commiting

* Added specific test

* Changed image

* Added cm ref

* Removed cm ref

* Only CM and LM

* Added image output

* Added mc change image

* Added shc change image

* Fixed shc name

* Added idxc

* Check this

* Test with only CM, SHC, IDX

* Test with only CM, IDX

* Test with only LM, CM, SHC, IDX

* Test only with CM, MC, SHC, IDX

* Addd cm ref to CM,MC,SHC,IDX

* All the instances

* Test with LM,CM,MC

* Check without cm ref

* Cm Ref + LM,CM,MC,SHC

* CM ref + LM,CM,MC,IDX

* Testing all with no idx update code

* Fixed commit

* All + only single site

* With everything

* Fixed mgr client

* Final

* one stop for all the upgrade scenarios

Signed-off-by: vivekr-splunk <[email protected]>

* added upgradepath to clustermanager

Signed-off-by: vivekr-splunk <[email protected]>

* added upgradepath to all CR

Signed-off-by: vivekr-splunk <[email protected]>

* Made changes in upgrade checks

* somemore changes to fix test case for upgrade scenario

Signed-off-by: vivekr-splunk <[email protected]>

* ignore tel app install in unit test

Signed-off-by: vivekr-splunk <[email protected]>

* intermittent, changes

Signed-off-by: vivekr-splunk <[email protected]>

* fixed searchhead cluster,mc, lm, cm

Signed-off-by: vivekr-splunk <[email protected]>

* fixed test case

Signed-off-by: vivekr-splunk <[email protected]>

* working test code for upgrade

Signed-off-by: vivekr-splunk <[email protected]>

* unit test cases fixed

Signed-off-by: vivekr-splunk <[email protected]>

* added comments to the new code

Signed-off-by: vivekr-splunk <[email protected]>

* fixed some test cases

Signed-off-by: vivekr-splunk <[email protected]>

* fixed some test cases

Signed-off-by: vivekr-splunk <[email protected]>

* formatting changes

Signed-off-by: vivekr-splunk <[email protected]>

* addressed review comments

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* adding this branch for int test pipeline

Signed-off-by: vivekr-splunk <[email protected]>

* test case fix - adding extra timeout

* test case fix - adding extra timeout

* changed splunk version to 9.1.2

* changed order in the test case for level-2 support

* changing timeout to so test can pass

Signed-off-by: vivekr-splunk <[email protected]>

* changed order first search and then index

Signed-off-by: vivekr-splunk <[email protected]>

* adding back kind name in controller

* adding more timeout

Signed-off-by: vivekr-splunk <[email protected]>

* increasing to 10 min

Signed-off-by: vivekr-splunk <[email protected]>

* increasing overall test run to 6 hours

Signed-off-by: vivekr-splunk <[email protected]>

* doc changes

Signed-off-by: vivekr-splunk <[email protected]>

* just run m4 tests

Signed-off-by: vivekr-splunk <[email protected]>

* just run c3 test

Signed-off-by: vivekr-splunk <[email protected]>

* enabled all the test

Signed-off-by: vivekr-splunk <[email protected]>

* fixed go libraries

* increasing time to 7h for test

* adding helm test

* removed unused functions

* adding comment

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>

* fixed test case

* fixed helm test cases

* fixed helm test case

Signed-off-by: vivekr-splunk <[email protected]>

* adding gp2 to helm test

Signed-off-by: vivekr-splunk <[email protected]>

* fixed topologyspread constraint test case

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>

* helm test case fix (#1270)

* fixed c3 test case

* adding helm test

* fixed c3 with operator test case

Signed-off-by: vivekr-splunk <[email protected]>

---------

Signed-off-by: vivekr-splunk <[email protected]>

* Splunk Operator 2.5.0 release (#1271)

* [create-pull-request] automated change

* adding helm 2.5.0 packages

* cleanup workflows

* adding env changes

* adding bundle changes

* adding bundle changes

* changing eks version to 1.27

* changing splunk version to 9.1.2

* updated changelog

* updated changelog

---------

Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>

* setting splunk verion to 9.1.3

* removing unwanted file

* removed unused files (#1276)

* Update helm-test-workflow.yml

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: gaurav-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>

* change log date fixed (#1277)

* Add documentation for WLM support (#1278)

* Promote Develop to main for Splunk Operator Release 2.5.1 (#1286)

* cspl-2505: add Pod Security standard to restricted (#1266)

* add Pod Security standard to restricted

* helm chart changes

Signed-off-by: vivekr-splunk <[email protected]>

* helm chart packages for 2.5

* removed secret

---------

Signed-off-by: vivekr-splunk <[email protected]>

* level2: Support for Level-2 Upgrade Strategy in Splunk Operator  (#1262)

* CSPL-2094, 2342: Upgrade Strategy for LM and CM (#1181)

* Added changeAnnotation method

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed uninstall kuttl test

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Added branch in int-tests

* Completed code coverage tests

* Added upgradeScenario and related methods for CM

* Added label selectors to get Current Image

* Changed pod.Spec to pod.Status

* Added changeAnnotations for MC

* Added kuttl test cases

* Fixed unit test

* Fixed SmartStore unit test

* Added code coverage test

* using fake client instead of mock

* removed creating statefulset and service

* Corrected LMCurrentImage method

* Completed Coverage tests for CM

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Completed code coverage tests

* Resolved all conflict issues

* Added comments

* Updated upgradeScenario to check if statefulSet exists

* Fixed Unit tests

* Added common APIs, changed upgrade condition

* Added only warning if annotation not found

* Add warning

* Updated upgradeCondition

* updated changeAnnotation to work with no ref

* Fixed unit tests

* Handled not found error

* Removed blank lines; handled errors in changeAnnotation

* Only call changeAnnotation if LM is ready

* Removed redundant checks

* Return if CM list is empty

* removed superfluous nil err check

* Removed branch from workflow

---------

Co-authored-by: vivekr-splunk <[email protected]>

* CSPL-2343: Upgrade Strategy for MC (#1194)

* Added changeAnnotation method

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed uninstall kuttl test

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Added branch in int-tests

* Completed code coverage tests

* Added upgradeScenario and related methods for CM

* Added label selectors to get Current Image

* Changed pod.Spec to pod.Status

* Added changeAnnotations for MC

* Added kuttl test cases

* Fixed unit test

* Fixed SmartStore unit test

* Added code coverage test

* using fake client instead of mock

* removed creating statefulset and service

* Corrected LMCurrentImage method

* Completed Coverage tests for CM

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Completed code coverage tests

* Resolved all conflict issues

* Added comments

* Updated upgradeScenario to check if statefulSet exists

* Fixed Unit tests

* Added common APIs, changed upgrade condition

* Added only warning if annotation not found

* Add warning

* Updated upgradeCondition

* updated changeAnnotation to work with no ref

* Fixed unit tests

* Handled not found error

* Added MC functions

* Removed blank lines; handled errors in changeAnnotation

* Only call changeAnnotation if LM is ready

* Removed redundant checks

* Return if CM list is empty

* removed superfluous nil err check

* Removed branch from workflow

* Added branch to workflow

* Fixed comment

* Fixed unit test

* Improved comment for the upgrade condition

* Removed branch from workflow

---------

Co-authored-by: vivekr-splunk <[email protected]>

* Level-2: Single state machine for Level-2 support (#1216)

* Added SHC functions

* Check error in change annotation

* Added Single Site IDX functions

* Added functional test case

* Removed Change annotation; Added TODO

* Added documentation

* Added multisite func

* Added branch to workflow

* Commiting

* Added specific test

* Changed image

* Added cm ref

* Removed cm ref

* Only CM and LM

* Added image output

* Added mc change image

* Added shc change image

* Fixed shc name

* Added idxc

* Check this

* Test with only CM, SHC, IDX

* Test with only CM, IDX

* Test with only LM, CM, SHC, IDX

* Test only with CM, MC, SHC, IDX

* Addd cm ref to CM,MC,SHC,IDX

* All the instances

* Test with LM,CM,MC

* Check without cm ref

* Cm Ref + LM,CM,MC,SHC

* CM ref + LM,CM,MC,IDX

* Testing all with no idx update code

* Fixed commit

* All + only single site

* With everything

* Fixed mgr client

* Final

* one stop for all the upgrade scenarios

Signed-off-by: vivekr-splunk <[email protected]>

* added upgradepath to clustermanager

Signed-off-by: vivekr-splunk <[email protected]>

* added upgradepath to all CR

Signed-off-by: vivekr-splunk <[email protected]>

* Made changes in upgrade checks

* somemore changes to fix test case for upgrade scenario

Signed-off-by: vivekr-splunk <[email protected]>

* ignore tel app install in unit test

Signed-off-by: vivekr-splunk <[email protected]>

* intermittent, changes

Signed-off-by: vivekr-splunk <[email protected]>

* fixed searchhead cluster,mc, lm, cm

Signed-off-by: vivekr-splunk <[email protected]>

* fixed test case

Signed-off-by: vivekr-splunk <[email protected]>

* working test code for upgrade

Signed-off-by: vivekr-splunk <[email protected]>

* unit test cases fixed

Signed-off-by: vivekr-splunk <[email protected]>

* added comments to the new code

Signed-off-by: vivekr-splunk <[email protected]>

* fixed some test cases

Signed-off-by: vivekr-splunk <[email protected]>

* fixed some test cases

Signed-off-by: vivekr-splunk <[email protected]>

* formatting changes

Signed-off-by: vivekr-splunk <[email protected]>

* addressed review comments

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* adding this branch for int test pipeline

Signed-off-by: vivekr-splunk <[email protected]>

* test case fix - adding extra timeout

* test case fix - adding extra timeout

* changed splunk version to 9.1.2

* changed order in the test case for level-2 support

* changing timeout to so test can pass

Signed-off-by: vivekr-splunk <[email protected]>

* changed order first search and then index

Signed-off-by: vivekr-splunk <[email protected]>

* adding back kind name in controller

* adding more timeout

Signed-off-by: vivekr-splunk <[email protected]>

* increasing to 10 min

Signed-off-by: vivekr-splunk <[email protected]>

* increasing overall test run to 6 hours

Signed-off-by: vivekr-splunk <[email protected]>

* doc changes

Signed-off-by: vivekr-splunk <[email protected]>

* just run m4 tests

Signed-off-by: vivekr-splunk <[email protected]>

* just run c3 test

Signed-off-by: vivekr-splunk <[email protected]>

* enabled all the test

Signed-off-by: vivekr-splunk <[email protected]>

* fixed go libraries

* increasing time to 7h for test

* adding helm test

* removed unused functions

* adding comment

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>

* fixed test case

* fixed helm test cases

* fixed helm test case

Signed-off-by: vivekr-splunk <[email protected]>

* adding gp2 to helm test

Signed-off-by: vivekr-splunk <[email protected]>

* fixed topologyspread constraint test case

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>

* helm test case fix (#1270)

* fixed c3 test case

* adding helm test

* fixed c3 with operator test case

Signed-off-by: vivekr-splunk <[email protected]>

---------

Signed-off-by: vivekr-splunk <[email protected]>

* Splunk Operator 2.5.0 release (#1271)

* [create-pull-request] automated change

* adding helm 2.5.0 packages

* cleanup workflows

* adding env changes

* adding bundle changes

* adding bundle changes

* changing eks version to 1.27

* changing splunk version to 9.1.2

* updated changelog

* updated changelog

---------

Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>

* removed unused files (#1276)

* merging from main to develop after release (#1280)

* Promote Develop to main for Splunk Operator Release 2.5.0 (#1273)

* cspl-2505: add Pod Security standard to restricted (#1266)

* add Pod Security standard to restricted

* helm chart changes

Signed-off-by: vivekr-splunk <[email protected]>

* helm chart packages for 2.5

* removed secret

---------

Signed-off-by: vivekr-splunk <[email protected]>

* level2: Support for Level-2 Upgrade Strategy in Splunk Operator  (#1262)

* CSPL-2094, 2342: Upgrade Strategy for LM and CM (#1181)

* Added changeAnnotation method

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed uninstall kuttl test

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Added branch in int-tests

* Completed code coverage tests

* Added upgradeScenario and related methods for CM

* Added label selectors to get Current Image

* Changed pod.Spec to pod.Status

* Added changeAnnotations for MC

* Added kuttl test cases

* Fixed unit test

* Fixed SmartStore unit test

* Added code coverage test

* using fake client instead of mock

* removed creating statefulset and service

* Corrected LMCurrentImage method

* Completed Coverage tests for CM

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Completed code coverage tests

* Resolved all conflict issues

* Added comments

* Updated upgradeScenario to check if statefulSet exists

* Fixed Unit tests

* Added common APIs, changed upgrade condition

* Added only warning if annotation not found

* Add warning

* Updated upgradeCondition

* updated changeAnnotation to work with no ref

* Fixed unit tests

* Handled not found error

* Removed blank lines; handled errors in changeAnnotation

* Only call changeAnnotation if LM is ready

* Removed redundant checks

* Return if CM list is empty

* removed superfluous nil err check

* Removed branch from workflow

---------

Co-authored-by: vivekr-splunk <[email protected]>

* CSPL-2343: Upgrade Strategy for MC (#1194)

* Added changeAnnotation method

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed uninstall kuttl test

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Added branch in int-tests

* Completed code coverage tests

* Added upgradeScenario and related methods for CM

* Added label selectors to get Current Image

* Changed pod.Spec to pod.Status

* Added changeAnnotations for MC

* Added kuttl test cases

* Fixed unit test

* Fixed SmartStore unit test

* Added code coverage test

* using fake client instead of mock

* removed creating statefulset and service

* Corrected LMCurrentImage method

* Completed Coverage tests for CM

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Completed code coverage tests

* Resolved all conflict issues

* Added comments

* Updated upgradeScenario to check if statefulSet exists

* Fixed Unit tests

* Added common APIs, changed upgrade condition

* Added only warning if annotation not found

* Add warning

* Updated upgradeCondition

* updated changeAnnotation to work with no ref

* Fixed unit tests

* Handled not found error

* Added MC functions

* Removed blank lines; handled errors in changeAnnotation

* Only call changeAnnotation if LM is ready

* Removed redundant checks

* Return if CM list is empty

* removed superfluous nil err check

* Removed branch from workflow

* Added branch to workflow

* Fixed comment

* Fixed unit test

* Improved comment for the upgrade condition

* Removed branch from workflow

---------

Co-authored-by: vivekr-splunk <[email protected]>

* Level-2: Single state machine for Level-2 support (#1216)

* Added SHC functions

* Check error in change annotation

* Added Single Site IDX functions

* Added functional test case

* Removed Change annotation; Added TODO

* Added documentation

* Added multisite func

* Added branch to workflow

* Commiting

* Added specific test

* Changed image

* Added cm ref

* Removed cm ref

* Only CM and LM

* Added image output

* Added mc change image

* Added shc change image

* Fixed shc name

* Added idxc

* Check this

* Test with only CM, SHC, IDX

* Test with only CM, IDX

* Test with only LM, CM, SHC, IDX

* Test only with CM, MC, SHC, IDX

* Addd cm ref to CM,MC,SHC,IDX

* All the instances

* Test with LM,CM,MC

* Check without cm ref

* Cm Ref + LM,CM,MC,SHC

* CM ref + LM,CM,MC,IDX

* Testing all with no idx update code

* Fixed commit

* All + only single site

* With everything

* Fixed mgr client

* Final

* one stop for all the upgrade scenarios

Signed-off-by: vivekr-splunk <[email protected]>

* added upgradepath to clustermanager

Signed-off-by: vivekr-splunk <[email protected]>

* added upgradepath to all CR

Signed-off-by: vivekr-splunk <[email protected]>

* Made changes in upgrade checks

* somemore changes to fix test case for upgrade scenario

Signed-off-by: vivekr-splunk <[email protected]>

* ignore tel app install in unit test

Signed-off-by: vivekr-splunk <[email protected]>

* intermittent, changes

Signed-off-by: vivekr-splunk <[email protected]>

* fixed searchhead cluster,mc, lm, cm

Signed-off-by: vivekr-splunk <[email protected]>

* fixed test case

Signed-off-by: vivekr-splunk <[email protected]>

* working test code for upgrade

Signed-off-by: vivekr-splunk <[email protected]>

* unit test cases fixed

Signed-off-by: vivekr-splunk <[email protected]>

* added comments to the new code

Signed-off-by: vivekr-splunk <[email protected]>

* fixed some test cases

Signed-off-by: vivekr-splunk <[email protected]>

* fixed some test cases

Signed-off-by: vivekr-splunk <[email protected]>

* formatting changes

Signed-off-by: vivekr-splunk <[email protected]>

* addressed review comments

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* adding this branch for int test pipeline

Signed-off-by: vivekr-splunk <[email protected]>

* test case fix - adding extra timeout

* test case fix - adding extra timeout

* changed splunk version to 9.1.2

* changed order in the test case for level-2 support

* changing timeout to so test can pass

Signed-off-by: vivekr-splunk <[email protected]>

* changed order first search and then index

Signed-off-by: vivekr-splunk <[email protected]>

* adding back kind name in controller

* adding more timeout

Signed-off-by: vivekr-splunk <[email protected]>

* increasing to 10 min

Signed-off-by: vivekr-splunk <[email protected]>

* increasing overall test run to 6 hours

Signed-off-by: vivekr-splunk <[email protected]>

* doc changes

Signed-off-by: vivekr-splunk <[email protected]>

* just run m4 tests

Signed-off-by: vivekr-splunk <[email protected]>

* just run c3 test

Signed-off-by: vivekr-splunk <[email protected]>

* enabled all the test

Signed-off-by: vivekr-splunk <[email protected]>

* fixed go libraries

* increasing time to 7h for test

* adding helm test

* removed unused functions

* adding comment

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>

* fixed test case

* fixed helm test cases

* fixed helm test case

Signed-off-by: vivekr-splunk <[email protected]>

* adding gp2 to helm test

Signed-off-by: vivekr-splunk <[email protected]>

* fixed topologyspread constraint test case

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>

* helm test case fix (#1270)

* fixed c3 test case

* adding helm test

* fixed c3 with operator test case

Signed-off-by: vivekr-splunk <[email protected]>

---------

Signed-off-by: vivekr-splunk <[email protected]>

* Splunk Operator 2.5.0 release (#1271)

* [create-pull-request] automated change

* adding helm 2.5.0 packages

* cleanup workflows

* adding env changes

* adding bundle changes

* adding bundle changes

* changing eks version to 1.27

* changing splunk version to 9.1.2

* updated changelog

* updated changelog

---------

Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>

* setting splunk verion to 9.1.3

* removing unwanted file

* removed unused files (#1276)

* Update helm-test-workflow.yml

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: gaurav-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>

* change log date fixed (#1277)

* Add documentation for WLM support (#1278)

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: gaurav-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: Arjun Kondur <[email protected]>

* cspl-2532: fix for leader election lost issue (#1281)

* fix for leader election lost issue

* runs nigtly once a week

* helm chart packages for 2.5.1 (#1282)

* Splunk Operator 2.5.1 release (#1283)

* [create-pull-request] automated change

* fixed change log

* fixed change log

---------

Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>

* fixed release date

* fixed helm changes

* fixed doc changes

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: gaurav-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: Arjun Kondur <[email protected]>

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: gaurav-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: Arjun Kondur <[email protected]>

* security context for init container not set (#1290)

* Made fsGroupChangePolicy OnRootMismatch to reduce latencies

* helm version 2.5.2 updated (#1294)

* Splunk Operator 2.5.2 release (#1296)

* [create-pull-request] automated change

* fixed change log

* fixed doc changes

* commented kubectl top

* Revert "commented kubectl top"

This reverts commit c9cfe7f19846f853173d8a4a44269af18c68f98c.

---------

Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>

* Revert "CSPL-2542 - Made fsGroupChangePolicy OnRootMismatch to reduce latencies"

* Main to dev back merge (#1302)

* Promote Develop to main for Splunk Operator Release 2.5.0 (#1273)

* cspl-2505: add Pod Security standard to restricted (#1266)

* add Pod Security standard to restricted

* helm chart changes

Signed-off-by: vivekr-splunk <[email protected]>

* helm chart packages for 2.5

* removed secret

---------

Signed-off-by: vivekr-splunk <[email protected]>

* level2: Support for Level-2 Upgrade Strategy in Splunk Operator  (#1262)

* CSPL-2094, 2342: Upgrade Strategy for LM and CM (#1181)

* Added changeAnnotation method

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed uninstall kuttl test

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Added branch in int-tests

* Completed code coverage tests

* Added upgradeScenario and related methods for CM

* Added label selectors to get Current Image

* Changed pod.Spec to pod.Status

* Added changeAnnotations for MC

* Added kuttl test cases

* Fixed unit test

* Fixed SmartStore unit test

* Added code coverage test

* using fake client instead of mock

* removed creating statefulset and service

* Corrected LMCurrentImage method

* Completed Coverage tests for CM

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Completed code coverage tests

* Resolved all conflict issues

* Added comments

* Updated upgradeScenario to check if statefulSet exists

* Fixed Unit tests

* Added common APIs, changed upgrade condition

* Added only warning if annotation not found

* Add warning

* Updated upgradeCondition

* updated changeAnnotation to work with no ref

* Fixed unit tests

* Handled not found error

* Removed blank lines; handled errors in changeAnnotation

* Only call changeAnnotation if LM is ready

* Removed redundant checks

* Return if CM list is empty

* removed superfluous nil err check

* Removed branch from workflow

---------

Co-authored-by: vivekr-splunk <[email protected]>

* CSPL-2343: Upgrade Strategy for MC (#1194)

* Added changeAnnotation method

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed uninstall kuttl test

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Added branch in int-tests

* Completed code coverage tests

* Added upgradeScenario and related methods for CM

* Added label selectors to get Current Image

* Changed pod.Spec to pod.Status

* Added changeAnnotations for MC

* Added kuttl test cases

* Fixed unit test

* Fixed SmartStore unit test

* Added code coverage test

* using fake client instead of mock

* removed creating statefulset and service

* Corrected LMCurrentImage method

* Completed Coverage tests for CM

* Refined changeClusterManagerAnnotations

* test case for upgrade scenario

* Modified kuttl cases

* Added kuttl tests; Updated LicenseMaster

* Fixed unit test

* Removed changeAnnotation from licenseMaster

* Completed code coverage tests

* Resolved all conflict issues

* Added comments

* Updated upgradeScenario to check if statefulSet exists

* Fixed Unit tests

* Added common APIs, changed upgrade condition

* Added only warning if annotation not found

* Add warning

* Updated upgradeCondition

* updated changeAnnotation to work with no ref

* Fixed unit tests

* Handled not found error

* Added MC functions

* Removed blank lines; handled errors in changeAnnotation

* Only call changeAnnotation if LM is ready

* Removed redundant checks

* Return if CM list is empty

* removed superfluous nil err check

* Removed branch from workflow

* Added branch to workflow

* Fixed comment

* Fixed unit test

* Improved comment for the upgrade condition

* Removed branch from workflow

---------

Co-authored-by: vivekr-splunk <[email protected]>

* Level-2: Single state machine for Level-2 support (#1216)

* Added SHC functions

* Check error in change annotation

* Added Single Site IDX functions

* Added functional test case

* Removed Change annotation; Added TODO

* Added documentation

* Added multisite func

* Added branch to workflow

* Commiting

* Added specific test

* Changed image

* Added cm ref

* Removed cm ref

* Only CM and LM

* Added image output

* Added mc change image

* Added shc change image

* Fixed shc name

* Added idxc

* Check this

* Test with only CM, SHC, IDX

* Test with only CM, IDX

* Test with only LM, CM, SHC, IDX

* Test only with CM, MC, SHC, IDX

* Addd cm ref to CM,MC,SHC,IDX

* All the instances

* Test with LM,CM,MC

* Check without cm ref

* Cm Ref + LM,CM,MC,SHC

* CM ref + LM,CM,MC,IDX

* Testing all with no idx update code

* Fixed commit

* All + only single site

* With everything

* Fixed mgr client

* Final

* one stop for all the upgrade scenarios

Signed-off-by: vivekr-splunk <[email protected]>

* added upgradepath to clustermanager

Signed-off-by: vivekr-splunk <[email protected]>

* added upgradepath to all CR

Signed-off-by: vivekr-splunk <[email protected]>

* Made changes in upgrade checks

* somemore changes to fix test case for upgrade scenario

Signed-off-by: vivekr-splunk <[email protected]>

* ignore tel app install in unit test

Signed-off-by: vivekr-splunk <[email protected]>

* intermittent, changes

Signed-off-by: vivekr-splunk <[email protected]>

* fixed searchhead cluster,mc, lm, cm

Signed-off-by: vivekr-splunk <[email protected]>

* fixed test case

Signed-off-by: vivekr-splunk <[email protected]>

* working test code for upgrade

Signed-off-by: vivekr-splunk <[email protected]>

* unit test cases fixed

Signed-off-by: vivekr-splunk <[email protected]>

* added comments to the new code

Signed-off-by: vivekr-splunk <[email protected]>

* fixed some test cases

Signed-off-by: vivekr-splunk <[email protected]>

* fixed some test cases

Signed-off-by: vivekr-splunk <[email protected]>

* formatting changes

Signed-off-by: vivekr-splunk <[email protected]>

* addressed review comments

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* changing go to 1.21

Signed-off-by: vivekr-splunk <[email protected]>

* adding this branch for int test pipeline

Signed-off-by: vivekr-splunk <[email protected]>

* test case fix - adding extra timeout

* test case fix - adding extra timeout

* changed splunk version to 9.1.2

* changed order in the test case for level-2 support

* changing timeout to so test can pass

Signed-off-by: vivekr-splunk <[email protected]>

* changed order first search and then index

Signed-off-by: vivekr-splunk <[email protected]>

* adding back kind name in controller

* adding more timeout

Signed-off-by: vivekr-splunk <[email protected]>

* increasing to 10 min

Signed-off-by: vivekr-splunk <[email protected]>

* increasing overall test run to 6 hours

Signed-off-by: vivekr-splunk <[email protected]>

* doc changes

Signed-off-by: vivekr-splunk <[email protected]>

* just run m4 tests

Signed-off-by: vivekr-splunk <[email protected]>

* just run c3 test

Signed-off-by: vivekr-splunk <[email protected]>

* enabled all the test

Signed-off-by: vivekr-splunk <[email protected]>

* fixed go libraries

* increasing time to 7h for test

* adding helm test

* removed unused functions

* adding comment

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>

* fixed test case

* fixed helm test cases

* fixed helm test case

Signed-off-by: vivekr-splunk <[email protected]>

* adding gp2 to helm test

Signed-off-by: vivekr-splunk <[email protected]>

* fixed topologyspread constraint test case

---------

Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users…
  • Loading branch information
9 people authored Mar 5, 2024
1 parent 751148c commit dafc9d3
Show file tree
Hide file tree
Showing 24 changed files with 146 additions and 73 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= 2.5.0
VERSION ?= 2.5.2

# SPLUNK_ENTERPRISE_IMAGE defines the splunk docker tag that is used as default image.
SPLUNK_ENTERPRISE_IMAGE ?= "docker.io/splunk/splunk:edge"
Expand Down
10 changes: 5 additions & 5 deletions bundle/manifests/splunk-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ metadata:
capabilities: Seamless Upgrades
categories: Big Data, Logging & Tracing, Monitoring, Security, AI/Machine Learning
containerImage: splunk/splunk-operator@sha256:c4e0d314622699496f675760aad314520d050a66627fdf33e1e21fa28ca85d50
createdAt: "2024-02-20T18:45:06Z"
createdAt: "2024-02-29T18:47:11Z"
description: The Splunk Operator for Kubernetes enables you to quickly and easily
deploy Splunk Enterprise on your choice of private or public cloud provider.
The Operator simplifies scaling and management of Splunk Enterprise by automating
Expand All @@ -120,7 +120,7 @@ metadata:
operators.operatorframework.io/builder: operator-sdk-v1.31.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/splunk/splunk-operator
name: splunk-operator.v2.5.1
name: splunk-operator.v2.5.2
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -815,7 +815,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
image: docker.io/splunk/splunk-operator:2.5.1
image: docker.io/splunk/splunk-operator:2.5.2
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down Expand Up @@ -929,5 +929,5 @@ spec:
relatedImages:
- image: docker.io/splunk/splunk:9.1.3
name: splunk-enterprise
replaces: splunk-operator.v2.5.0
version: 2.5.1
replaces: splunk-operator.v2.5.1
version: 2.5.2
3 changes: 2 additions & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ kind: Kustomization
images:
- name: controller
newName: docker.io/splunk/splunk-operator
newTag: 2.5.1
newTag: 2.5.2

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
administrative workflows using Kubernetes best practices.
olm.properties: '[{"type": "olm.maxOpenShiftVersion", "value": "4.9"}]'
repository: https://github.com/splunk/splunk-operator
name: splunk-operator.v2.5.1
name: splunk-operator.v2.5.2
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -274,5 +274,6 @@ spec:
provider:
name: Splunk Inc.
url: www.splunk.com
replaces: splunk-operator.v2.5.0
version: 2.5.1
replaces: splunk-operator.v2.5.1
version: 2.5.2

4 changes: 2 additions & 2 deletions docs/AppFramework.md
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ spec:
serviceAccountName: splunk-operator
containers:
- name: splunk-operator
image: "docker.io/splunk/splunk-operator:2.5.1"
image: "docker.io/splunk/splunk-operator:2.5.2"
volumeMounts:
- mountPath: /opt/splunk/appframework/
name: app-staging
Expand All @@ -559,7 +559,7 @@ spec:
- name: OPERATOR_NAME
value: "splunk-operator"
- name: RELATED_IMAGE_SPLUNK_ENTERPRISE
value: "docker.io/splunk/splunk:9.0.3-a2"
value: "docker.io/splunk/splunk:9.1.3"
volumes:
- name: app-staging
Expand Down
15 changes: 15 additions & 0 deletions docs/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Splunk Operator for Kubernetes Change Log

## 2.5.2 (2024-02-28)

CSPL-2535 security context for init container not set (#1290)

### Supported Splunk Version
>| Splunk Version|
>| --- |
>| 9.0.8 |
>| 9.1.3 |
### Supported Kubernetes Version
>| Kubernetes Version|
>| --- |
>| 1.25+ |
## 2.5.1 (2024-02-20)

CSPL-2532: fix for leader election lost issue (#1281)
Expand Down
12 changes: 6 additions & 6 deletions docs/Helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ There are a couple ways you can configure your operator deployment

1. Using a ```new_values.yaml``` file to override default values (Recommended)
```
helm install -f new_values.yaml <RELEASE_NAME> splunk/splunk-operator -n <RELEASE_NAMESPACE>
helm install -f new_values.yaml --set installCRDs=true <RELEASE_NAME> splunk/splunk-operator -n <RELEASE_NAMESPACE>
```

2. Using the Helm CLI directly to set new values
Expand All @@ -46,7 +46,7 @@ helm install --set <KEY>=<VALUE> <RELEASE_NAME> splunk/splunk-operator -n <RELEA
If the release already exists, we can use ```helm upgrade``` to configure and upgrade the deployment using a file or the CLI directly as above.

```
helm upgrade -f new_values.yaml <RELEASE_NAME> splunk/splunk-operator -n <RELEASE_NAMESPACE>
helm upgrade -f new_values.yaml --set installCRDs=true <RELEASE_NAME> splunk/splunk-operator -n <RELEASE_NAMESPACE>
```

Read more about configuring values [here](https://helm.sh/docs/intro/using_helm/).
Expand Down Expand Up @@ -74,7 +74,7 @@ The ```helm list``` command can be used to retrieve all deployed releases.

By default, the Splunk Operator has cluster-wide access. Let's upgrade the ```splunk-operator-test``` release by revoking cluster-wide access:
```
helm upgrade --set splunkOperator.clusterWideAccess=false splunk-operator-test splunk/splunk-operator -n splunk-operator
helm upgrade --set splunkOperator.clusterWideAccess=false --set installCRDs=true splunk-operator-test splunk/splunk-operator -n splunk-operator
```
```
NAME: splunk-operator-test
Expand All @@ -100,7 +100,7 @@ helm dependency build splunk/splunk-enterprise
```
If the operator is already installed then you will need to disable the dependency:
```
helm install --set splunk-operator.enabled=false <RELEASE_NAME> splunk/splunk-enterprise -n <RELEASE_NAMESPACE>
helm install --set splunk-operator.enabled=false --set installCRDs=true <RELEASE_NAME> splunk/splunk-enterprise -n <RELEASE_NAMESPACE>
```
Installing ```splunk/splunk-enterprise``` will deploy Splunk Enterprise custom resources according to your configuration, the following ```new_values.yaml``` file specifies override configurations to deploy a Cluster Manager, an Indexer Cluster and a Search Head Cluster.

Expand All @@ -124,7 +124,7 @@ helm show values splunk/splunk-enterprise

To install a Splunk Enterprise deployment according to our configurations above:
```
helm install -f new_values.yaml splunk-enterprise-test splunk/splunk-enterprise -n splunk-operator
helm install --set installCRDs=true -f new_values.yaml splunk-enterprise-test splunk/splunk-enterprise -n splunk-operator
```
```
NAME: splunk-enterprise-test
Expand Down Expand Up @@ -166,6 +166,6 @@ The Splunk Enterprise chart has support for three Splunk Validated Architectures

Install a Standalone deployment using the following command:
```
helm install --set s1.enabled=true <RELEASE_NAME> splunk/splunk-enterprise -n <RELEASE_NAMESPACE>
helm install --set s1.enabled=true --set installCRDs=true <RELEASE_NAME> splunk/splunk-enterprise -n <RELEASE_NAMESPACE>
```
Visit the Splunk Operator github repository to learn more about the configurable values of [splunk/splunk-operator](https://github.com/splunk/splunk-operator/blob/develop/helm-chart/splunk-operator/values.yaml) and [splunk/splunk-enterprise](https://github.com/splunk/splunk-operator/blob/develop/helm-chart/splunk-enterprise/values.yaml).
12 changes: 6 additions & 6 deletions docs/Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
If you want to customize the installation of the Splunk Operator, download a copy of the installation YAML locally, and open it in your favorite editor.

```
wget -O splunk-operator-cluster.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.1/splunk-operator-cluster.yaml
wget -O splunk-operator-cluster.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.2/splunk-operator-cluster.yaml
```

## Default Installation
Expand All @@ -17,7 +17,7 @@ Based on the file used Splunk Operator can be installed cluster-wide or namespac
By installing `splunk-operator-cluster.yaml` Operator will watch all the namespaces of your cluster for splunk enterprise custom resources

```
wget -O splunk-operator-cluster.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.1/splunk-operator-cluster.yaml
wget -O splunk-operator-cluster.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.2/splunk-operator-cluster.yaml
kubectl apply -f splunk-operator-cluster.yaml
```

Expand All @@ -31,7 +31,7 @@ If Splunk Operator is installed clusterwide and user wants to manage multiple na
- name: WATCH_NAMESPACE
value: "namespace1,namespace2"
- name: RELATED_IMAGE_SPLUNK_ENTERPRISE
value: splunk/splunk:9.0.3-a2
value: splunk/splunk:9.1.3
- name: OPERATOR_NAME
value: splunk-operator
- name: POD_NAME
Expand All @@ -44,10 +44,10 @@ If Splunk Operator is installed clusterwide and user wants to manage multiple na

## Install operator to watch single namespace with restrictive permission

In order to install operator with restrictive permission to watch only single namespace use [splunk-operator-namespace.yaml](https://github.com/splunk/splunk-operator/releases/download/2.5.1/splunk-operator-namespace.yaml). This will create Role and Role-Binding to only watch single namespace. By default operator will be installed in `splunk-operator` namespace, user can edit the file to change the namespace
In order to install operator with restrictive permission to watch only single namespace use [splunk-operator-namespace.yaml](https://github.com/splunk/splunk-operator/releases/download/2.5.2/splunk-operator-namespace.yaml). This will create Role and Role-Binding to only watch single namespace. By default operator will be installed in `splunk-operator` namespace, user can edit the file to change the namespace

```
wget -O splunk-operator-namespace.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.1/splunk-operator-namespace.yaml
wget -O splunk-operator-namespace.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.2/splunk-operator-namespace.yaml
kubectl apply -f splunk-operator-namespace.yaml
```

Expand All @@ -68,7 +68,7 @@ If you are using a private registry for the Docker images, edit `deployment` `sp
- name: WATCH_NAMESPACE
value: "namespace1,namespace2"
- name: RELATED_IMAGE_SPLUNK_ENTERPRISE
value: splunk/splunk:9.0.3-a2
value: splunk/splunk:9.1.3
- name: OPERATOR_NAME
value: splunk-operator
- name: POD_NAME
Expand Down
5 changes: 2 additions & 3 deletions docs/MultisiteExamples.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Limitation: all the IndexerCluster resources must be located in the same namespa

#### Deploy the cluster-manager

Note:
Note:
* The image version is defined in these resources as this allows to control the upgrade cycle
* For all available default parameters refer to [splunk-ansible default.yml.spec.md](https://github.com/splunk/splunk-ansible/blob/develop/docs/advanced/default.yml.spec.md)

Expand Down Expand Up @@ -148,7 +148,7 @@ metadata:
- enterprise.splunk.com/delete-pvc
spec:
replicas: 3
image: "splunk/splunk:9.0.3-a2"
image: "splunk/splunk:9.1.3"
clusterManagerRef:
name: example
defaults: |-
Expand All @@ -157,4 +157,3 @@ spec:
site: site0
EOF
```

4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ For production environments, we are requiring the use of Splunk SmartStore. As a

A Kubernetes cluster administrator can install and start the Splunk Operator for specific namespace by running:
```
kubectl apply -f https://github.com/splunk/splunk-operator/releases/download/2.5.1/splunk-operator-namespace.yaml --server-side --force-conflicts
kubectl apply -f https://github.com/splunk/splunk-operator/releases/download/2.5.2/splunk-operator-namespace.yaml --server-side --force-conflicts
```

A Kubernetes cluster administrator can install and start the Splunk Operator for cluster-wide by running:
```
kubectl apply -f https://github.com/splunk/splunk-operator/releases/download/2.5.1/splunk-operator-cluster.yaml --server-side --force-conflicts
kubectl apply -f https://github.com/splunk/splunk-operator/releases/download/2.5.2/splunk-operator-cluster.yaml --server-side --force-conflicts
```

The [Advanced Installation Instructions](Install.md) page offers guidance for advanced configurations, including the use of private image registries, installation at cluster scope, and installing the Splunk Operator as a user who is not a Kubernetes administrator. Users of Red Hat OpenShift should review the [Red Hat OpenShift](OpenShift.md) page.
Expand Down
9 changes: 4 additions & 5 deletions docs/SplunkOperatorUpgrade.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# How to upgrade Splunk Operator and Splunk Enterprise Deployments

To upgrade the Splunk Operator for Kubernetes, you will overwrite the prior Operator release with the latest version. Once the lastest version of `splunk-operator-namespace.yaml` ([see below](#upgrading-splunk-operator-and-splunk-operator-deployment)) is applied the CRD's are updated and Operator deployment is updated with newer version of Splunk Operator image. Any new spec defined by the operator will be applied to the pods managed by Splunk Operator for Kubernetes.
To upgrade the Splunk Operator for Kubernetes, you will overwrite the prior Operator release with the latest version. Once the lastest version of `splunk-operator-namespace.yaml` ([see below](#upgrading-splunk-operator-and-splunk-operator-deployment)) is applied the CRD's are updated and Operator deployment is updated with newer version of Splunk Operator image. Any new spec defined by the operator will be applied to the pods managed by Splunk Operator for Kubernetes.
A Splunk Operator for Kubernetes upgrade might include support for a later version of the Splunk Enterprise Docker image. In that scenario, after the Splunk Operator completes its upgrade, the pods managed by Splunk Operator for Kubernetes will be restarted using the latest Splunk Enterprise Docker image.
Expand All @@ -12,7 +11,6 @@ A Splunk Operator for Kubernetes upgrade might include support for a later versi
* Before you upgrade, review the Splunk Operator [change log](https://github.com/splunk/splunk-operator/releases) page for information on changes made in the latest release. The Splunk Enterprise Docker image compatibility is noted in each release version.
* If the Splunk Enterprise Docker image changes, review the Splunk Enterprise [Upgrade Readme](https://docs.splunk.com/Documentation/Splunk/latest/Installation/AboutupgradingREADTHISFIRST) page before upgrading.
* If the Splunk Enterprise Docker image changes, review the Splunk Enterprise [Upgrade Readme](https://docs.splunk.com/Documentation/Splunk/latest/Installation/AboutupgradingREADTHISFIRST) page before upgrading.
* For general information about Splunk Enterprise compatibility and the upgrade process, see [How to upgrade Splunk Enterprise](https://docs.splunk.com/Documentation/Splunk/latest/Installation/HowtoupgradeSplunk).
Expand All @@ -27,7 +25,8 @@ A Splunk Operator for Kubernetes upgrade might include support for a later versi
1. Download the latest Splunk Operator installation yaml file.
```
wget -O splunk-operator-namespace.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.1/splunk-operator-namespace.yaml
wget -O splunk-operator-namespace.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.2/splunk-operator-namespace.yaml
```
2. (Optional) Review the file and update it with your specific customizations used during your install.
Expand Down Expand Up @@ -106,7 +105,7 @@ Edit `deployment` `splunk-operator-controller-manager-<podid>` in `splunk-operat
- name: WATCH_NAMESPACE
value: "splunk-operator"
- name: RELATED_IMAGE_SPLUNK_ENTERPRISE
value: splunk/splunk:9.0.3-a2
value: splunk/splunk:9.1.3
- name: OPERATOR_NAME
value: splunk-operator
- name: POD_NAME
Expand Down Expand Up @@ -141,7 +140,7 @@ To verify that a new Splunk Enterprise Docker image was applied to a pod, you ca
```bash
kubectl get pods splunk-<crname>-monitoring-console-0 -o yaml | grep -i image
image: splunk/splunk:9.0.3-a2
image: splunk/splunk:9.1.3
imagePullPolicy: IfNotPresent
```
## Splunk Enterprise Cluster upgrade example
Expand Down
Loading

0 comments on commit dafc9d3

Please sign in to comment.