You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by zh...@apache.org on 2023/10/20 08:54:05 UTC

[incubator-hugegraph-computer] branch master updated: fix(k8s): modify inconsistent apiGroups (#270)

This is an automated email from the ASF dual-hosted git repository.

zhaocong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-computer.git


The following commit(s) were added to refs/heads/master by this push:
     new 479e1a4b fix(k8s): modify inconsistent apiGroups (#270)
479e1a4b is described below

commit 479e1a4b89c46bcaf533595789adeddc196fed01
Author: Aaron Wang <wa...@gmail.com>
AuthorDate: Fri Oct 20 16:53:59 2023 +0800

    fix(k8s): modify inconsistent apiGroups (#270)
---
 computer-k8s-operator/crd-generate/api/v1/groupversion_info.go  | 6 +++---
 computer-k8s-operator/crd-generate/config/rbac/role.yaml        | 6 +++---
 computer-k8s-operator/manifest/hugegraph-computer-operator.yaml | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/computer-k8s-operator/crd-generate/api/v1/groupversion_info.go b/computer-k8s-operator/crd-generate/api/v1/groupversion_info.go
index b40020b1..cbf9e06b 100644
--- a/computer-k8s-operator/crd-generate/api/v1/groupversion_info.go
+++ b/computer-k8s-operator/crd-generate/api/v1/groupversion_info.go
@@ -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
diff --git a/computer-k8s-operator/crd-generate/config/rbac/role.yaml b/computer-k8s-operator/crd-generate/config/rbac/role.yaml
index 0069cba7..7b2ad6d2 100644
--- a/computer-k8s-operator/crd-generate/config/rbac/role.yaml
+++ b/computer-k8s-operator/crd-generate/config/rbac/role.yaml
@@ -178,7 +178,7 @@ rules:
   verbs:
   - get
 - apiGroups:
-  - hugegraph.apache.org
+  - operator.hugegraph.apache.org
   resources:
   - hugegraphcomputerjobs
   verbs:
@@ -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:
diff --git a/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml b/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml
index 94227fb4..aebc27be 100644
--- a/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml
+++ b/computer-k8s-operator/manifest/hugegraph-computer-operator.yaml
@@ -239,7 +239,7 @@ rules:
   verbs:
   - get
 - apiGroups:
-  - hugegraph.apache.org
+  - operator.hugegraph.apache.org
   resources:
   - hugegraphcomputerjobs
   verbs:
@@ -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: