From 6c21c7082abfdd90b414686f25856cff1f81b9a9 Mon Sep 17 00:00:00 2001 From: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Date: Thu, 20 Jun 2024 14:20:03 -0700 Subject: [PATCH 1/2] Merge main to develop (#1342) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk * 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 * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * adding this branch for int test pipeline Signed-off-by: vivekr-splunk * 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 * changed order first search and then index Signed-off-by: vivekr-splunk * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk * increasing to 10 min Signed-off-by: vivekr-splunk * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk * doc changes Signed-off-by: vivekr-splunk * just run m4 tests Signed-off-by: vivekr-splunk * just run c3 test Signed-off-by: vivekr-splunk * enabled all the test Signed-off-by: vivekr-splunk * 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 Co-authored-by: Tanya Garg * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk * adding gp2 to helm test Signed-off-by: vivekr-splunk * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg * helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk --------- Signed-off-by: vivekr-splunk * 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 Co-authored-by: vivekr-splunk * setting splunk verion to 9.1.3 * removing unwanted file * removed unused files (#1276) * Update helm-test-workflow.yml --------- Signed-off-by: vivekr-splunk 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 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: vivekr-splunk Co-authored-by: vivekr-splunk * 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 * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk * 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 * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * adding this branch for int test pipeline Signed-off-by: vivekr-splunk * 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 * changed order first search and then index Signed-off-by: vivekr-splunk * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk * increasing to 10 min Signed-off-by: vivekr-splunk * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk * doc changes Signed-off-by: vivekr-splunk * just run m4 tests Signed-off-by: vivekr-splunk * just run c3 test Signed-off-by: vivekr-splunk * enabled all the test Signed-off-by: vivekr-splunk * 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 Co-authored-by: Tanya Garg * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk * adding gp2 to helm test Signed-off-by: vivekr-splunk * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg * helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk --------- Signed-off-by: vivekr-splunk * 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 Co-authored-by: vivekr-splunk * 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 * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk * 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 * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * adding this branch for int test pipeline Signed-off-by: vivekr-splunk * 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 * changed order first search and then index Signed-off-by: vivekr-splunk * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk * increasing to 10 min Signed-off-by: vivekr-splunk * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk * doc changes Signed-off-by: vivekr-splunk * just run m4 tests Signed-off-by: vivekr-splunk * just run c3 test Signed-off-by: vivekr-splunk * enabled all the test Signed-off-by: vivekr-splunk * 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 Co-authored-by: Tanya Garg * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk * adding gp2 to helm test Signed-off-by: vivekr-splunk * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg * helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk --------- Signed-off-by: vivekr-splunk * 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 Co-authored-by: vivekr-splunk * setting splunk verion to 9.1.3 * removing unwanted file * removed unused files (#1276) * Update helm-test-workflow.yml --------- Signed-off-by: vivekr-splunk 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 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: vivekr-splunk Co-authored-by: vivekr-splunk * change log date fixed (#1277) * Add documentation for WLM support (#1278) --------- Signed-off-by: vivekr-splunk 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 Co-authored-by: vivekr-splunk 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 Co-authored-by: vivekr-splunk * fixed release date * fixed helm changes * fixed doc changes --------- Signed-off-by: vivekr-splunk 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 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: vivekr-splunk Co-authored-by: vivekr-splunk Co-authored-by: Arjun Kondur <69369319+akondur@users.noreply.github.com> * 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 * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk * 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 * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * adding this branch for int test pipeline Signed-off-by: vivekr-splunk * 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 * changed order first search and then index Signed-off-by: vivekr-splunk * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk * increasing to 10 min Signed-off-by: vivekr-splunk * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk * doc changes Signed-off-by: vivekr-splunk * just run m4 tests Signed-off-by: vivekr-splunk * just run c3 test Signed-off-by: vivekr-splunk * enabled all the test Signed-off-by: vivekr-splunk * 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 Co-authored-by: Tanya Garg * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk * adding gp2 to helm test Signed-off-by: vivekr-splunk * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg * helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk --------- Signed-off-by: vivekr-splunk * 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 Co-authored-by: vivekr-splunk * 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 * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk * 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 * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * adding this branch for int test pipeline Signed-off-by: vivekr-splunk * 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 * changed order first search and then index Signed-off-by: vivekr-splunk * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk * increasing to 10 min Signed-off-by: vivekr-splunk * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk * doc changes Signed-off-by: vivekr-splunk * just run m4 tests Signed-off-by: vivekr-splunk * just run c3 test Signed-off-by: vivekr-splunk * enabled all the test Signed-off-by: vivekr-splunk * 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 Co-authored-by: Tanya Garg * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk * adding gp2 to helm test Signed-off-by: vivekr-splunk * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg * helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk --------- Signed-off-by: vivekr-splunk * 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 Co-authored-by: vivekr-splunk * setting splunk verion to 9.1.3 * removing unwanted file * removed unused files (#1276) * Update helm-test-workflow.yml --------- Signed-off-by: vivekr-splunk 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 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: vivekr-splunk Co-authored-by: vivekr-splunk * change log date fixed (#1277) * Add documentation for WLM support (#1278) --------- Signed-off-by: vivekr-splunk 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 Co-authored-by: vivekr-splunk 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 Co-authored-by: vivekr-splunk * 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 * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk * 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 * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * adding this branch for int test pipeline Signed-off-by: vivekr-splunk * 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 * changed order first search and then index Signed-off-by: vivekr-splunk * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk * increasing to 10 min Signed-off-by: vivekr-splunk * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk * doc changes Signed-off-by: vivekr-splunk * just run m4 tests Signed-off-by: vivekr-splunk * just run c3 test Signed-off-by: vivekr-splunk * enabled all the test Signed-off-by: vivekr-splunk * 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 Co-authored-by: Tanya Garg * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk * adding gp2 to helm test Signed-off-by: vivekr-splunk * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg * helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk --------- Signed-off-by: vivekr-splunk * 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 Co-authored-by: vivekr-splunk * setting splunk verion to 9.1.3 * removing unwanted file * removed unused files (#1276) * Update helm-test-workflow.yml --------- Signed-off-by: vivekr-splunk 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 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: vivekr-splunk Co-authored-by: vivekr-splunk * 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 * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk * 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 * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * adding this branch for int test pipeline Signed-off-by: vivekr-splunk * 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 * changed order first search and then index Signed-off-by: vivekr-splunk * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk * increasing to 10 min Signed-off-by: vivekr-splunk * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk * doc changes Signed-off-by: vivekr-splunk * just run m4 tests Signed-off-by: vivekr-splunk * just run c3 test Signed-off-by: vivekr-splunk * enabled all the test Signed-off-by: vivekr-splunk * 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 Co-authored-by: Tanya Garg * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk * adding gp2 to helm test Signed-off-by: vivekr-splunk * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg * helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk --------- Signed-off-by: vivekr-splunk * 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 Co-authored-by: vivekr-splunk * 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 * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk * 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 * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * adding this branch for int test pipeline Signed-off-by: vivekr-splunk * 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 * changed order first search and then index Signed-off-by: vivekr-splunk * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk * increasing to 10 min Signed-off-by: vivekr-splunk * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk * doc changes Signed-off-by: vivekr-splunk * just run m4 tests Signed-off-by: vivekr-splunk * just run c3 test Signed-off-by: vivekr-splunk * enabled all the test Signed-off-by: vivekr-splunk * 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 Co-authored-by: Tanya Garg * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk * adding gp2 to helm test Signed-off-by: vivekr-splunk * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users.noreply.github.com> Co-authored-by: Tanya Garg * helm test case fix (#1270) * fixed c3 test case * adding helm test * fixed c3 with operator test case Signed-off-by: vivekr-splunk --------- Signed-off-by: vivekr-splunk * 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 Co-authored-by: vivekr-splunk * setting splunk verion to 9.1.3 * removing unwanted file * removed unused files (#1276) * Update helm-test-workflow.yml --------- Signed-off-by: vivekr-splunk 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 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: vivekr-splunk Co-authored-by: vivekr-splunk * change log date fixed (#1277) * Add documentation for WLM support (#1278) --------- Signed-off-by: vivekr-splunk 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 Co-authored-by: vivekr-splunk 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 Co-authored-by: vivekr-splunk * fixed release date * fixed helm changes * fixed doc changes --------- Signed-off-by: vivekr-splunk 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 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: vivekr-splunk Co-authored-by: vivekr-splunk Co-authored-by: Arjun Kondur <69369319+akondur@users.noreply.github.com> --------- Signed-off-by: vivekr-splunk 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 Co-authored-by: vivekr-splunk 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 Co-authored-by: vivekr-splunk * 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 * helm chart packages for 2.5 * removed secret --------- Signed-off-by: vivekr-splunk * 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 * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * changing go to 1.21 Signed-off-by: vivekr-splunk * adding this branch for int test pipeline Signed-off-by: vivekr-splunk * 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 * changed order first search and then index Signed-off-by: vivekr-splunk * adding back kind name in controller * adding more timeout Signed-off-by: vivekr-splunk * increasing to 10 min Signed-off-by: vivekr-splunk * increasing overall test run to 6 hours Signed-off-by: vivekr-splunk * doc changes Signed-off-by: vivekr-splunk * just run m4 tests Signed-off-by: vivekr-splunk * just run c3 test Signed-off-by: vivekr-splunk * enabled all the test Signed-off-by: vivekr-splunk * 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 Co-authored-by: Tanya Garg * fixed test case * fixed helm test cases * fixed helm test case Signed-off-by: vivekr-splunk * adding gp2 to helm test Signed-off-by: vivekr-splunk * fixed topologyspread constraint test case --------- Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: vivekr-splunk Co-authored-by: tgarg-splunk <134556414+tgarg-splunk@users… --------- Signed-off-by: vivekr-splunk Signed-off-by: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Signed-off-by: Vivek Reddy 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 Co-authored-by: vivekr-splunk Co-authored-by: Arjun Kondur <69369319+akondur@users.noreply.github.com> Co-authored-by: Arjun Kondur --- docs/index.yaml | 38 +++++++++++++-------------- go.sum | 37 ++++++++++++-------------- helm-chart/splunk-operator/Chart.yaml | 2 +- 3 files changed, 37 insertions(+), 40 deletions(-) diff --git a/docs/index.yaml b/docs/index.yaml index 4ad180bab..cbb2886ab 100644 --- a/docs/index.yaml +++ b/docs/index.yaml @@ -3,14 +3,14 @@ entries: splunk-enterprise: - apiVersion: v2 appVersion: 2.5.2 - created: "2024-02-29T11:04:35.96595-08:00" + created: "2024-03-04T09:18:42.035714-08:00" dependencies: - condition: splunk-operator.enabled name: splunk-operator repository: file://splunk-operator/helm-chart/splunk-operator version: 2.5.2 description: A Helm chart for Splunk Enterprise managed by the Splunk Operator - digest: acedc2849dcf07f480d3fbcc61da4cdcd2dfa647286ee530f1a7a005f1a95d48 + digest: cab28a71e69ba47f4af5fdccd57cac908ae122af1e195dfbd15479b23509d4de maintainers: - email: vivekr@splunk.com name: Vivek Reddy @@ -23,7 +23,7 @@ entries: version: 2.5.2 - apiVersion: v2 appVersion: 2.5.1 - created: "2024-02-29T11:04:35.751907-08:00" + created: "2024-03-04T09:18:41.965645-08:00" dependencies: - condition: splunk-operator.enabled name: splunk-operator @@ -43,7 +43,7 @@ entries: version: 2.5.1 - apiVersion: v2 appVersion: 2.5.0 - created: "2024-02-29T11:04:35.550092-08:00" + created: "2024-03-04T09:18:41.90141-08:00" dependencies: - condition: splunk-operator.enabled name: splunk-operator @@ -63,7 +63,7 @@ entries: version: 2.5.0 - apiVersion: v2 appVersion: 2.4.0 - created: "2024-02-29T11:04:35.418818-08:00" + created: "2024-03-04T09:18:41.85593-08:00" dependencies: - condition: splunk-operator.enabled name: splunk-operator @@ -85,7 +85,7 @@ entries: version: 2.4.0 - apiVersion: v2 appVersion: 2.3.0 - created: "2024-02-29T11:04:35.327593-08:00" + created: "2024-03-04T09:18:41.826004-08:00" dependencies: - condition: splunk-operator.enabled name: splunk-operator @@ -107,7 +107,7 @@ entries: version: 2.3.0 - apiVersion: v2 appVersion: 2.2.1 - created: "2024-02-29T11:04:35.278896-08:00" + created: "2024-03-04T09:18:41.811044-08:00" dependencies: - condition: splunk-operator.enabled name: splunk-operator @@ -122,7 +122,7 @@ entries: version: 2.2.1 - apiVersion: v2 appVersion: 2.2.0 - created: "2024-02-29T11:04:35.231474-08:00" + created: "2024-03-04T09:18:41.795166-08:00" dependencies: - condition: splunk-operator.enabled name: splunk-operator @@ -137,7 +137,7 @@ entries: version: 2.2.0 - apiVersion: v2 appVersion: 2.1.0 - created: "2024-02-29T11:04:35.143211-08:00" + created: "2024-03-04T09:18:41.769077-08:00" dependencies: - condition: splunk-operator.enabled name: splunk-operator @@ -153,9 +153,9 @@ entries: splunk-operator: - apiVersion: v2 appVersion: 2.5.2 - created: "2024-02-29T11:04:36.292954-08:00" + created: "2024-03-04T09:18:42.148904-08:00" description: A Helm chart for the Splunk Operator for Kubernetes - digest: 7ab3e92f9f9f0a964294b95bf32066edb1b6d5375cd59099c9525f3ca733327a + digest: 5b5ba3544203b99dcc15c8e55bf7f01eabae197ab40e3cbcccf1304a85b6fbc9 maintainers: - email: vivekr@splunk.com name: Vivek Reddy @@ -168,7 +168,7 @@ entries: version: 2.5.2 - apiVersion: v2 appVersion: 2.5.1 - created: "2024-02-29T11:04:36.253326-08:00" + created: "2024-03-04T09:18:42.135688-08:00" description: A Helm chart for the Splunk Operator for Kubernetes digest: 5c90889e175bbfc79cbb7f83bf213de43a46c4d688574d04ff82aa16dcd8681a maintainers: @@ -183,7 +183,7 @@ entries: version: 2.5.1 - apiVersion: v2 appVersion: 2.5.0 - created: "2024-02-29T11:04:36.210826-08:00" + created: "2024-03-04T09:18:42.120406-08:00" description: A Helm chart for the Splunk Operator for Kubernetes digest: ed93f8fac421f92cfdbfd043ec27911a07ec7db2c05b4efc3137cef4f2bfca4a maintainers: @@ -198,7 +198,7 @@ entries: version: 2.5.0 - apiVersion: v2 appVersion: 2.4.0 - created: "2024-02-29T11:04:36.168828-08:00" + created: "2024-03-04T09:18:42.105819-08:00" description: A Helm chart for the Splunk Operator for Kubernetes digest: 9d0377747e46df4bf4b9dbd447c9ff46c926bfe2c66fd07d6d27a61abb31cb42 maintainers: @@ -215,7 +215,7 @@ entries: version: 2.4.0 - apiVersion: v2 appVersion: 2.3.0 - created: "2024-02-29T11:04:36.127792-08:00" + created: "2024-03-04T09:18:42.091571-08:00" description: A Helm chart for the Splunk Operator for Kubernetes digest: 23e70ec4059bc92920d7d3adce3bff6b8aba0d5eb5d4c0efe225bf3b88d5b274 maintainers: @@ -232,7 +232,7 @@ entries: version: 2.3.0 - apiVersion: v2 appVersion: 2.2.1 - created: "2024-02-29T11:04:36.084283-08:00" + created: "2024-03-04T09:18:42.076178-08:00" description: A Helm chart for the Splunk Operator for Kubernetes digest: 8868b9ae2ebde0c667b13c97d71d904a31b5a9f2c803b199bc77324f1727e1fd name: splunk-operator @@ -242,7 +242,7 @@ entries: version: 2.2.1 - apiVersion: v2 appVersion: 2.2.0 - created: "2024-02-29T11:04:36.043345-08:00" + created: "2024-03-04T09:18:42.062432-08:00" description: A Helm chart for the Splunk Operator for Kubernetes digest: 49c72276bd7ff93465b0545d8b0814f684cade7d2cd191b6d73d4c3660bd1fb4 name: splunk-operator @@ -252,7 +252,7 @@ entries: version: 2.2.0 - apiVersion: v2 appVersion: 2.1.0 - created: "2024-02-29T11:04:36.00884-08:00" + created: "2024-03-04T09:18:42.049543-08:00" description: A Helm chart for the Splunk Operator for Kubernetes digest: 34e5463f8f5442655d05cb616b50391b738a0827b30d8440b4c7fce99a291d9a name: splunk-operator @@ -260,4 +260,4 @@ entries: urls: - https://splunk.github.io/splunk-operator/splunk-operator-1.0.0.tgz version: 1.0.0 -generated: "2024-02-29T11:04:35.08619-08:00" +generated: "2024-03-04T09:18:41.752678-08:00" diff --git a/go.sum b/go.sum index 655c4088e..a6a426e5c 100644 --- a/go.sum +++ b/go.sum @@ -40,6 +40,7 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/aws/aws-sdk-go v1.42.16 h1:jOUmYYpC77NZYQVHTOTFT4lwFBT1u3s8ETKciU4l6gQ= github.com/aws/aws-sdk-go v1.42.16/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q= github.com/bahlo/generic-list-go v0.2.0 h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPnH1Wvgk= @@ -96,10 +97,8 @@ github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= -github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= -github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/zapr v1.2.3 h1:a9vnzlIBPQBBkeaR9IuMUfmVOrQlkoC4YfPoFkX3T7A= github.com/go-logr/zapr v1.2.3/go.mod h1:eIauM6P8qSvTw5o2ez6UEAfGjQKrxQTl5EoK+Qa2oG4= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= @@ -259,14 +258,12 @@ github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRW github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/onsi/ginkgo/v2 v2.15.0 h1:79HwNRBAZHOEwrczrgSOPy+eFTTlIGELKy5as+ClttY= -github.com/onsi/ginkgo/v2 v2.15.0/go.mod h1:HlxMHtYF57y6Dpf+mc5529KKmSq9h2FpCF+/ZkwUxKM= -github.com/onsi/ginkgo/v2 v2.17.2 h1:7eMhcy3GimbsA3hEnVKdw/PQM9XN9krpKVXsZdph0/g= -github.com/onsi/ginkgo/v2 v2.17.2/go.mod h1:nP2DPOQoNsQmsVyv5rDA8JkXQoCs6goXIvr/PRJ1eCc= -github.com/onsi/gomega v1.31.1 h1:KYppCUK+bUgAZwHOu7EXVBKyQA6ILvOESHkn/tgoqvo= -github.com/onsi/gomega v1.31.1/go.mod h1:y40C95dwAD1Nz36SsEnxvfFe8FFfNxzI5eJ0EYGyAy0= -github.com/onsi/gomega v1.33.0 h1:snPCflnZrpMsy94p4lXVEkHo12lmPnc3vY5XBbreexE= -github.com/onsi/gomega v1.33.0/go.mod h1:+925n5YtiFsLzzafLUHzVMBpvvRAzrydIBiSIxjX3wY= +github.com/onsi/ginkgo/v2 v2.11.0 h1:WgqUCUt/lT6yXoQ8Wef0fsNn5cAuMK7+KT9UFRz2tcU= +github.com/onsi/ginkgo/v2 v2.11.0/go.mod h1:ZhrRA5XmEE3x3rhlzamx/JJvujdZoJ2uvgI7kR0iZvM= +github.com/onsi/ginkgo/v2 v2.12.1 h1:uHNEO1RP2SpuZApSkel9nEh1/Mu+hmQe7Q+Pepg5OYA= +github.com/onsi/ginkgo/v2 v2.12.1/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xlT/ETL/o= +github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= +github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= @@ -443,10 +440,10 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= -golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= +golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0 h1:n2a8QNdAb0sZNpU9R1ALUXBbY+w51fCQDN+7EdxNBsY= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= @@ -510,10 +507,10 @@ golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.16.1 h1:TLyB3WofjdOEepBHAU20JdNC1Zbg87elYofWYAY5oZA= -golang.org/x/tools v0.16.1/go.mod h1:kYVVN6I1mBNoB1OX+noeBjbRk4IUEPa7JJ+TJMEooJ0= -golang.org/x/tools v0.20.0 h1:hz/CVckiOxybQvFw6h7b/q80NTr9IUQb4s1IIzW7KNY= -golang.org/x/tools v0.20.0/go.mod h1:WvitBU7JJf6A4jOdg4S1tviW9bhUxkgeCui/0JHctQg= +golang.org/x/tools v0.9.3 h1:Gn1I8+64MsuTb/HpH+LmQtNas23LhUVr3rYZ0eKuaMM= +golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= +golang.org/x/tools v0.12.0 h1:YW6HUoUmYBpwSgyaGaZq1fHjrBjX1rlpZ54T6mu2kss= +golang.org/x/tools v0.12.0/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/helm-chart/splunk-operator/Chart.yaml b/helm-chart/splunk-operator/Chart.yaml index e5cce13c6..e232543e5 100644 --- a/helm-chart/splunk-operator/Chart.yaml +++ b/helm-chart/splunk-operator/Chart.yaml @@ -25,4 +25,4 @@ version: "2.5.2" # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "2.5.2" \ No newline at end of file +appVersion: "2.5.2" From cf9c3e86d4f5dd28e2f1b2992cb5e20b4a345949 Mon Sep 17 00:00:00 2001 From: vivekr-splunk <94569031+vivekr-splunk@users.noreply.github.com> Date: Fri, 21 Jun 2024 11:18:51 -0700 Subject: [PATCH 2/2] CSPL-2710: replace clair with trivy for security scanning (#1341) * adding support for trivy Signed-off-by: Vivek Reddy * commenting unittest Signed-off-by: Vivek Reddy * remove coverage file Signed-off-by: Vivek Reddy * disable code coverage Signed-off-by: Vivek Reddy * disable code coverage Signed-off-by: Vivek Reddy * testing with 2.5.2 Signed-off-by: Vivek Reddy * testing with double quotes Signed-off-by: Vivek Reddy * adding new section Signed-off-by: Vivek Reddy * chaging to use github sha Signed-off-by: Vivek Reddy * added image pull Signed-off-by: Vivek Reddy * adding report Signed-off-by: Vivek Reddy * adding aws credentials Signed-off-by: Vivek Reddy * changed report to table Signed-off-by: Vivek Reddy * changed to sarif Signed-off-by: Vivek Reddy * updated go mod * updated to use fs type * updated to use sarif with template * adding go mod changes Signed-off-by: Vivek Reddy * adding permissions Signed-off-by: Vivek Reddy * adding trivy and removed clair Signed-off-by: Vivek Reddy * uncommented test Signed-off-by: Vivek Reddy * uncommented test Signed-off-by: Vivek Reddy * adding latest sarif Signed-off-by: Vivek Reddy * remove old net and crypto version Signed-off-by: Vivek Reddy --------- Signed-off-by: Vivek Reddy --- .../workflows/build-test-push-workflow.yml | 31 +++-- go.mod | 24 ++-- go.sum | 115 ++++++++++-------- 3 files changed, 95 insertions(+), 75 deletions(-) diff --git a/.github/workflows/build-test-push-workflow.yml b/.github/workflows/build-test-push-workflow.yml index f87fc8635..d954b1314 100644 --- a/.github/workflows/build-test-push-workflow.yml +++ b/.github/workflows/build-test-push-workflow.yml @@ -90,8 +90,12 @@ jobs: - name: Push Splunk Operator Image to ECR run: | echo "Uploading Image to ECR:: ${{ env.SPLUNK_OPERATOR_IMAGE_NAME }}:$GITHUB_SHA" - make docker-push IMG=${{ secrets.ECR_REPOSITORY }}/${{ env.SPLUNK_OPERATOR_IMAGE_NAME }}:$GITHUB_SHA + make docker-push IMG=${{ secrets.ECR_REPOSITORY }}/${{ env.SPLUNK_OPERATOR_IMAGE_NAME }}:${{ github.sha }} vulnerability-scan: + permissions: + actions: read + contents: read + security-events: write runs-on: ubuntu-latest needs: build-operator-image env: @@ -99,6 +103,7 @@ jobs: SPLUNK_OPERATOR_IMAGE_NAME: splunk/splunk-operator ECR_REPOSITORY: ${{ secrets.ECR_REPOSITORY }} S3_REGION: ${{ secrets.AWS_DEFAULT_REGION }} + IMAGE_NAME: ${{ secrets.ECR_REPOSITORY }}/splunk/splunk-operator:${{ github.sha }} steps: - uses: actions/checkout@v2 - name: Dotenv Action @@ -116,18 +121,20 @@ jobs: uses: aws-actions/amazon-ecr-login@v1 - name: Pull Splunk Operator Image Locally run: | - docker pull ${{ secrets.ECR_REPOSITORY }}/${{ env.SPLUNK_OPERATOR_IMAGE_NAME }}:$GITHUB_SHA - - name: Setup clair scanner - run: make setup_clair_scanner - - name: Scan container image - run: make run_clair_scan IMG=${{ secrets.ECR_REPOSITORY }}/${{ env.SPLUNK_OPERATOR_IMAGE_NAME }}:$GITHUB_SHA - - name: Stop clair scanner - run: make stop_clair_scanner - - name: Save scan results as artifacts - uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 + docker pull ${{ env.IMAGE_NAME }} + - name: Run Trivy vulnerability scanner + uses: aquasecurity/trivy-action@master + with: + image-ref: '${{ env.IMAGE_NAME }}' + format: sarif + #exit-code: 1 + severity: 'CRITICAL' + ignore-unfixed: true + output: 'trivy-results.sarif' + - name: Upload Trivy scan results to GitHub Security tab + uses: github/codeql-action/upload-sarif@v3 with: - name: clair-scanner-logs - path: clair-scanner-logs + sarif_file: 'trivy-results.sarif' smoke-tests: needs: vulnerability-scan strategy: diff --git a/go.mod b/go.mod index 38c640b2a..ab142fc5e 100644 --- a/go.mod +++ b/go.mod @@ -7,8 +7,8 @@ require ( github.com/go-logr/logr v1.4.1 github.com/google/go-cmp v0.6.0 github.com/minio/minio-go/v7 v7.0.16 - github.com/onsi/ginkgo/v2 v2.17.2 - github.com/onsi/gomega v1.33.0 + github.com/onsi/ginkgo/v2 v2.19.0 + github.com/onsi/gomega v1.33.1 github.com/pkg/errors v0.9.1 github.com/prometheus/client_golang v1.14.0 github.com/stretchr/testify v1.8.4 @@ -37,7 +37,6 @@ require ( github.com/go-openapi/jsonpointer v0.19.5 // indirect github.com/go-openapi/jsonreference v0.20.0 // indirect github.com/go-openapi/swag v0.19.14 // indirect - github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect github.com/go-task/slim-sprig/v3 v3.0.0 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect @@ -70,14 +69,14 @@ require ( github.com/spf13/pflag v1.0.5 // indirect go.uber.org/atomic v1.7.0 // indirect go.uber.org/multierr v1.6.0 // indirect - golang.org/x/crypto v0.1.0 // indirect - golang.org/x/net v0.24.0 // indirect + golang.org/x/crypto v0.23.0 // indirect + golang.org/x/net v0.25.0 // indirect golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect - golang.org/x/sys v0.19.0 // indirect - golang.org/x/term v0.5.0 // indirect - golang.org/x/text v0.14.0 // indirect + golang.org/x/sys v0.20.0 // indirect + golang.org/x/term v0.20.0 // indirect + golang.org/x/text v0.15.0 // indirect golang.org/x/time v0.3.0 // indirect - golang.org/x/tools v0.20.0 // indirect + golang.org/x/tools v0.21.0 // indirect gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect google.golang.org/appengine v1.6.7 // indirect google.golang.org/protobuf v1.33.0 // indirect @@ -92,9 +91,4 @@ require ( sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.3.0 // indirect -) - -replace ( - golang.org/x/crypto => golang.org/x/crypto v0.1.0 - golang.org/x/net => golang.org/x/net v0.7.0 -) +) \ No newline at end of file diff --git a/go.sum b/go.sum index a6a426e5c..3eb816c2a 100644 --- a/go.sum +++ b/go.sum @@ -40,7 +40,6 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/aws/aws-sdk-go v1.42.16 h1:jOUmYYpC77NZYQVHTOTFT4lwFBT1u3s8ETKciU4l6gQ= github.com/aws/aws-sdk-go v1.42.16/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q= github.com/bahlo/generic-list-go v0.2.0 h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPnH1Wvgk= @@ -97,8 +96,8 @@ github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= -github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= +github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/zapr v1.2.3 h1:a9vnzlIBPQBBkeaR9IuMUfmVOrQlkoC4YfPoFkX3T7A= github.com/go-logr/zapr v1.2.3/go.mod h1:eIauM6P8qSvTw5o2ez6UEAfGjQKrxQTl5EoK+Qa2oG4= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= @@ -110,8 +109,6 @@ github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh github.com/go-openapi/swag v0.19.14 h1:gm3vOOXfiuw5i9p5N9xJvfjvuofpyvLA9Wr6QfK5Fng= github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= -github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= @@ -175,8 +172,6 @@ github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJYCmNdQXq6neHJOYx3V6jnqNEec= -github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 h1:k7nVchz72niMH6YLQNvHSdIE7iqsQxK1P41mySCvssg= github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6/go.mod h1:kf6iHlnVGwgKolg33glAes7Yg/8iWP8ukqeldJSO7jw= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= @@ -190,7 +185,6 @@ github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/ad github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= @@ -258,12 +252,10 @@ github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRW github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/onsi/ginkgo/v2 v2.11.0 h1:WgqUCUt/lT6yXoQ8Wef0fsNn5cAuMK7+KT9UFRz2tcU= -github.com/onsi/ginkgo/v2 v2.11.0/go.mod h1:ZhrRA5XmEE3x3rhlzamx/JJvujdZoJ2uvgI7kR0iZvM= -github.com/onsi/ginkgo/v2 v2.12.1 h1:uHNEO1RP2SpuZApSkel9nEh1/Mu+hmQe7Q+Pepg5OYA= -github.com/onsi/ginkgo/v2 v2.12.1/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xlT/ETL/o= -github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= -github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= +github.com/onsi/ginkgo/v2 v2.19.0 h1:9Cnnf7UHo57Hy3k6/m5k3dRfGTMXGvxhHFvkDTCTpvA= +github.com/onsi/ginkgo/v2 v2.19.0/go.mod h1:rlwLi9PilAFJ8jCg9UE1QP6VBpd6/xj3SRC0d6TU0To= +github.com/onsi/gomega v1.33.1 h1:dsYjIxxSR755MDmKVsaFQTE22ChNBcuuTWgkUDSubOk= +github.com/onsi/gomega v1.33.1/go.mod h1:U4R44UsT+9eLIaYRB2a5qajjtQYn0hauxvRm16AVYg0= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= @@ -311,18 +303,12 @@ github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/wk8/go-ordered-map/v2 v2.1.7 h1:aUZ1xBMdbvY8wnNt77qqo4nyT3y0pX4Usat48Vm+hik= @@ -331,7 +317,6 @@ github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -347,8 +332,15 @@ go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9i go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= -golang.org/x/crypto v0.1.0 h1:MDRAIl0xIo9Io2xV565hzXHw3zVseKrJKodhohM5CjU= -golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201216223049-8b5274cf687f/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= +golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -379,9 +371,41 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g= -golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= +golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -400,7 +424,6 @@ golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -424,6 +447,7 @@ golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -432,31 +456,31 @@ golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= -golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= -golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.5.0 h1:n2a8QNdAb0sZNpU9R1ALUXBbY+w51fCQDN+7EdxNBsY= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw= +golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= +golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -506,11 +530,8 @@ golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.9.3 h1:Gn1I8+64MsuTb/HpH+LmQtNas23LhUVr3rYZ0eKuaMM= -golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= -golang.org/x/tools v0.12.0 h1:YW6HUoUmYBpwSgyaGaZq1fHjrBjX1rlpZ54T6mu2kss= -golang.org/x/tools v0.12.0/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM= +golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw= +golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -595,8 +616,6 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= -google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=