-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into google-object-storage-support
- Loading branch information
Showing
42 changed files
with
507 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ on: | |
branches: | ||
- develop | ||
- main | ||
- google-object-storage-support | ||
|
||
jobs: | ||
build-operator-image: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Entrypoint for helm automation | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestSuite | ||
testDirs: | ||
- ./kuttl/tests/helm_sva | ||
parallel: 1 | ||
timeout: 7000 | ||
startKIND: false | ||
artifactsDir: kuttl-artifacts | ||
kindNodeCache: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
# assert for splunk operator deployment to be ready | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: splunk-operator-controller-manager | ||
status: | ||
readyReplicas: 1 | ||
availableReplicas: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestStep | ||
commands: | ||
- script: ../script/installoperator.sh | ||
background: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
--- | ||
# assert for cluster manager custom resource to be ready | ||
apiVersion: enterprise.splunk.com/v4 | ||
kind: ClusterManager | ||
metadata: | ||
name: cm | ||
status: | ||
phase: Ready | ||
|
||
--- | ||
# check if stateful sets are created | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: splunk-cm-cluster-manager | ||
status: | ||
replicas: 1 | ||
|
||
--- | ||
# check if secret object are created | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: splunk-cm-cluster-manager-secret-v1 | ||
|
||
--- | ||
# assert for indexer cluster custom resource to be ready | ||
apiVersion: enterprise.splunk.com/v4 | ||
kind: IndexerCluster | ||
metadata: | ||
name: idxc | ||
status: | ||
phase: Ready | ||
|
||
--- | ||
# check for stateful set and replicas as configured | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: splunk-idxc-indexer | ||
status: | ||
replicas: 3 | ||
|
||
--- | ||
# check if secret object are created | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: splunk-idxc-indexer-secret-v1 | ||
|
||
--- | ||
# assert for SearchHeadCluster custom resource to be ready | ||
apiVersion: enterprise.splunk.com/v4 | ||
kind: SearchHeadCluster | ||
metadata: | ||
name: shc | ||
status: | ||
phase: Ready | ||
|
||
--- | ||
# check if secret object are created | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: splunk-shc-deployer-secret-v1 | ||
|
||
--- | ||
# check if secret object are created | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: splunk-shc-search-head-secret-v1 | ||
|
||
--- | ||
# check for stateful set and replicas as configured | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: splunk-shc-search-head | ||
status: | ||
replicas: 3 | ||
|
||
--- | ||
# check for statefull set | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: splunk-shc-deployer | ||
status: | ||
replicas: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestStep | ||
commands: | ||
- command: helm install splunk-c3 $HELM_REPO_PATH/splunk-enterprise -f c3_config.yaml | ||
namespaced: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
# assert for indexer cluster custom resource to be ready | ||
apiVersion: enterprise.splunk.com/v4 | ||
kind: IndexerCluster | ||
metadata: | ||
name: idxc | ||
status: | ||
phase: Ready | ||
|
||
--- | ||
# check for stateful sets and replicas updated | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: splunk-idxc-indexer | ||
status: | ||
replicas: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestStep | ||
commands: | ||
- command: helm upgrade splunk-c3 $HELM_REPO_PATH/splunk-enterprise --reuse-values --set indexerCluster.replicaCount=4 | ||
namespaced: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestStep | ||
commands: | ||
- command: helm uninstall splunk-c3 | ||
namespaced: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
splunk-operator: | ||
enabled: false | ||
splunkOperator: | ||
clusterWideAccess: false | ||
persistentVolumeClaim: | ||
storageClassName: gp2 | ||
|
||
sva: | ||
c3: | ||
enabled: true | ||
|
||
clusterManager: | ||
name: cm | ||
|
||
indexerClusters: | ||
- name: idxc | ||
|
||
searchHeadClusters: | ||
- name: shc | ||
|
||
|
||
indexerCluster: | ||
enabled: true | ||
additionalLabels: | ||
label: "true" | ||
additionalAnnotations: | ||
annotation: "true" | ||
|
||
clusterManager: | ||
enabled: true | ||
additionalLabels: | ||
label: "true" | ||
additionalAnnotations: | ||
annotation: "true" | ||
|
||
searchHeadCluster: | ||
enabled: true | ||
additionalLabels: | ||
label: "true" | ||
additionalAnnotations: | ||
annotation: "true" |
Oops, something went wrong.