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

feat: bump to GatewayAPI 1.1.0 #245

Merged
merged 9 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
fix: rbac
Signed-off-by: Lin Yang <reaver@flomesh.io>
  • Loading branch information
reaver-flomesh committed May 10, 2024
commit 7b97ccb53ea74a4054340bf0a0a0994cb84b2fcb
2 changes: 1 addition & 1 deletion charts/fsm/templates/cleanup-hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ rules:
- apiGroups: [ "gateway.networking.k8s.io" ]
resources: [ "gatewayclasses", "gateways" ]
verbs: [ "get", "list", "create", "update", "patch", "delete" ]
- apiGroups: [ "flomesh.io" ]
- apiGroups: [ "networking.flomesh.io" ]
resources: [ "namespacedingresses" ]
verbs: [ "get", "list", "create", "update", "patch", "delete" ]
---
Expand Down
12 changes: 6 additions & 6 deletions charts/fsm/templates/fsm-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ rules:
verbs: ["update"]

# FSM's MultiCluster resource API
- apiGroups: ["flomesh.io"]
- apiGroups: ["multicluster.flomesh.io"]
resources: ["clusters", "serviceimports", "serviceexports", "globaltrafficpolicies"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]

- apiGroups: ["flomesh.io"]
- apiGroups: ["multicluster.flomesh.io"]
resources: ["clusters/finalizers", "serviceimports/finalizers", "serviceexports/finalizers", "globaltrafficpolicies/finalizers"]
verbs: ["update"]

- apiGroups: ["flomesh.io"]
- apiGroups: ["multicluster.flomesh.io"]
resources: ["clusters/status", "serviceimports/status", "serviceexports/status", "globaltrafficpolicies/status"]
verbs: ["get", "patch", "update"]

Expand Down Expand Up @@ -125,13 +125,13 @@ rules:
verbs: ["update"]

# FSM's NamespacedIngress API
- apiGroups: [ "flomesh.io" ]
- apiGroups: [ "networking.flomesh.io" ]
resources: [ "namespacedingresses" ]
verbs: [ "get", "list", "watch", "create", "update", "patch", "delete" ]
- apiGroups: [ "flomesh.io" ]
- apiGroups: [ "networking.flomesh.io" ]
resources: [ "namespacedingresses/finalizers" ]
verbs: [ "update" ]
- apiGroups: [ "flomesh.io" ]
- apiGroups: [ "networking.flomesh.io" ]
resources: [ "namespacedingresses/status" ]
verbs: [ "get", "patch", "update" ]

Expand Down
4 changes: 2 additions & 2 deletions codegen/gen-crd-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ generate_client "policy" "v1alpha1"
echo "##### Generating networking.k8s.io client ######"
generate_client "networking" "v1"

echo "##### Generating flomesh.io multi cluster service client ######"
echo "##### Generating multicluster.flomesh.io client ######"
generate_client "multicluster" "v1alpha1"

echo "##### Generating flomesh.io plugin client ######"
Expand All @@ -92,7 +92,7 @@ generate_client "machine" "v1alpha1"
echo "##### Generating flomesh.io connector client ######"
generate_client "connector" "v1alpha1"

echo "##### Generating flomesh.io NamespacedIngress client ######"
echo "##### Generating networking.flomesh.io client ######"
generate_client "namespacedingress" "v1alpha1"

echo "##### Generating gateway.flomesh.io PolicyAttachment client ######"
Expand Down
Loading