-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c981d4
commit 0f990bb
Showing
58 changed files
with
52,231 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM scratch | ||
|
||
# Core bundle labels. | ||
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1 | ||
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/ | ||
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ | ||
LABEL operators.operatorframework.io.bundle.package.v1=splunk | ||
LABEL operators.operatorframework.io.bundle.channels.v1=stable | ||
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.31.1 | ||
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1 | ||
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3 | ||
|
||
# Labels for testing. | ||
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1 | ||
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/ | ||
|
||
# Copy files to locations specified by labels. | ||
COPY manifests /manifests/ | ||
COPY metadata /metadata/ | ||
COPY tests/scorecard /tests/scorecard/ |
4,450 changes: 4,450 additions & 0 deletions
4,450
operators/splunk/2.7.0/manifests/enterprise.splunk.com_clustermanagers.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
4,463 changes: 4,463 additions & 0 deletions
4,463
operators/splunk/2.7.0/manifests/enterprise.splunk.com_clustermasters.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
7,718 changes: 7,718 additions & 0 deletions
7,718
operators/splunk/2.7.0/manifests/enterprise.splunk.com_indexerclusters.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
4,188 changes: 4,188 additions & 0 deletions
4,188
operators/splunk/2.7.0/manifests/enterprise.splunk.com_licensemanagers.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
4,200 changes: 4,200 additions & 0 deletions
4,200
operators/splunk/2.7.0/manifests/enterprise.splunk.com_licensemasters.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
8,385 changes: 8,385 additions & 0 deletions
8,385
operators/splunk/2.7.0/manifests/enterprise.splunk.com_monitoringconsoles.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
8,579 changes: 8,579 additions & 0 deletions
8,579
operators/splunk/2.7.0/manifests/enterprise.splunk.com_searchheadclusters.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
8,893 changes: 8,893 additions & 0 deletions
8,893
operators/splunk/2.7.0/manifests/enterprise.splunk.com_standalones.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
operators/splunk/2.7.0/manifests/splunk-operator-config_v1_configmap.yaml
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 @@ | ||
apiVersion: v1 | ||
data: | ||
OPERATOR_NAME: '"splunk-operator"' | ||
RELATED_IMAGE_SPLUNK_ENTERPRISE: "" | ||
WATCH_NAMESPACE: "" | ||
kind: ConfigMap | ||
metadata: | ||
labels: | ||
name: splunk-operator | ||
name: splunk-operator-config |
19 changes: 19 additions & 0 deletions
19
...splunk/2.7.0/manifests/splunk-operator-controller-manager-metrics-service_v1_service.yaml
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,19 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
control-plane: controller-manager | ||
name: splunk-operator | ||
name: splunk-operator-controller-manager-metrics-service | ||
spec: | ||
ports: | ||
- name: https | ||
port: 8443 | ||
protocol: TCP | ||
targetPort: https | ||
selector: | ||
control-plane: controller-manager | ||
name: splunk-operator | ||
status: | ||
loadBalancer: {} |
23 changes: 23 additions & 0 deletions
23
operators/splunk/2.7.0/manifests/splunk-operator-controller-manager-service_v1_service.yaml
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,23 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
control-plane: controller-manager | ||
name: splunk-operator | ||
name: splunk-operator-controller-manager-service | ||
spec: | ||
ports: | ||
- name: metric | ||
port: 8080 | ||
protocol: TCP | ||
targetPort: 8080 | ||
- name: health | ||
port: 8081 | ||
protocol: TCP | ||
targetPort: 8081 | ||
selector: | ||
control-plane: controller-manager | ||
name: splunk-operator | ||
status: | ||
loadBalancer: {} |
19 changes: 19 additions & 0 deletions
19
operators/splunk/2.7.0/manifests/splunk-operator-manager-config_v1_configmap.yaml
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,19 @@ | ||
apiVersion: v1 | ||
data: | ||
controller_manager_config.yaml: | | ||
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1 | ||
kind: ControllerManagerConfig | ||
health: | ||
healthProbeBindAddress: :8081 | ||
metrics: | ||
bindAddress: 127.0.0.1:8080 | ||
webhook: | ||
port: 9443 | ||
leaderElection: | ||
leaderElect: true | ||
resourceName: 270bec8c.splunk.com | ||
kind: ConfigMap | ||
metadata: | ||
labels: | ||
name: splunk-operator | ||
name: splunk-operator-manager-config |
12 changes: 12 additions & 0 deletions
12
....0/manifests/splunk-operator-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml
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,12 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
name: splunk-operator | ||
name: splunk-operator-metrics-reader | ||
rules: | ||
- nonResourceURLs: | ||
- /metrics | ||
verbs: | ||
- get |
797 changes: 797 additions & 0 deletions
797
operators/splunk/2.7.0/manifests/splunk-operator.clusterserviceversion.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
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,16 @@ | ||
annotations: | ||
# Core bundle annotations. | ||
operators.operatorframework.io.bundle.mediatype.v1: registry+v1 | ||
operators.operatorframework.io.bundle.manifests.v1: manifests/ | ||
operators.operatorframework.io.bundle.metadata.v1: metadata/ | ||
operators.operatorframework.io.bundle.package.v1: splunk | ||
operators.operatorframework.io.bundle.channels.v1: stable | ||
operators.operatorframework.io.bundle.channel.default.v1: stable | ||
operators.operatorframework.io.metrics.builder: operator-sdk-v1.31.1 | ||
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 | ||
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3 | ||
|
||
# Annotations for testing. | ||
operators.operatorframework.io.test.mediatype.v1: scorecard+v1 | ||
operators.operatorframework.io.test.config.v1: tests/scorecard/ | ||
com.redhat.openshift.versions: v4.11-v4.16 |
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,77 @@ | ||
apiVersion: scorecard.operatorframework.io/v1alpha3 | ||
kind: Configuration | ||
metadata: | ||
name: config | ||
stages: | ||
- parallel: true | ||
tests: | ||
- entrypoint: | ||
- scorecard-test | ||
- basic-check-spec | ||
image: quay.io/operator-framework/scorecard-test:v1.18.1 | ||
labels: | ||
suite: basic | ||
test: basic-check-spec-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- entrypoint: | ||
- scorecard-test | ||
- olm-bundle-validation | ||
image: quay.io/operator-framework/scorecard-test:v1.18.1 | ||
labels: | ||
suite: olm | ||
test: olm-bundle-validation-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- entrypoint: | ||
- scorecard-test | ||
- olm-crds-have-validation | ||
image: quay.io/operator-framework/scorecard-test:v1.18.1 | ||
labels: | ||
suite: olm | ||
test: olm-crds-have-validation-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- entrypoint: | ||
- scorecard-test | ||
- olm-crds-have-resources | ||
image: quay.io/operator-framework/scorecard-test:v1.18.1 | ||
labels: | ||
suite: olm | ||
test: olm-crds-have-resources-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- entrypoint: | ||
- scorecard-test | ||
- olm-spec-descriptors | ||
image: quay.io/operator-framework/scorecard-test:v1.18.1 | ||
labels: | ||
suite: olm | ||
test: olm-spec-descriptors-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- entrypoint: | ||
- scorecard-test | ||
- olm-status-descriptors | ||
image: quay.io/operator-framework/scorecard-test:v1.18.1 | ||
labels: | ||
suite: olm | ||
test: olm-status-descriptors-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- image: quay.io/operator-framework/scorecard-test-kuttl:v2.0.0 | ||
labels: | ||
suite: kuttlsuite | ||
test: kuttltest1 | ||
storage: | ||
spec: | ||
mountPath: {} | ||
storage: | ||
spec: | ||
mountPath: {} |
6 changes: 6 additions & 0 deletions
6
operators/splunk/2.7.0/tests/scorecard/kuttl/clustered-deployment-c3/00-assert.yaml
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: enterprise.splunk.com/v3 | ||
kind: ClusterManager | ||
metadata: | ||
name: test | ||
status: | ||
phase: Ready |
11 changes: 11 additions & 0 deletions
11
.../splunk/2.7.0/tests/scorecard/kuttl/clustered-deployment-c3/00-deploy-clustermanager.yaml
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,11 @@ | ||
apiVersion: enterprise.splunk.com/v3 | ||
kind: ClusterManager | ||
metadata: | ||
name: test | ||
finalizers: | ||
- "enterprise.splunk.com/delete-pvc" | ||
spec: | ||
volumes: [] | ||
spec: | ||
imagePullPolicy: "IfNotPresent" | ||
defaults: "" |
6 changes: 6 additions & 0 deletions
6
operators/splunk/2.7.0/tests/scorecard/kuttl/clustered-deployment-c3/01-assert.yaml
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: enterprise.splunk.com/v3 | ||
kind: IndexerCluster | ||
metadata: | ||
name: test-idxc | ||
status: | ||
phase: Ready |
14 changes: 14 additions & 0 deletions
14
.../splunk/2.7.0/tests/scorecard/kuttl/clustered-deployment-c3/01-deploy-indexercluster.yaml
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,14 @@ | ||
apiVersion: enterprise.splunk.com/v3 | ||
kind: IndexerCluster | ||
metadata: | ||
name: test-idxc | ||
finalizers: | ||
- "enterprise.splunk.com/delete-pvc" | ||
spec: | ||
volumes: [] | ||
spec: | ||
imagePullPolicy: IfNotPresent | ||
clusterManagerRef: | ||
name: test | ||
defaults: "" | ||
replicas: 3 |
6 changes: 6 additions & 0 deletions
6
operators/splunk/2.7.0/tests/scorecard/kuttl/clustered-deployment-c3/02-assert.yaml
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: enterprise.splunk.com/v3 | ||
kind: SearchHeadCluster | ||
metadata: | ||
name: test-shc | ||
status: | ||
phase: Ready |
15 changes: 15 additions & 0 deletions
15
...lunk/2.7.0/tests/scorecard/kuttl/clustered-deployment-c3/02-deploy-searchheadcluster.yaml
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,15 @@ | ||
apiVersion: enterprise.splunk.com/v3 | ||
kind: SearchHeadCluster | ||
metadata: | ||
name: test-shc | ||
finalizers: | ||
- "enterprise.splunk.com/delete-pvc" | ||
spec: | ||
volumes: [] | ||
spec: | ||
imagePullPolicy: "IfNotPresent" | ||
clusterManagerRef: | ||
name: test | ||
licenseManagerRef: | ||
name: "" | ||
defaults: "" |
6 changes: 6 additions & 0 deletions
6
operators/splunk/2.7.0/tests/scorecard/kuttl/clustered-deployment-c3/03-assert.yaml
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: enterprise.splunk.com/v3 | ||
kind: ClusterManager | ||
metadata: | ||
name: test | ||
status: | ||
phase: Ready |
10 changes: 10 additions & 0 deletions
10
...7.0/tests/scorecard/kuttl/clustered-deployment-c3/03-clustermanager-remove-finalizer.yaml
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 @@ | ||
apiVersion: enterprise.splunk.com/v3 | ||
kind: ClusterManager | ||
metadata: | ||
name: test | ||
finalizers: [] | ||
spec: | ||
volumes: [] | ||
spec: | ||
imagePullPolicy: "IfNotPresent" | ||
defaults: "" |
6 changes: 6 additions & 0 deletions
6
operators/splunk/2.7.0/tests/scorecard/kuttl/clustered-deployment-c3/04-assert.yaml
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: enterprise.splunk.com/v3 | ||
kind: IndexerCluster | ||
metadata: | ||
name: test-idxc | ||
status: | ||
phase: Ready |
13 changes: 13 additions & 0 deletions
13
...7.0/tests/scorecard/kuttl/clustered-deployment-c3/04-indexercluster-remove-finalizer.yaml
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,13 @@ | ||
apiVersion: enterprise.splunk.com/v3 | ||
kind: IndexerCluster | ||
metadata: | ||
name: test-idxc | ||
finalizers: [] | ||
spec: | ||
volumes: [] | ||
spec: | ||
imagePullPolicy: IfNotPresent | ||
clusterManagerRef: | ||
name: test | ||
defaults: "" | ||
replicas: 3 |
6 changes: 6 additions & 0 deletions
6
operators/splunk/2.7.0/tests/scorecard/kuttl/clustered-deployment-c3/05-assert.yaml
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: enterprise.splunk.com/v3 | ||
kind: SearchHeadCluster | ||
metadata: | ||
name: test-shc | ||
status: | ||
phase: Ready |
14 changes: 14 additions & 0 deletions
14
.../tests/scorecard/kuttl/clustered-deployment-c3/05-searchheadcluster-remove-finalizer.yaml
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,14 @@ | ||
apiVersion: enterprise.splunk.com/v3 | ||
kind: SearchHeadCluster | ||
metadata: | ||
name: test-shc | ||
finalizers: [] | ||
spec: | ||
volumes: [] | ||
spec: | ||
imagePullPolicy: "IfNotPresent" | ||
clusterManagerRef: | ||
name: test | ||
licenseManagerRef: | ||
name: "" | ||
defaults: "" |
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: kudo.dev/v1beta1 | ||
kind: TestSuite | ||
parallel: 1 | ||
timeout: 750 | ||
startControlPlane: false |
6 changes: 6 additions & 0 deletions
6
operators/splunk/2.7.0/tests/scorecard/kuttl/multisite-cluster-deployment-m1/00-assert.yaml
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: enterprise.splunk.com/v3 | ||
kind: ClusterManager | ||
metadata: | ||
name: test | ||
status: | ||
phase: Ready |
21 changes: 21 additions & 0 deletions
21
...2.7.0/tests/scorecard/kuttl/multisite-cluster-deployment-m1/00-deploy-clustermanager.yaml
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,21 @@ | ||
apiVersion: enterprise.splunk.com/v3 | ||
kind: ClusterManager | ||
metadata: | ||
name: test | ||
finalizers: | ||
- "enterprise.splunk.com/delete-pvc" | ||
spec: | ||
volumes: [] | ||
spec: | ||
imagePullPolicy: "IfNotPresent" | ||
defaults: "splunk: | ||
multisite_master: localhost | ||
all_sites: site1,site2,site3 | ||
site: site1 | ||
multisite_replication_factor_origin: 1 | ||
multisite_replication_factor_total: 2 | ||
multisite_search_factor_origin: 1 | ||
multisite_search_factor_total: 2 | ||
idxc: | ||
search_factor: 2 | ||
replication_factor: 2" |
6 changes: 6 additions & 0 deletions
6
operators/splunk/2.7.0/tests/scorecard/kuttl/multisite-cluster-deployment-m1/01-assert.yaml
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: enterprise.splunk.com/v3 | ||
kind: IndexerCluster | ||
metadata: | ||
name: test-idxc | ||
status: | ||
phase: Ready |
Oops, something went wrong.