Skip to content

Commit d7147a2

Browse files
committed
fix: r
Signed-off-by: ashing <[email protected]>
1 parent b3c1b75 commit d7147a2

File tree

4 files changed

+5
-40
lines changed

4 files changed

+5
-40
lines changed

api/v1alpha1/gatewayproxy_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ type GatewayProxySpec struct {
2929
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
3030
// Important: Run "make" to regenerate code after modifying this file
3131

32-
Plugins []GatewayProxyPlugin `json:"plugins,omitempty"`
33-
PluginMetadata map[string]Plugin `json:"pluginMetadata,omitempty"`
32+
Plugins []GatewayProxyPlugin `json:"plugins,omitempty"`
33+
PluginMetadata map[string]apiextensionsv1.JSON `json:"pluginMetadata,omitempty"`
3434
}
3535

3636
//+kubebuilder:object:root=true

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/gateway.apisix.io_gatewayproxies.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,7 @@ spec:
4141
properties:
4242
pluginMetadata:
4343
additionalProperties:
44-
properties:
45-
config:
46-
description: Plugin configuration.
47-
x-kubernetes-preserve-unknown-fields: true
48-
name:
49-
description: The plugin name.
50-
type: string
51-
required:
52-
- config
53-
- name
54-
type: object
44+
x-kubernetes-preserve-unknown-fields: true
5545
type: object
5646
plugins:
5747
items:

config/rbac/role.yaml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -63,32 +63,6 @@ rules:
6363
- get
6464
- list
6565
- watch
66-
- apiGroups:
67-
- gateway.apisix.io.github.com
68-
resources:
69-
- gatewayproxies
70-
verbs:
71-
- create
72-
- delete
73-
- get
74-
- list
75-
- patch
76-
- update
77-
- watch
78-
- apiGroups:
79-
- gateway.apisix.io.github.com
80-
resources:
81-
- gatewayproxies/finalizers
82-
verbs:
83-
- update
84-
- apiGroups:
85-
- gateway.apisix.io.github.com
86-
resources:
87-
- gatewayproxies/status
88-
verbs:
89-
- get
90-
- patch
91-
- update
9266
- apiGroups:
9367
- gateway.networking.k8s.io
9468
resources:

0 commit comments

Comments
 (0)