Skip to content

Commit

Permalink
cluster.core.oam.dev -> gateway.open-cluster-management.io
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Mar 4, 2024
1 parent b686435 commit e038153
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/cluster-auth-manager/common/gateway_cluster_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: open-cluster-management:cluster-auth:cluster-gateway
name: open-cluster-management:cluster-gateway:proxy
rules:
- apiGroups:
- cluster.core.oam.dev
- gateway.open-cluster-management.io
resources:
- clustergateways/health
- clustergateways/proxy
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster-auth-manager/common/work-agent/perm.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: work.open-cluster-management.io/v1alpha1
kind: ManifestWorkReplicaSet
metadata:
name: agent-roles
name: auth-agent
namespace: {{ include "cluster-auth-manager.namespace" $ }}
spec:
placementRefs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ rules:
resources: ["addondeploymentconfigs"]
verbs: ["get", "list", "watch"]
# cluster gateway
- apiGroups: [ "cluster.core.oam.dev" ]
- apiGroups: [ "gateway.open-cluster-management.io" ]
resources:
- "clustergateways/health"
- "clustergateways/proxy"
Expand Down

0 comments on commit e038153

Please sign in to comment.