Skip to content

Commit

Permalink
upgrade cass-operator to 1.6.0 (#41)
Browse files Browse the repository at this point in the history
I replaced the all-in-one operator manifest file with separate files in part
to make the updates a little easier.
  • Loading branch information
jsanda authored Mar 22, 2021
1 parent 5c3f0fb commit 5768396
Show file tree
Hide file tree
Showing 13 changed files with 377 additions and 265 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/k8ssandra/reaper-operator
go 1.15

require (
github.com/datastax/cass-operator v1.5.1-0.20210112050706-a45fd80b40e0
github.com/datastax/cass-operator v1.6.0
github.com/go-logr/logr v0.1.0
github.com/k8ssandra/reaper-client-go v0.3.0
github.com/onsi/ginkgo v1.12.1
Expand Down
247 changes: 0 additions & 247 deletions test/config/cass-operator/cass-operator.yaml

This file was deleted.

14 changes: 14 additions & 0 deletions test/config/cass-operator/cluster_role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cass-operator-cr
rules:
- apiGroups:
- ""
resources:
- nodes
- persistentvolumes
verbs:
- get
- list
- watch
13 changes: 13 additions & 0 deletions test/config/cass-operator/cluster_role_binding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: cass-operator-crb
subjects:
- kind: ServiceAccount
name: cass-operator
# The namespace is removed here in order for it to be set by kustomize. See
# https://github.com/kubernetes-sigs/kustomize/pull/166 for details.
roleRef:
kind: ClusterRole
name: cass-operator-cr
apiGroup: rbac.authorization.k8s.io
Loading

0 comments on commit 5768396

Please sign in to comment.