Skip to content

Commit dafc9d3

Browse files
github-actions[bot]gaurav-splunkvivekr-splunktgarg-splunkakondur
authored
Promote Develop to main for Splunk Operator Release 2.5.2 (#1304)
* cspl-2505: add Pod Security standard to restricted (#1266) * add Pod Security standard to restricted * helm chart changes Signed-off-by: vivekr-splunk <vivekr@splunk.com> * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * added upgradepath to clustermanager Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * added upgradepath to all CR Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * Made changes in upgrade checks * somemore changes to fix test case for upgrade scenario Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * ignore tel app install in unit test Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * intermittent, changes Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed searchhead cluster,mc, lm, cm Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed test case Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * working test code for upgrade Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * unit test cases fixed Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * added comments to the new code Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed some test cases Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed some test cases Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * formatting changes Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * addressed review comments Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding this branch for int test pipeline Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr@splunk.com> * changed order first search and then index Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk <vivekr@splunk.com> * increasing to 10 min Signed-off-by: vivekr-splunk <vivekr@splunk.com> * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk <vivekr@splunk.com> * doc changes Signed-off-by: vivekr-splunk <vivekr@splunk.com> * just run m4 tests Signed-off-by: vivekr-splunk <vivekr@splunk.com> * just run c3 test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * enabled all the test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * fixed go libraries * increasing time to 7h for test * adding helm test * removed unused functions * adding comment --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk <vivekr@splunk.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding gp2 to helm test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk <vivekr@splunk.com> Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> * helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk <vivekr@splunk.com> --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr@splunk.com> * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * added upgradepath to clustermanager Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * added upgradepath to all CR Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * Made changes in upgrade checks * somemore changes to fix test case for upgrade scenario Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * ignore tel app install in unit test Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * intermittent, changes Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed searchhead cluster,mc, lm, cm Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed test case Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * working test code for upgrade Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * unit test cases fixed Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * added comments to the new code Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed some test cases Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed some test cases Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * formatting changes Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * addressed review comments Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding this branch for int test pipeline Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr@splunk.com> * changed order first search and then index Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk <vivekr@splunk.com> * increasing to 10 min Signed-off-by: vivekr-splunk <vivekr@splunk.com> * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk <vivekr@splunk.com> * doc changes Signed-off-by: vivekr-splunk <vivekr@splunk.com> * just run m4 tests Signed-off-by: vivekr-splunk <vivekr@splunk.com> * just run c3 test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * enabled all the test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * fixed go libraries * increasing time to 7h for test * adding helm test * removed unused functions * adding comment --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk <vivekr@splunk.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding gp2 to helm test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk <vivekr@splunk.com> Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> * helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk <vivekr@splunk.com> --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr@splunk.com> * setting splunk verion to 9.1.3 * removing unwanted file * removed unused files (#1276) * Update helm-test-workflow.yml --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Co-authored-by: gaurav-splunk <69282718+gaurav-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr@splunk.com> * change log date fixed (#1277) * Add documentation for WLM support (#1278) --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: gaurav-splunk <69282718+gaurav-splunk@users.noreply.github.com> Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> Co-authored-by: vivekr-splunk <vivekr-splunk@users.noreply.github.com> Co-authored-by: Arjun Kondur <69369319+akondur@users.noreply.github.com> * 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 <vivekr-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr@splunk.com> * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * added upgradepath to clustermanager Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * added upgradepath to all CR Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * Made changes in upgrade checks * somemore changes to fix test case for upgrade scenario Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * ignore tel app install in unit test Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * intermittent, changes Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed searchhead cluster,mc, lm, cm Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed test case Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * working test code for upgrade Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * unit test cases fixed Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * added comments to the new code Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed some test cases Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed some test cases Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * formatting changes Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * addressed review comments Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding this branch for int test pipeline Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr@splunk.com> * changed order first search and then index Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk <vivekr@splunk.com> * increasing to 10 min Signed-off-by: vivekr-splunk <vivekr@splunk.com> * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk <vivekr@splunk.com> * doc changes Signed-off-by: vivekr-splunk <vivekr@splunk.com> * just run m4 tests Signed-off-by: vivekr-splunk <vivekr@splunk.com> * just run c3 test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * enabled all the test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * fixed go libraries * increasing time to 7h for test * adding helm test * removed unused functions * adding comment --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk <vivekr@splunk.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding gp2 to helm test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk <vivekr@splunk.com> Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> * helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk <vivekr@splunk.com> --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr@splunk.com> * setting splunk verion to 9.1.3 * removing unwanted file * removed unused files (#1276) * Update helm-test-workflow.yml --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Co-authored-by: gaurav-splunk <69282718+gaurav-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr@splunk.com> * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * added upgradepath to clustermanager Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * added upgradepath to all CR Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * Made changes in upgrade checks * somemore changes to fix test case for upgrade scenario Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * ignore tel app install in unit test Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * intermittent, changes Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed searchhead cluster,mc, lm, cm Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed test case Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * working test code for upgrade Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * unit test cases fixed Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * added comments to the new code Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed some test cases Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed some test cases Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * formatting changes Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * addressed review comments Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding this branch for int test pipeline Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr@splunk.com> * changed order first search and then index Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk <vivekr@splunk.com> * increasing to 10 min Signed-off-by: vivekr-splunk <vivekr@splunk.com> * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk <vivekr@splunk.com> * doc changes Signed-off-by: vivekr-splunk <vivekr@splunk.com> * just run m4 tests Signed-off-by: vivekr-splunk <vivekr@splunk.com> * just run c3 test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * enabled all the test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * fixed go libraries * increasing time to 7h for test * adding helm test * removed unused functions * adding comment --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk <vivekr@splunk.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding gp2 to helm test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk <vivekr@splunk.com> Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> * helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk <vivekr@splunk.com> --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr@splunk.com> * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * added upgradepath to clustermanager Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * added upgradepath to all CR Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * Made changes in upgrade checks * somemore changes to fix test case for upgrade scenario Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * ignore tel app install in unit test Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * intermittent, changes Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed searchhead cluster,mc, lm, cm Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed test case Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * working test code for upgrade Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * unit test cases fixed Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * added comments to the new code Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed some test cases Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed some test cases Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * formatting changes Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * addressed review comments Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding this branch for int test pipeline Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr@splunk.com> * changed order first search and then index Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk <vivekr@splunk.com> * increasing to 10 min Signed-off-by: vivekr-splunk <vivekr@splunk.com> * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk <vivekr@splunk.com> * doc changes Signed-off-by: vivekr-splunk <vivekr@splunk.com> * just run m4 tests Signed-off-by: vivekr-splunk <vivekr@splunk.com> * just run c3 test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * enabled all the test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * fixed go libraries * increasing time to 7h for test * adding helm test * removed unused functions * adding comment --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk <vivekr@splunk.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding gp2 to helm test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk <vivekr@splunk.com> Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> * helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk <vivekr@splunk.com> --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr@splunk.com> * setting splunk verion to 9.1.3 * removing unwanted file * removed unused files (#1276) * Update helm-test-workflow.yml --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Co-authored-by: gaurav-splunk <69282718+gaurav-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr@splunk.com> * change log date fixed (#1277) * Add documentation for WLM support (#1278) --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: gaurav-splunk <69282718+gaurav-splunk@users.noreply.github.com> Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> Co-authored-by: vivekr-splunk <vivekr-splunk@users.noreply.github.com> Co-authored-by: Arjun Kondur <69369319+akondur@users.noreply.github.com> * 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 <vivekr-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr@splunk.com> * fixed release date * fixed helm changes * fixed doc changes --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Co-authored-by: gaurav-splunk <69282718+gaurav-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr@splunk.com> Co-authored-by: Arjun Kondur <69369319+akondur@users.noreply.github.com> --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: gaurav-splunk <69282718+gaurav-splunk@users.noreply.github.com> Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> Co-authored-by: vivekr-splunk <vivekr-splunk@users.noreply.github.com> Co-authored-by: Arjun Kondur <69369319+akondur@users.noreply.github.com> * 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 <vivekr-splunk@users.noreply.github.com> Co-authored-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr@splunk.com> * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * 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 <94569031+vivekr-splunk@users.noreply.github.com> * added upgradepath to clustermanager Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * added upgradepath to all CR Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * Made changes in upgrade checks * somemore changes to fix test case for upgrade scenario Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * ignore tel app install in unit test Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * intermittent, changes Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed searchhead cluster,mc, lm, cm Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed test case Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * working test code for upgrade Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * unit test cases fixed Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * added comments to the new code Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed some test cases Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * fixed some test cases Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * formatting changes Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> * addressed review comments Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * changing go to 1.21 Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding this branch for int test pipeline Signed-off-by: vivekr-splunk <vivekr@splunk.com> * 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 <vivekr@splunk.com> * changed order first search and then index Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk <vivekr@splunk.com> * increasing to 10 min Signed-off-by: vivekr-splunk <vivekr@splunk.com> * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk <vivekr@splunk.com> * doc changes Signed-off-by: vivekr-splunk <vivekr@splunk.com> * just run m4 tests Signed-off-by: vivekr-splunk <vivekr@splunk.com> * just run c3 test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * enabled all the test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * fixed go libraries * increasing time to 7h for test * adding helm test * removed unused functions * adding comment --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk <vivekr@splunk.com> Co-authored-by: Tanya Garg <tgarg@splunk.com> * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk <vivekr@splunk.com> * adding gp2 to helm test Signed-off-by: vivekr-splunk <vivekr@splunk.com> * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk <vivekr@splunk.com> Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users…
1 parent 751148c commit dafc9d3

24 files changed

+146
-73
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To re-generate a bundle for another specific version without changing the standard setup, you can:
44
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
6-
VERSION ?= 2.5.0
6+
VERSION ?= 2.5.2
77

88
# SPLUNK_ENTERPRISE_IMAGE defines the splunk docker tag that is used as default image.
99
SPLUNK_ENTERPRISE_IMAGE ?= "docker.io/splunk/splunk:edge"

bundle/manifests/splunk-operator.clusterserviceversion.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ metadata:
111111
capabilities: Seamless Upgrades
112112
categories: Big Data, Logging & Tracing, Monitoring, Security, AI/Machine Learning
113113
containerImage: splunk/splunk-operator@sha256:c4e0d314622699496f675760aad314520d050a66627fdf33e1e21fa28ca85d50
114-
createdAt: "2024-02-20T18:45:06Z"
114+
createdAt: "2024-02-29T18:47:11Z"
115115
description: The Splunk Operator for Kubernetes enables you to quickly and easily
116116
deploy Splunk Enterprise on your choice of private or public cloud provider.
117117
The Operator simplifies scaling and management of Splunk Enterprise by automating
@@ -120,7 +120,7 @@ metadata:
120120
operators.operatorframework.io/builder: operator-sdk-v1.31.0
121121
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
122122
repository: https://github.com/splunk/splunk-operator
123-
name: splunk-operator.v2.5.1
123+
name: splunk-operator.v2.5.2
124124
namespace: placeholder
125125
spec:
126126
apiservicedefinitions: {}
@@ -815,7 +815,7 @@ spec:
815815
valueFrom:
816816
fieldRef:
817817
fieldPath: metadata.name
818-
image: docker.io/splunk/splunk-operator:2.5.1
818+
image: docker.io/splunk/splunk-operator:2.5.2
819819
imagePullPolicy: Always
820820
livenessProbe:
821821
httpGet:
@@ -929,5 +929,5 @@ spec:
929929
relatedImages:
930930
- image: docker.io/splunk/splunk:9.1.3
931931
name: splunk-enterprise
932-
replaces: splunk-operator.v2.5.0
933-
version: 2.5.1
932+
replaces: splunk-operator.v2.5.1
933+
version: 2.5.2

config/manager/kustomization.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ kind: Kustomization
1717
images:
1818
- name: controller
1919
newName: docker.io/splunk/splunk-operator
20-
newTag: 2.5.1
20+
newTag: 2.5.2
21+

config/manifests/bases/splunk-operator.clusterserviceversion.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ metadata:
1212
administrative workflows using Kubernetes best practices.
1313
olm.properties: '[{"type": "olm.maxOpenShiftVersion", "value": "4.9"}]'
1414
repository: https://github.com/splunk/splunk-operator
15-
name: splunk-operator.v2.5.1
15+
name: splunk-operator.v2.5.2
1616
namespace: placeholder
1717
spec:
1818
apiservicedefinitions: {}
@@ -274,5 +274,6 @@ spec:
274274
provider:
275275
name: Splunk Inc.
276276
url: www.splunk.com
277-
replaces: splunk-operator.v2.5.0
278-
version: 2.5.1
277+
replaces: splunk-operator.v2.5.1
278+
version: 2.5.2
279+

docs/AppFramework.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ spec:
542542
serviceAccountName: splunk-operator
543543
containers:
544544
- name: splunk-operator
545-
image: "docker.io/splunk/splunk-operator:2.5.1"
545+
image: "docker.io/splunk/splunk-operator:2.5.2"
546546
volumeMounts:
547547
- mountPath: /opt/splunk/appframework/
548548
name: app-staging
@@ -559,7 +559,7 @@ spec:
559559
- name: OPERATOR_NAME
560560
value: "splunk-operator"
561561
- name: RELATED_IMAGE_SPLUNK_ENTERPRISE
562-
value: "docker.io/splunk/splunk:9.0.3-a2"
562+
value: "docker.io/splunk/splunk:9.1.3"
563563
564564
volumes:
565565
- name: app-staging

docs/ChangeLog.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Splunk Operator for Kubernetes Change Log
22

3+
## 2.5.2 (2024-02-28)
4+
5+
CSPL-2535 security context for init container not set (#1290)
6+
7+
### Supported Splunk Version
8+
>| Splunk Version|
9+
>| --- |
10+
>| 9.0.8 |
11+
>| 9.1.3 |
12+
13+
### Supported Kubernetes Version
14+
>| Kubernetes Version|
15+
>| --- |
16+
>| 1.25+ |
17+
318
## 2.5.1 (2024-02-20)
419

520
CSPL-2532: fix for leader election lost issue (#1281)

docs/Helm.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ There are a couple ways you can configure your operator deployment
3535

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

4141
2. Using the Helm CLI directly to set new values
@@ -46,7 +46,7 @@ helm install --set <KEY>=<VALUE> <RELEASE_NAME> splunk/splunk-operator -n <RELEA
4646
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.
4747

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

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

7575
By default, the Splunk Operator has cluster-wide access. Let's upgrade the ```splunk-operator-test``` release by revoking cluster-wide access:
7676
```
77-
helm upgrade --set splunkOperator.clusterWideAccess=false splunk-operator-test splunk/splunk-operator -n splunk-operator
77+
helm upgrade --set splunkOperator.clusterWideAccess=false --set installCRDs=true splunk-operator-test splunk/splunk-operator -n splunk-operator
7878
```
7979
```
8080
NAME: splunk-operator-test
@@ -100,7 +100,7 @@ helm dependency build splunk/splunk-enterprise
100100
```
101101
If the operator is already installed then you will need to disable the dependency:
102102
```
103-
helm install --set splunk-operator.enabled=false <RELEASE_NAME> splunk/splunk-enterprise -n <RELEASE_NAMESPACE>
103+
helm install --set splunk-operator.enabled=false --set installCRDs=true <RELEASE_NAME> splunk/splunk-enterprise -n <RELEASE_NAMESPACE>
104104
```
105105
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.
106106

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

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

167167
Install a Standalone deployment using the following command:
168168
```
169-
helm install --set s1.enabled=true <RELEASE_NAME> splunk/splunk-enterprise -n <RELEASE_NAMESPACE>
169+
helm install --set s1.enabled=true --set installCRDs=true <RELEASE_NAME> splunk/splunk-enterprise -n <RELEASE_NAMESPACE>
170170
```
171171
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).

docs/Install.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
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.
88

99
```
10-
wget -O splunk-operator-cluster.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.1/splunk-operator-cluster.yaml
10+
wget -O splunk-operator-cluster.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.2/splunk-operator-cluster.yaml
1111
```
1212

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

1919
```
20-
wget -O splunk-operator-cluster.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.1/splunk-operator-cluster.yaml
20+
wget -O splunk-operator-cluster.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.2/splunk-operator-cluster.yaml
2121
kubectl apply -f splunk-operator-cluster.yaml
2222
```
2323

@@ -31,7 +31,7 @@ If Splunk Operator is installed clusterwide and user wants to manage multiple na
3131
- name: WATCH_NAMESPACE
3232
value: "namespace1,namespace2"
3333
- name: RELATED_IMAGE_SPLUNK_ENTERPRISE
34-
value: splunk/splunk:9.0.3-a2
34+
value: splunk/splunk:9.1.3
3535
- name: OPERATOR_NAME
3636
value: splunk-operator
3737
- name: POD_NAME
@@ -44,10 +44,10 @@ If Splunk Operator is installed clusterwide and user wants to manage multiple na
4444

4545
## Install operator to watch single namespace with restrictive permission
4646

47-
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
47+
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
4848

4949
```
50-
wget -O splunk-operator-namespace.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.1/splunk-operator-namespace.yaml
50+
wget -O splunk-operator-namespace.yaml https://github.com/splunk/splunk-operator/releases/download/2.5.2/splunk-operator-namespace.yaml
5151
kubectl apply -f splunk-operator-namespace.yaml
5252
```
5353

@@ -68,7 +68,7 @@ If you are using a private registry for the Docker images, edit `deployment` `sp
6868
- name: WATCH_NAMESPACE
6969
value: "namespace1,namespace2"
7070
- name: RELATED_IMAGE_SPLUNK_ENTERPRISE
71-
value: splunk/splunk:9.0.3-a2
71+
value: splunk/splunk:9.1.3
7272
- name: OPERATOR_NAME
7373
value: splunk-operator
7474
- name: POD_NAME

docs/MultisiteExamples.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Limitation: all the IndexerCluster resources must be located in the same namespa
4545

4646
#### Deploy the cluster-manager
4747

48-
Note:
48+
Note:
4949
* The image version is defined in these resources as this allows to control the upgrade cycle
5050
* 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)
5151

@@ -148,7 +148,7 @@ metadata:
148148
- enterprise.splunk.com/delete-pvc
149149
spec:
150150
replicas: 3
151-
image: "splunk/splunk:9.0.3-a2"
151+
image: "splunk/splunk:9.1.3"
152152
clusterManagerRef:
153153
name: example
154154
defaults: |-
@@ -157,4 +157,3 @@ spec:
157157
site: site0
158158
EOF
159159
```
160-

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ For production environments, we are requiring the use of Splunk SmartStore. As a
113113

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

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

124124
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.

0 commit comments

Comments
 (0)