Skip to content

Commit

Permalink
fix(k8s): modify inconsistent apiGroups (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
Radeity authored Oct 20, 2023
1 parent a21a191 commit 479e1a4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import (

// +kubebuilder:rbac:groups=core,resources=secrets,verbs=get
// +kubebuilder:rbac:groups=core,resources=namespaces,verbs=get;create;update
// +kubebuilder:rbac:groups=hugegraph.apache.org,resources=hugegraphcomputerjobs,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=hugegraph.apache.org,resources=hugegraphcomputerjobs/status,verbs=get;update;patch
// +kubebuilder:rbac:groups=hugegraph.apache.org,resources=hugegraphcomputerjobs/finalizers,verbs=update
// +kubebuilder:rbac:groups=operator.hugegraph.apache.org,resources=hugegraphcomputerjobs,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=operator.hugegraph.apache.org,resources=hugegraphcomputerjobs/status,verbs=get;update;patch
// +kubebuilder:rbac:groups=operator.hugegraph.apache.org,resources=hugegraphcomputerjobs/finalizers,verbs=update
// +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=apps,resources=deployments/status,verbs=get
// +kubebuilder:rbac:groups=apps,resources=statefulsets,verbs=get;list;watch;create;update;patch;delete
Expand Down
6 changes: 3 additions & 3 deletions computer-k8s-operator/crd-generate/config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ rules:
verbs:
- get
- apiGroups:
- hugegraph.apache.org
- operator.hugegraph.apache.org
resources:
- hugegraphcomputerjobs
verbs:
Expand All @@ -190,13 +190,13 @@ rules:
- update
- watch
- apiGroups:
- hugegraph.apache.org
- operator.hugegraph.apache.org
resources:
- hugegraphcomputerjobs/finalizers
verbs:
- update
- apiGroups:
- hugegraph.apache.org
- operator.hugegraph.apache.org
resources:
- hugegraphcomputerjobs/status
verbs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ rules:
verbs:
- get
- apiGroups:
- hugegraph.apache.org
- operator.hugegraph.apache.org
resources:
- hugegraphcomputerjobs
verbs:
Expand All @@ -251,13 +251,13 @@ rules:
- update
- watch
- apiGroups:
- hugegraph.apache.org
- operator.hugegraph.apache.org
resources:
- hugegraphcomputerjobs/finalizers
verbs:
- update
- apiGroups:
- hugegraph.apache.org
- operator.hugegraph.apache.org
resources:
- hugegraphcomputerjobs/status
verbs:
Expand Down

0 comments on commit 479e1a4

Please sign in to comment.