Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSPL-2966: Feature: Manual App Updates per Custom Resource (CR) in Splunk Operator #1395

Open
wants to merge 25 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
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
3 changes: 2 additions & 1 deletion .github/workflows/build-test-push-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
make setup/ginkgo
go mod tidy
- name: Run Unit Tests
run: make test
run: |
make test
- name: Run Code Coverage
run: goveralls -coverprofile=coverage.out -service=circle-ci -repotoken ${{ secrets.COVERALLS_TOKEN }}
- name: Upload Coverage artifacts
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ build: setup/ginkgo manifests generate fmt vet ## Build manager binary.
run: manifests generate fmt vet ## Run a controller from your host.
go run ./main.go

docker-build: test ## Build docker image with the manager.
docker-build: #test ## Build docker image with the manager.
docker build -t ${IMG} .

docker-push: ## Push docker image with the manager.
Expand Down
288 changes: 274 additions & 14 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,113 @@ rules:
- ""
resources:
- configmaps
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- endpoints
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- persistentvolumeclaims
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- pods
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- pods/exec
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- serviceaccounts
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- services
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- services/finalizers
verbs:
- create
Expand All @@ -48,13 +147,6 @@ rules:
- enterprise.splunk.com
resources:
- clustermanagers
- clustermasters
- indexerclusters
- licensemanagers
- licensemasters
- monitoringconsoles
- searchheadclusters
- standalones
verbs:
- create
- delete
Expand All @@ -67,25 +159,193 @@ rules:
- enterprise.splunk.com
resources:
- clustermanagers/finalizers
- clustermasters/finalizers
- indexerclusters/finalizers
- licensemanagers/finalizers
- licensemasters/finalizers
- monitoringconsoles/finalizers
- searchheadclusters/finalizers
- standalones/finalizers
verbs:
- update
- apiGroups:
- enterprise.splunk.com
resources:
- clustermanagers/status
verbs:
- get
- patch
- update
- apiGroups:
- enterprise.splunk.com
resources:
- clustermasters
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- enterprise.splunk.com
resources:
- clustermasters/finalizers
verbs:
- update
- apiGroups:
- enterprise.splunk.com
resources:
- clustermasters/status
verbs:
- get
- patch
- update
- apiGroups:
- enterprise.splunk.com
resources:
- indexerclusters
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- enterprise.splunk.com
resources:
- indexerclusters/finalizers
verbs:
- update
- apiGroups:
- enterprise.splunk.com
resources:
- indexerclusters/status
verbs:
- get
- patch
- update
- apiGroups:
- enterprise.splunk.com
resources:
- licensemanagers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- enterprise.splunk.com
resources:
- licensemanagers/finalizers
verbs:
- update
- apiGroups:
- enterprise.splunk.com
resources:
- licensemanagers/status
verbs:
- get
- patch
- update
- apiGroups:
- enterprise.splunk.com
resources:
- licensemasters
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- enterprise.splunk.com
resources:
- licensemasters/finalizers
verbs:
- update
- apiGroups:
- enterprise.splunk.com
resources:
- licensemasters/status
verbs:
- get
- patch
- update
- apiGroups:
- enterprise.splunk.com
resources:
- monitoringconsoles
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- enterprise.splunk.com
resources:
- monitoringconsoles/finalizers
verbs:
- update
- apiGroups:
- enterprise.splunk.com
resources:
- monitoringconsoles/status
verbs:
- get
- patch
- update
- apiGroups:
- enterprise.splunk.com
resources:
- searchheadclusters
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- enterprise.splunk.com
resources:
- searchheadclusters/finalizers
verbs:
- update
- apiGroups:
- enterprise.splunk.com
resources:
- searchheadclusters/status
verbs:
- get
- patch
- update
- apiGroups:
- enterprise.splunk.com
resources:
- standalones
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- enterprise.splunk.com
resources:
- standalones/finalizers
verbs:
- update
- apiGroups:
- enterprise.splunk.com
resources:
- standalones/status
verbs:
- get
Expand Down
Loading
Loading