Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
74a6b96
Update MultisiteExamples.md
dwrightmsft Apr 22, 2021
0581063
Update CustomResources.md
pogdin Apr 22, 2021
d4a8223
Update nodes of cluster and parallel test for faster execution on EKS
pdhanoyasplunk Apr 28, 2021
797ba8a
Merge pull request #322 from splunk/Update-Cluster-Nodes
smohan-splunk Apr 28, 2021
b9d082c
Update README.md
pogdin Apr 28, 2021
7cd8a71
CSPL-612 upgrade operator sdk
vebken-splunk Apr 6, 2021
7eda1a0
adding api versions + make generate
vebken-splunk Apr 28, 2021
5348e41
Update Examples.md
pogdin May 3, 2021
219a1a6
Merge branch 'develop' into bugfix/CSPL-612
smohan-splunk May 5, 2021
8fffe9f
Merge pull request #312 from splunk/bugfix/CSPL-612
smohan-splunk May 5, 2021
56d1ca3
Merge branch 'develop' into pogdin-patch-3
smohan-splunk May 5, 2021
1f746c3
Merge branch 'develop' into develop
smohan-splunk May 6, 2021
9abaab7
Manually fix nightly build after Operator-SDK v0.18.2 upgrade
vebken-splunk May 6, 2021
4618c0c
Merge pull request #331 from splunk/bugfix/nightly-build-fix
smohan-splunk May 6, 2021
33f6443
Merge branch 'develop' into develop
smohan-splunk May 6, 2021
2a27b6c
Fix documentation to indicate topology label effective from v1.17 onw…
smohan-splunk May 12, 2021
5c0e4d2
Fix minor comment
smohan-splunk May 12, 2021
d1c2b20
Merge branch 'develop' into pogdin-patch-3
smohan-splunk May 12, 2021
ddfaef3
CSPL-763 - App framework related changes
kumarajeet Feb 2, 2021
e56ea90
CSPL-763 -- address review comments, generate the CRD defintions, ext…
kumarajeet Feb 3, 2021
baa2799
Small comments changes to retrigger automated build and circleci unit…
kumarajeet Feb 3, 2021
f9fcca3
Addressed some review comments
kumarajeet Feb 4, 2021
2e261c5
Addressing review comments - adding default value for S3PollInterval if
kumarajeet Feb 10, 2021
d8160bd
Rebasing with master
kumarajeet Apr 18, 2021
4659e3a
CSPL-763 - App framework related changes
kumarajeet Feb 2, 2021
6cfa5e1
CSPL-763 -- address review comments, generate the CRD defintions, ext…
kumarajeet Feb 3, 2021
6168fa8
Small comments changes to retrigger automated build and circleci unit…
kumarajeet Feb 3, 2021
a04c7ab
Addressed some review comments
kumarajeet Feb 4, 2021
9c8c967
Addressing review comments - adding default value for S3PollInterval if
kumarajeet Feb 10, 2021
eab5cfc
CSPL-1023: Add configuration support(CRD Spec changes) for App framework
sgontla May 3, 2021
9ecd623
Merge pull request #328 from splunk/pogdin-patch-3
smohan-splunk May 13, 2021
a9fea98
CSPL-763 - App framework related changes
kumarajeet Feb 2, 2021
778823f
CSPL-763 - App framework related changes
kumarajeet Feb 2, 2021
aef4e3e
CSPL-763 -- address review comments, generate the CRD defintions, ext…
kumarajeet Feb 3, 2021
215dd3f
Addressing review comments - adding default value for S3PollInterval if
kumarajeet Feb 10, 2021
a9bc176
CSPL-1023: Add configuration support(CRD Spec changes) for App framework
sgontla May 3, 2021
ce836b9
Merge branch 'develop' into develop
smohan-splunk May 13, 2021
bd9f0e7
Merge pull request #319 from dwrightmsft/develop
smohan-splunk May 13, 2021
22abc88
Manually fix nightly build after Operator-SDK v0.18.2 upgrade
vebken-splunk May 6, 2021
b069974
Merge pull request #337 from splunk/fix-operator-sdk-appframework2
jryb May 14, 2021
a20fb76
CSPL-1027: Utility to download or upload file to s3
tpereirasplunk May 12, 2021
dd7622e
CSPL-633 Support extraENV in CR spec
jryb Apr 29, 2021
b8a88b3
CSPL-1019
jambrosiano May 17, 2021
6857d9a
CSPL-1019
jambrosiano May 18, 2021
80326c3
Merge pull request #332 from splunk/CSPL-1027
smohan-splunk May 18, 2021
26ef4df
Merge pull request #325 from splunk/bugfix/CSPL-633_extraEnv
smohan-splunk May 18, 2021
c18b302
CSPL-1019
jambrosiano May 18, 2021
badd4bf
CSPL-1019
jambrosiano May 18, 2021
498f7fa
CSPL-1019
jambrosiano May 18, 2021
e01b301
Update enterprise.splunk.com_clustermasters_crd.yaml
jambrosiano May 18, 2021
f9e6fc1
Update enterprise.splunk.com_standalones_crd.yaml
jambrosiano May 18, 2021
79d30eb
Update configuration_test.go
jambrosiano May 18, 2021
1663850
Delete appframework_suite_test.go
jambrosiano May 18, 2021
a5ebf4b
Delete appframework_test.go
jambrosiano May 18, 2021
5cac3bf
Merge pull request #333 from splunk/CSPL-1019
smohan-splunk May 18, 2021
54071f0
Initial commit for S3 framework APIs (#344)
gaurav-splunk May 19, 2021
d4e8a95
CSPL-1063-fix-nightly-run-failure (#348)
pdhanoya-splunk May 20, 2021
8fc4bff
CSPL-1004: Create operator component to vett Apps in S3 & Maintain Ap…
sgontla May 21, 2021
0b0287a
CSPL-1068 added common util to support app framework test automation …
pdhanoya-splunk May 26, 2021
84405e0
CSPL-1082: Update Docs for Smartstore (#360)
smohan-splunk May 27, 2021
21972eb
CSPL-821 Implement Init Container Image (#350)
jryb May 28, 2021
15a6778
CSPL-1080: Test and fix issues after integrating CSPL-1004 & CSPL-765…
sgontla May 28, 2021
16e9ca4
CSPL-1065: Framework for mock client for AWS S3 and related unit test…
gaurav-splunk Jun 2, 2021
e8274fc
Splunk Operator 1.0.1 release (#365)
kashok-splunk Jun 9, 2021
1969636
CSPL-1069: Automation for app framework phase 2 (#357)
tpereirasplunk Jun 10, 2021
7741240
Update SmartStore.md (#351)
rajeshvijayarajan Jun 10, 2021
484e1e9
CSPL-767: Operator trigger Instance pod to download app package from …
sgontla Jun 11, 2021
f8bf54a
CSPL-1069-added-automation for init contianer (#368)
pdhanoya-splunk Jun 11, 2021
5158751
CSPL-1108 Locally scoped apps for CM/Deployer
jryb Jun 15, 2021
44a1920
Merge pull request #378 from splunk/bugfix/CSPL-1108_local_cm_app_ins…
jryb Jun 16, 2021
79c65ed
Add a separator in deploy/roles.yaml (#377)
kashok-splunk Jun 16, 2021
c77384e
CSPL-1071: App installation validation for app framework (#376)
tpereirasplunk Jun 17, 2021
35fd35a
CSPL-1107: Merge branch 'develop' into feature-appframework
sgontla Jun 17, 2021
d66ea3f
doc: Correct change log extraEnv (#382)
ryanfaircloth Jun 18, 2021
fbe673f
Fix the clusterRole resouce-manager to watch, list secrets and update…
akondur Jun 21, 2021
c4915f8
CSPL-796: Periodically poll S3 buckets for updates (#367)
gaurav-splunk Jun 21, 2021
28a2b3a
fix indentation issue splunk-web virtual service (#384)
rogfut Jun 21, 2021
d56a0d4
Update c3.yaml
pogdin Jun 23, 2021
951ddf0
Update c1.yaml
pogdin Jun 23, 2021
ca7c16e
CSPL-1135: Fix a bug in GetNextRequeueTime where we should provide th…
gaurav-splunk Jun 23, 2021
5330c08
CSPL-1072 (#371)
jambrosiano Jun 24, 2021
262a994
Fix empty app-list configmap after app update (#390)
jryb Jun 24, 2021
886edd3
CSPL-1114: Automation for Polling updates on App framework (#385)
tpereirasplunk Jun 28, 2021
08675d8
Added appframework feature branch to nightly run (#396)
pdhanoya-splunk Jun 29, 2021
4f1084f
CSPL-1124: Fixing OSS Security vulnerability by upgrading the golang …
gaurav-splunk Jun 30, 2021
3bba324
Added additional check sh ready method to account for app framework c…
pdhanoya-splunk Jun 30, 2021
3eb7a70
Added new circle config for nightly run on feature branch (#398)
pdhanoya-splunk Jun 30, 2021
eb4e730
Added new circle config for nightly run on feature branch (#398) (#399)
pdhanoya-splunk Jun 30, 2021
4b5db8c
cspl-1139: Make Probe timers dynamic (#400)
sgontla Jul 2, 2021
2e336dd
Introduce new pipeline to run app framework test (#406)
pdhanoya-splunk Jul 9, 2021
15eec7d
cspl-1136: Storage type and provider config shoulud be optional for S…
sgontla Jul 9, 2021
43bb25a
Fixes for pipeline failures (#407)
tpereirasplunk Jul 9, 2021
c783100
CSPL-1034: Handle scaling up of standalone with app framework (#410)
gaurav-splunk Jul 12, 2021
41ee233
CSPL-1146: Added update scenario for locally installation scenario (#…
tpereirasplunk Jul 13, 2021
0572722
CSPL-1145: automation for app framework with scale up (#414)
pdhanoya-splunk Jul 13, 2021
cbc2fb1
CSPL-1157: Enforce TLS between Operator and AppRep (#411)
jryb Jul 13, 2021
67fe624
CSPL-1155-revert-develop-pipeline-changes (#415)
pdhanoya-splunk Jul 13, 2021
ad3f6ec
CSPL-793: Add documentation for App Framework (#375)
sgontla Jul 14, 2021
652686e
CSPL-1151 (#409)
jambrosiano Jul 15, 2021
45e192b
cspl-1175: Increment the CRD version to v2 (#417)
sgontla Jul 15, 2021
4e5238c
- fixing some todo comments for phase-3 (#419)
sgontla Jul 15, 2021
063a9e4
CSPL-1167: Operator changes to honor cluster scope (#420)
gaurav-splunk Jul 16, 2021
dccaf09
- restoring the missing protocol field from the CRDs (#421)
sgontla Jul 16, 2021
a79111d
Enabled EKS cluster for app fw test (#422)
pdhanoya-splunk Jul 16, 2021
c1934ed
CSPL-1193: update make_bundle.sh to fix removal of protocol field (#423)
gaurav-splunk Jul 16, 2021
aeefa93
Split app fw test into int, smoke. Remove feature branch workflow (#424)
pdhanoya-splunk Jul 18, 2021
d1d92ae
Added feature branch to nightly run (#425)
pdhanoya-splunk Jul 18, 2021
6fb5304
Int test develop ready cleanup (#428)
pdhanoya-splunk Jul 20, 2021
f5ed0f2
CSPL-1200: Version changes
sgontla Jul 20, 2021
3fff2b8
Merge pull request #430 from splunk/cspl-1200
pdhanoya-splunk Jul 20, 2021
dff9416
CSPL: Automation to check apps are not installed on deployer and Clus…
tpereirasplunk Jul 20, 2021
5261045
Merge pull request #429 from splunk/CSPL-1168
pdhanoya-splunk Jul 20, 2021
f6d8a3c
Merge branch 'develop' into feature-appframework
sgontla Jul 20, 2021
6b7594e
Merge pull request #431 from splunk/feature-appframework
pdhanoya-splunk Jul 20, 2021
6830b0a
- Updating the change log with the release 1.0.2 info (#433)
sgontla Jul 21, 2021
6201225
Bugfix/cspl 1201 (#438)
smohan-splunk Jul 22, 2021
aa170dd
Split nightly int test into app framework and int test pipeline (#434)
pdhanoya-splunk Jul 22, 2021
2bc674f
Image Update to 8.2.1-a1 (#439)
smohan-splunk Jul 22, 2021
ef39000
Commenting ES app test on C3 failing due to change introduced in CSPL…
jambrosiano Jul 29, 2021
fc525fe
Enforced cleanup of EKS cluster on failure (#447)
pdhanoya-splunk Jul 29, 2021
9093d5a
CSPL-1216 (#449)
jambrosiano Aug 5, 2021
b0d8335
CSPL-1206: Introducing the App Source scope clusterWithPreConfig (#442)
sgontla Aug 6, 2021
6a54223
- Change for LicenseMaster to have additional livenessProbe initial d…
sgontla Aug 7, 2021
a4e1667
CSPL-1207: Remove liveness and readiness from App spec (#454)
tpereirasplunk Aug 7, 2021
c6e0648
Update nightly test runs to use unique cluster name for each run
pdhanoyasplunk Aug 9, 2021
13aa1dc
Fix failures in pipeline run (#457)
tpereirasplunk Aug 10, 2021
c0cf831
Merge pull request #458 from splunk/unique-eks-cluster-name
pdhanoya-splunk Aug 10, 2021
3b3c7c9
CSPL-1240: Fix the bug where during upgrade to latest CRD version, K8…
gaurav-splunk Aug 12, 2021
3f5a222
CSPL-1239: Added additional logging to app framework test for easier …
pdhanoya-splunk Aug 12, 2021
3d777ec
Fixed ES app test (#465)
pdhanoya-splunk Aug 17, 2021
22adc71
release/1.0.2 (#473)
sgontla Aug 20, 2021
c236a47
- Fixing the olm-catalog CRDs for the versions 1.0.0-RC, 1.0.0, and 1…
sgontla Aug 21, 2021
5cd5599
Merge branch 'develop' into rel_102_merge_dev_into_master
sgontla Aug 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 75 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,18 @@ workflows:
branches:
only:
- develop
- feature-appframework
jobs:
- build-image
- unit-tests
- eks-integration-tests:
requires:
- build-image
- unit-tests
- appfw-eks-integration-tests:
requires:
- build-image
- unit-tests
- vulnerability-scan:
requires:
- build-image
Expand Down Expand Up @@ -105,7 +110,7 @@ executors:
# Set cluster workers to 5 (5 cluster nodes)
# NUM_NODES represent number of parallel test executions
# NUM_WORKERS represent number of nodes in a k8 cluster
NUM_NODES: 5
NUM_NODES: 3
NUM_WORKERS: 8
CLUSTER_NAME: eks-integration-test-cluster
ENTERPRISE_IMAGE_NAME: splunk/splunk:edge
Expand Down Expand Up @@ -315,7 +320,6 @@ jobs:
mkdir -p /tmp/test-results
find ./test -name "*junit.xml" -exec cp {} /tmp/test-results \;
environment:
# TEST_FOCUS: "smoke|ingest_search|monitoring_console|smartstore|licensemaster|scaling_test|crcrud|secret"
TEST_FOCUS: "integration"
- store_test_results:
name: Save test results
Expand Down Expand Up @@ -386,6 +390,7 @@ jobs:
echo 'export CLUSTER_WORKERS=${NUM_WORKERS}' >> $BASH_ENV
echo 'export TEST_CLUSTER_PLATFORM=eks' >> $BASH_ENV
echo 'export PRIVATE_REGISTRY=$ECR_REPOSITORY' >> $BASH_ENV
echo 'export TEST_CLUSTER_NAME=eks-integration-test-cluster-${CIRCLE_BUILD_NUM}' >> $BASH_ENV
- kubernetes/install
- aws-cli/install
- aws-eks/install-eksctl
Expand All @@ -405,6 +410,7 @@ jobs:
echo "SPLUNK_ENTEPRISE_IMAGE=$SPLUNK_ENTERPRISE_IMAGE"
echo "PRIVATE_REGISTRY=$PRIVATE_REGISTRY"
echo "CLUSTER_PROVIDER=$TEST_CLUSTER_PLATFORM"
echo "TEST_CLUSTER=$TEST_CLUSTER_NAME"
- run:
# Deploys a eks or kind cluster depending of CLUSTER_PROVIDER flag. If cluster already exists,
# it will skip. Uses NUM_WORKERS for size of cluster
Expand All @@ -422,15 +428,81 @@ jobs:
mkdir -p /tmp/test-results
find ./test -name "*junit.xml" -exec cp {} /tmp/test-results \;
environment:
# TEST_FOCUS: "smoke|ingest_search|monitoring_console|smartstore|licensemaster|scaling_test|crcrud|secret"
TEST_FOCUS: "integration"
- store_test_results:
name: Save test results
path: /tmp/test-results
- store_artifacts:
path: /tmp/test-results
- run:
when: always
# Delete k8 cluster
name: Delete cluster
command: |
make cluster-down
no_output_timeout: 30m
# Runs integration tests against a kubernetes cluster
appfw-eks-integration-tests:
executor: test-runner
steps:
- run:
name: Setup Splunk operator and enterprise image env vars
command: |
echo 'export SPLUNK_OPERATOR_IMAGE=${IMAGE_NAME}:${CIRCLE_SHA1}' >> $BASH_ENV
echo 'export SPLUNK_ENTERPRISE_IMAGE=${ENTERPRISE_IMAGE_NAME}' >> $BASH_ENV
echo 'export COMMIT_HASH=$(echo ${CIRCLE_SHA1:0:7})' >> $BASH_ENV
echo 'export CLUSTER_NODES=${NUM_NODES}' >> $BASH_ENV
echo 'export CLUSTER_WORKERS=${NUM_WORKERS}' >> $BASH_ENV
echo 'export TEST_CLUSTER_PLATFORM=eks' >> $BASH_ENV
echo 'export PRIVATE_REGISTRY=$ECR_REPOSITORY' >> $BASH_ENV
echo 'export TEST_CLUSTER_NAME=appfw-eks-integration-test-cluster-${CIRCLE_BUILD_NUM}' >> $BASH_ENV
echo 'export NUM_NODES=2' >> $BASH_ENV
- kubernetes/install
- aws-cli/install
- aws-eks/install-eksctl
- checkout
- attach_workspace:
name: Restore workspace
at: /tmp
# load the operator image to local registry in the VM
- load_image
- run:
name: Print out version and environment
command: |
ls -al
echo "GO VERSION=`go version`"
echo "CIRCLE_SHA1=$CIRCLE_SHA1"
echo "SPLUNK_OPERATOR_IMAGE=$SPLUNK_OPERATOR_IMAGE"
echo "SPLUNK_ENTEPRISE_IMAGE=$SPLUNK_ENTERPRISE_IMAGE"
echo "PRIVATE_REGISTRY=$PRIVATE_REGISTRY"
echo "CLUSTER_PROVIDER=$TEST_CLUSTER_PLATFORM"
echo "TEST_CLUSTER=$TEST_CLUSTER_NAME"
- run:
# Deploys a eks or kind cluster depending of CLUSTER_PROVIDER flag. If cluster already exists,
# it will skip. Uses NUM_WORKERS for size of cluster
name: Deploy k8s cluster
command: |
make cluster-up
kubectl version # log the k8s version
no_output_timeout: 30m
- run:
# Run the integration tests againsts the cluster deployed above.
# Test againsts the SPLUNK_OPERATOR_IMAGE and SPLUNK_ENTERPRISE_IMAGE
name: Run integration tests
command: |
make int-test
mkdir -p /tmp/test-results
find ./test -name "*junit.xml" -exec cp {} /tmp/test-results \;
environment:
TEST_FOCUS: "appframework"
- store_test_results:
name: Save test results
path: /tmp/test-results
- store_artifacts:
path: /tmp/test-results
- run:
# Delete k8 cluster
when: always
name: Delete cluster
command: |
make cluster-down
Expand Down
31 changes: 26 additions & 5 deletions build/make_bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
set -e

VERSION=`grep "Version.*=.*\".*\"" version/version.go | sed "s,.*Version.*=.*\"\(.*\)\".*,\1,"`
OLD_VERSIONS="v1beta1 v1alpha3 v1alpha2"
OLD_VERSIONS="v1 v1beta1 v1alpha3 v1alpha2"
DOCKER_IO_PATH="docker.io/splunk"
REDHAT_REGISTRY_PATH="registry.connect.redhat.com/splunk"
OPERATOR_IMAGE="$DOCKER_IO_PATH/splunk-operator:${VERSION}"
OLM_CATALOG=deploy/olm-catalog
OLM_CERTIFIED=deploy/olm-certified
YAML_SCRIPT_FILE=.yq_script.yaml
CRDS_PATH="deploy/crds"

# create yq template to append older CRD versions
rm -f $YAML_SCRIPT_FILE
Expand All @@ -26,6 +27,7 @@ for v in $OLD_VERSIONS; do
schema:
openAPIV3Schema:
type: object
x-kubernetes-preserve-unknown-fields: true
properties:
apiVersion:
type: string
Expand Down Expand Up @@ -90,7 +92,7 @@ cat << EOF >$YAML_SCRIPT_FILE
path: metadata.annotations.alm-examples
value: |-
[{
"apiVersion": "enterprise.splunk.com/v1",
"apiVersion": "enterprise.splunk.com/v2",
"kind": "IndexerCluster",
"metadata": {
"name": "example",
Expand All @@ -101,7 +103,7 @@ cat << EOF >$YAML_SCRIPT_FILE
}
},
{
"apiVersion": "enterprise.splunk.com/v1",
"apiVersion": "enterprise.splunk.com/v2",
"kind": "LicenseMaster",
"metadata": {
"name": "example",
Expand All @@ -110,7 +112,7 @@ cat << EOF >$YAML_SCRIPT_FILE
"spec": {}
},
{
"apiVersion": "enterprise.splunk.com/v1",
"apiVersion": "enterprise.splunk.com/v2",
"kind": "SearchHeadCluster",
"metadata": {
"name": "example",
Expand All @@ -121,7 +123,7 @@ cat << EOF >$YAML_SCRIPT_FILE
}
},
{
"apiVersion": "enterprise.splunk.com/v1",
"apiVersion": "enterprise.splunk.com/v2",
"kind": "Standalone",
"metadata": {
"name": "example",
Expand All @@ -145,3 +147,22 @@ yq w $OLM_CATALOG/splunk/splunk.package.yaml packageName "splunk-certified" > $O

# Mac OS expects sed -i '', Linux expects sed -i''. To workaround this, using .bak
zip $OLM_CERTIFIED/splunk.zip -j $OLM_CERTIFIED/splunk $OLM_CERTIFIED/splunk/*

# This adds the 'protocol' field back to the CRDs, when we try to run make package or make generate.
# NOTE: This is a temporary fix and should not be needed in future operator-sdk upgrades.
function updateCRDS {
for crd in `ls $1`
do
echo Updating crd: $crd
line_num=`grep -n "x-kubernetes-list-map-keys" $1/$crd | awk -F ":" '{print$1}'`
line_num=$(($line_num-2))
awk 'NR==v1{print " - protocol"}1' v1="${line_num}" $1/$crd > tmp.out
mv tmp.out $1/$crd
done
}

echo Updating $CRDS_PATH
updateCRDS $CRDS_PATH

echo Updating $OLM_CATALOG/splunk/$VERSION
updateCRDS $OLM_CATALOG/splunk/$VERSION
2 changes: 1 addition & 1 deletion build/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ cat release-${VERSION}/splunk-operator-crds.yaml deploy/namespace.yaml > release
echo "---" >> release-${VERSION}/splunk-operator-cluster.yaml
yq w deploy/service_account.yaml metadata.namespace splunk-operator >> release-${VERSION}/splunk-operator-cluster.yaml
echo "---" >> release-${VERSION}/splunk-operator-cluster.yaml
yq w deploy/role.yaml metadata.namespace splunk-operator | yq w - kind ClusterRole >> release-${VERSION}/splunk-operator-cluster.yaml
yq w deploy/role.yaml kind ClusterRole >> release-${VERSION}/splunk-operator-cluster.yaml
echo "---" >> release-${VERSION}/splunk-operator-cluster.yaml
yq w deploy/role_binding.yaml metadata.namespace splunk-operator | yq w - roleRef.kind ClusterRole >> release-${VERSION}/splunk-operator-cluster.yaml
cat deploy/cluster_role.yaml deploy/cluster_role_binding.yaml >> release-${VERSION}/splunk-operator-cluster.yaml
Expand Down
13 changes: 10 additions & 3 deletions deploy/cluster_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@ metadata:
name: splunk:operator:resource-manager
rules:
- apiGroups:
- enterprise.splunk.com
- ""
resources:
- '*'
- secrets
verbs:
- '*'
- watch
- list
- apiGroups:
- enterprise.splunk.com
resources:
- '*'
verbs:
- '*'
- apiGroups:
- apps
resources:
Expand Down
Loading