Commit 751148c
Promote Develop to main for Splunk Operator Release 2.5.1 (#1286)
* cspl-2505: add Pod Security standard to restricted (#1266)
* add Pod Security standard to restricted
* helm chart changes
Signed-off-by: vivekr-splunk <[email protected]>
* helm chart packages for 2.5
* removed secret
---------
Signed-off-by: vivekr-splunk <[email protected]>
* level2: Support for Level-2 Upgrade Strategy in Splunk Operator (#1262)
* CSPL-2094, 2342: Upgrade Strategy for LM and CM (#1181)
* Added changeAnnotation method
* Refined changeClusterManagerAnnotations
* test case for upgrade scenario
* Modified kuttl cases
* Added kuttl tests; Updated LicenseMaster
* Fixed uninstall kuttl test
* Fixed unit test
* Removed changeAnnotation from licenseMaster
* Added branch in int-tests
* Completed code coverage tests
* Added upgradeScenario and related methods for CM
* Added label selectors to get Current Image
* Changed pod.Spec to pod.Status
* Added changeAnnotations for MC
* Added kuttl test cases
* Fixed unit test
* Fixed SmartStore unit test
* Added code coverage test
* using fake client instead of mock
* removed creating statefulset and service
* Corrected LMCurrentImage method
* Completed Coverage tests for CM
* Refined changeClusterManagerAnnotations
* test case for upgrade scenario
* Modified kuttl cases
* Added kuttl tests; Updated LicenseMaster
* Fixed unit test
* Removed changeAnnotation from licenseMaster
* Completed code coverage tests
* Resolved all conflict issues
* Added comments
* Updated upgradeScenario to check if statefulSet exists
* Fixed Unit tests
* Added common APIs, changed upgrade condition
* Added only warning if annotation not found
* Add warning
* Updated upgradeCondition
* updated changeAnnotation to work with no ref
* Fixed unit tests
* Handled not found error
* Removed blank lines; handled errors in changeAnnotation
* Only call changeAnnotation if LM is ready
* Removed redundant checks
* Return if CM list is empty
* removed superfluous nil err check
* Removed branch from workflow
---------
Co-authored-by: vivekr-splunk <[email protected]>
* CSPL-2343: Upgrade Strategy for MC (#1194)
* Added changeAnnotation method
* Refined changeClusterManagerAnnotations
* test case for upgrade scenario
* Modified kuttl cases
* Added kuttl tests; Updated LicenseMaster
* Fixed uninstall kuttl test
* Fixed unit test
* Removed changeAnnotation from licenseMaster
* Added branch in int-tests
* Completed code coverage tests
* Added upgradeScenario and related methods for CM
* Added label selectors to get Current Image
* Changed pod.Spec to pod.Status
* Added changeAnnotations for MC
* Added kuttl test cases
* Fixed unit test
* Fixed SmartStore unit test
* Added code coverage test
* using fake client instead of mock
* removed creating statefulset and service
* Corrected LMCurrentImage method
* Completed Coverage tests for CM
* Refined changeClusterManagerAnnotations
* test case for upgrade scenario
* Modified kuttl cases
* Added kuttl tests; Updated LicenseMaster
* Fixed unit test
* Removed changeAnnotation from licenseMaster
* Completed code coverage tests
* Resolved all conflict issues
* Added comments
* Updated upgradeScenario to check if statefulSet exists
* Fixed Unit tests
* Added common APIs, changed upgrade condition
* Added only warning if annotation not found
* Add warning
* Updated upgradeCondition
* updated changeAnnotation to work with no ref
* Fixed unit tests
* Handled not found error
* Added MC functions
* Removed blank lines; handled errors in changeAnnotation
* Only call changeAnnotation if LM is ready
* Removed redundant checks
* Return if CM list is empty
* removed superfluous nil err check
* Removed branch from workflow
* Added branch to workflow
* Fixed comment
* Fixed unit test
* Improved comment for the upgrade condition
* Removed branch from workflow
---------
Co-authored-by: vivekr-splunk <[email protected]>
* Level-2: Single state machine for Level-2 support (#1216)
* Added SHC functions
* Check error in change annotation
* Added Single Site IDX functions
* Added functional test case
* Removed Change annotation; Added TODO
* Added documentation
* Added multisite func
* Added branch to workflow
* Commiting
* Added specific test
* Changed image
* Added cm ref
* Removed cm ref
* Only CM and LM
* Added image output
* Added mc change image
* Added shc change image
* Fixed shc name
* Added idxc
* Check this
* Test with only CM, SHC, IDX
* Test with only CM, IDX
* Test with only LM, CM, SHC, IDX
* Test only with CM, MC, SHC, IDX
* Addd cm ref to CM,MC,SHC,IDX
* All the instances
* Test with LM,CM,MC
* Check without cm ref
* Cm Ref + LM,CM,MC,SHC
* CM ref + LM,CM,MC,IDX
* Testing all with no idx update code
* Fixed commit
* All + only single site
* With everything
* Fixed mgr client
* Final
* one stop for all the upgrade scenarios
Signed-off-by: vivekr-splunk <[email protected]>
* added upgradepath to clustermanager
Signed-off-by: vivekr-splunk <[email protected]>
* added upgradepath to all CR
Signed-off-by: vivekr-splunk <[email protected]>
* Made changes in upgrade checks
* somemore changes to fix test case for upgrade scenario
Signed-off-by: vivekr-splunk <[email protected]>
* ignore tel app install in unit test
Signed-off-by: vivekr-splunk <[email protected]>
* intermittent, changes
Signed-off-by: vivekr-splunk <[email protected]>
* fixed searchhead cluster,mc, lm, cm
Signed-off-by: vivekr-splunk <[email protected]>
* fixed test case
Signed-off-by: vivekr-splunk <[email protected]>
* working test code for upgrade
Signed-off-by: vivekr-splunk <[email protected]>
* unit test cases fixed
Signed-off-by: vivekr-splunk <[email protected]>
* added comments to the new code
Signed-off-by: vivekr-splunk <[email protected]>
* fixed some test cases
Signed-off-by: vivekr-splunk <[email protected]>
* fixed some test cases
Signed-off-by: vivekr-splunk <[email protected]>
* formatting changes
Signed-off-by: vivekr-splunk <[email protected]>
* addressed review comments
Signed-off-by: vivekr-splunk <[email protected]>
* changing go to 1.21
Signed-off-by: vivekr-splunk <[email protected]>
* changing go to 1.21
Signed-off-by: vivekr-splunk <[email protected]>
* changing go to 1.21
Signed-off-by: vivekr-splunk <[email protected]>
* adding this branch for int test pipeline
Signed-off-by: vivekr-splunk <[email protected]>
* test case fix - adding extra timeout
* test case fix - adding extra timeout
* changed splunk version to 9.1.2
* changed order in the test case for level-2 support
* changing timeout to so test can pass
Signed-off-by: vivekr-splunk <[email protected]>
* changed order first search and then index
Signed-off-by: vivekr-splunk <[email protected]>
* adding back kind name in controller
* adding more timeout
Signed-off-by: vivekr-splunk <[email protected]>
* increasing to 10 min
Signed-off-by: vivekr-splunk <[email protected]>
* increasing overall test run to 6 hours
Signed-off-by: vivekr-splunk <[email protected]>
* doc changes
Signed-off-by: vivekr-splunk <[email protected]>
* just run m4 tests
Signed-off-by: vivekr-splunk <[email protected]>
* just run c3 test
Signed-off-by: vivekr-splunk <[email protected]>
* enabled all the test
Signed-off-by: vivekr-splunk <[email protected]>
* fixed go libraries
* increasing time to 7h for test
* adding helm test
* removed unused functions
* adding comment
---------
Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
* fixed test case
* fixed helm test cases
* fixed helm test case
Signed-off-by: vivekr-splunk <[email protected]>
* adding gp2 to helm test
Signed-off-by: vivekr-splunk <[email protected]>
* fixed topologyspread constraint test case
---------
Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
* helm test case fix (#1270)
* fixed c3 test case
* adding helm test
* fixed c3 with operator test case
Signed-off-by: vivekr-splunk <[email protected]>
---------
Signed-off-by: vivekr-splunk <[email protected]>
* Splunk Operator 2.5.0 release (#1271)
* [create-pull-request] automated change
* adding helm 2.5.0 packages
* cleanup workflows
* adding env changes
* adding bundle changes
* adding bundle changes
* changing eks version to 1.27
* changing splunk version to 9.1.2
* updated changelog
* updated changelog
---------
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
* removed unused files (#1276)
* merging from main to develop after release (#1280)
* Promote Develop to main for Splunk Operator Release 2.5.0 (#1273)
* cspl-2505: add Pod Security standard to restricted (#1266)
* add Pod Security standard to restricted
* helm chart changes
Signed-off-by: vivekr-splunk <[email protected]>
* helm chart packages for 2.5
* removed secret
---------
Signed-off-by: vivekr-splunk <[email protected]>
* level2: Support for Level-2 Upgrade Strategy in Splunk Operator (#1262)
* CSPL-2094, 2342: Upgrade Strategy for LM and CM (#1181)
* Added changeAnnotation method
* Refined changeClusterManagerAnnotations
* test case for upgrade scenario
* Modified kuttl cases
* Added kuttl tests; Updated LicenseMaster
* Fixed uninstall kuttl test
* Fixed unit test
* Removed changeAnnotation from licenseMaster
* Added branch in int-tests
* Completed code coverage tests
* Added upgradeScenario and related methods for CM
* Added label selectors to get Current Image
* Changed pod.Spec to pod.Status
* Added changeAnnotations for MC
* Added kuttl test cases
* Fixed unit test
* Fixed SmartStore unit test
* Added code coverage test
* using fake client instead of mock
* removed creating statefulset and service
* Corrected LMCurrentImage method
* Completed Coverage tests for CM
* Refined changeClusterManagerAnnotations
* test case for upgrade scenario
* Modified kuttl cases
* Added kuttl tests; Updated LicenseMaster
* Fixed unit test
* Removed changeAnnotation from licenseMaster
* Completed code coverage tests
* Resolved all conflict issues
* Added comments
* Updated upgradeScenario to check if statefulSet exists
* Fixed Unit tests
* Added common APIs, changed upgrade condition
* Added only warning if annotation not found
* Add warning
* Updated upgradeCondition
* updated changeAnnotation to work with no ref
* Fixed unit tests
* Handled not found error
* Removed blank lines; handled errors in changeAnnotation
* Only call changeAnnotation if LM is ready
* Removed redundant checks
* Return if CM list is empty
* removed superfluous nil err check
* Removed branch from workflow
---------
Co-authored-by: vivekr-splunk <[email protected]>
* CSPL-2343: Upgrade Strategy for MC (#1194)
* Added changeAnnotation method
* Refined changeClusterManagerAnnotations
* test case for upgrade scenario
* Modified kuttl cases
* Added kuttl tests; Updated LicenseMaster
* Fixed uninstall kuttl test
* Fixed unit test
* Removed changeAnnotation from licenseMaster
* Added branch in int-tests
* Completed code coverage tests
* Added upgradeScenario and related methods for CM
* Added label selectors to get Current Image
* Changed pod.Spec to pod.Status
* Added changeAnnotations for MC
* Added kuttl test cases
* Fixed unit test
* Fixed SmartStore unit test
* Added code coverage test
* using fake client instead of mock
* removed creating statefulset and service
* Corrected LMCurrentImage method
* Completed Coverage tests for CM
* Refined changeClusterManagerAnnotations
* test case for upgrade scenario
* Modified kuttl cases
* Added kuttl tests; Updated LicenseMaster
* Fixed unit test
* Removed changeAnnotation from licenseMaster
* Completed code coverage tests
* Resolved all conflict issues
* Added comments
* Updated upgradeScenario to check if statefulSet exists
* Fixed Unit tests
* Added common APIs, changed upgrade condition
* Added only warning if annotation not found
* Add warning
* Updated upgradeCondition
* updated changeAnnotation to work with no ref
* Fixed unit tests
* Handled not found error
* Added MC functions
* Removed blank lines; handled errors in changeAnnotation
* Only call changeAnnotation if LM is ready
* Removed redundant checks
* Return if CM list is empty
* removed superfluous nil err check
* Removed branch from workflow
* Added branch to workflow
* Fixed comment
* Fixed unit test
* Improved comment for the upgrade condition
* Removed branch from workflow
---------
Co-authored-by: vivekr-splunk <[email protected]>
* Level-2: Single state machine for Level-2 support (#1216)
* Added SHC functions
* Check error in change annotation
* Added Single Site IDX functions
* Added functional test case
* Removed Change annotation; Added TODO
* Added documentation
* Added multisite func
* Added branch to workflow
* Commiting
* Added specific test
* Changed image
* Added cm ref
* Removed cm ref
* Only CM and LM
* Added image output
* Added mc change image
* Added shc change image
* Fixed shc name
* Added idxc
* Check this
* Test with only CM, SHC, IDX
* Test with only CM, IDX
* Test with only LM, CM, SHC, IDX
* Test only with CM, MC, SHC, IDX
* Addd cm ref to CM,MC,SHC,IDX
* All the instances
* Test with LM,CM,MC
* Check without cm ref
* Cm Ref + LM,CM,MC,SHC
* CM ref + LM,CM,MC,IDX
* Testing all with no idx update code
* Fixed commit
* All + only single site
* With everything
* Fixed mgr client
* Final
* one stop for all the upgrade scenarios
Signed-off-by: vivekr-splunk <[email protected]>
* added upgradepath to clustermanager
Signed-off-by: vivekr-splunk <[email protected]>
* added upgradepath to all CR
Signed-off-by: vivekr-splunk <[email protected]>
* Made changes in upgrade checks
* somemore changes to fix test case for upgrade scenario
Signed-off-by: vivekr-splunk <[email protected]>
* ignore tel app install in unit test
Signed-off-by: vivekr-splunk <[email protected]>
* intermittent, changes
Signed-off-by: vivekr-splunk <[email protected]>
* fixed searchhead cluster,mc, lm, cm
Signed-off-by: vivekr-splunk <[email protected]>
* fixed test case
Signed-off-by: vivekr-splunk <[email protected]>
* working test code for upgrade
Signed-off-by: vivekr-splunk <[email protected]>
* unit test cases fixed
Signed-off-by: vivekr-splunk <[email protected]>
* added comments to the new code
Signed-off-by: vivekr-splunk <[email protected]>
* fixed some test cases
Signed-off-by: vivekr-splunk <[email protected]>
* fixed some test cases
Signed-off-by: vivekr-splunk <[email protected]>
* formatting changes
Signed-off-by: vivekr-splunk <[email protected]>
* addressed review comments
Signed-off-by: vivekr-splunk <[email protected]>
* changing go to 1.21
Signed-off-by: vivekr-splunk <[email protected]>
* changing go to 1.21
Signed-off-by: vivekr-splunk <[email protected]>
* changing go to 1.21
Signed-off-by: vivekr-splunk <[email protected]>
* adding this branch for int test pipeline
Signed-off-by: vivekr-splunk <[email protected]>
* test case fix - adding extra timeout
* test case fix - adding extra timeout
* changed splunk version to 9.1.2
* changed order in the test case for level-2 support
* changing timeout to so test can pass
Signed-off-by: vivekr-splunk <[email protected]>
* changed order first search and then index
Signed-off-by: vivekr-splunk <[email protected]>
* adding back kind name in controller
* adding more timeout
Signed-off-by: vivekr-splunk <[email protected]>
* increasing to 10 min
Signed-off-by: vivekr-splunk <[email protected]>
* increasing overall test run to 6 hours
Signed-off-by: vivekr-splunk <[email protected]>
* doc changes
Signed-off-by: vivekr-splunk <[email protected]>
* just run m4 tests
Signed-off-by: vivekr-splunk <[email protected]>
* just run c3 test
Signed-off-by: vivekr-splunk <[email protected]>
* enabled all the test
Signed-off-by: vivekr-splunk <[email protected]>
* fixed go libraries
* increasing time to 7h for test
* adding helm test
* removed unused functions
* adding comment
---------
Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
* fixed test case
* fixed helm test cases
* fixed helm test case
Signed-off-by: vivekr-splunk <[email protected]>
* adding gp2 to helm test
Signed-off-by: vivekr-splunk <[email protected]>
* fixed topologyspread constraint test case
---------
Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
* helm test case fix (#1270)
* fixed c3 test case
* adding helm test
* fixed c3 with operator test case
Signed-off-by: vivekr-splunk <[email protected]>
---------
Signed-off-by: vivekr-splunk <[email protected]>
* Splunk Operator 2.5.0 release (#1271)
* [create-pull-request] automated change
* adding helm 2.5.0 packages
* cleanup workflows
* adding env changes
* adding bundle changes
* adding bundle changes
* changing eks version to 1.27
* changing splunk version to 9.1.2
* updated changelog
* updated changelog
---------
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
* setting splunk verion to 9.1.3
* removing unwanted file
* removed unused files (#1276)
* Update helm-test-workflow.yml
---------
Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: gaurav-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
* change log date fixed (#1277)
* Add documentation for WLM support (#1278)
---------
Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: gaurav-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: Arjun Kondur <[email protected]>
* cspl-2532: fix for leader election lost issue (#1281)
* fix for leader election lost issue
* runs nigtly once a week
* helm chart packages for 2.5.1 (#1282)
* Splunk Operator 2.5.1 release (#1283)
* [create-pull-request] automated change
* fixed change log
* fixed change log
---------
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
* fixed release date
* fixed helm changes
* fixed doc changes
---------
Signed-off-by: vivekr-splunk <[email protected]>
Signed-off-by: vivekr-splunk <[email protected]>
Co-authored-by: gaurav-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: tgarg-splunk <[email protected]>
Co-authored-by: Tanya Garg <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: vivekr-splunk <[email protected]>
Co-authored-by: Arjun Kondur <[email protected]>1 parent 546f9da commit 751148c
File tree
19 files changed
+160
-79
lines changed- .github/workflows
- bundle/manifests
- config
- manager
- manifests/bases
- docs
- helm-chart
- splunk-enterprise
- charts
- splunk-operator
19 files changed
+160
-79
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
818 | | - | |
| 818 | + | |
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| |||
929 | 929 | | |
930 | 930 | | |
931 | 931 | | |
932 | | - | |
933 | | - | |
| 932 | + | |
| 933 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
278 | | - | |
| 277 | + | |
| 278 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
3 | 19 | | |
4 | 20 | | |
5 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
0 commit comments