Skip to content

Commit

Permalink
update controller gen version sync with main
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoninl committed Oct 12, 2024
1 parent 564690e commit 885e033
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 75 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ spec:
type: string
ServerAddress:
type: string
required:
- Bucket
- FileExtension
- ServerAddress
type: object
SQLSetting:
properties:
Expand All @@ -102,6 +106,8 @@ spec:
type: string
username:
type: string
required:
- serverAddress
type: object
type: object
telemetryServiceEndpoint:
Expand Down
27 changes: 2 additions & 25 deletions pkg/k8s/crd/config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,6 @@ rules:
- shifu.edgenesis.io
resources:
- edgedevices
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- shifu.edgenesis.io
resources:
- edgedevices/finalizers
verbs:
- update
- apiGroups:
- shifu.edgenesis.io
resources:
- edgedevices/status
verbs:
- get
- patch
- update
- apiGroups:
- shifu.edgenesis.io
resources:
- telemetryservices
verbs:
- create
Expand All @@ -45,12 +20,14 @@ rules:
- apiGroups:
- shifu.edgenesis.io
resources:
- edgedevices/finalizers
- telemetryservices/finalizers
verbs:
- update
- apiGroups:
- shifu.edgenesis.io
resources:
- edgedevices/status
- telemetryservices/status
verbs:
- get
Expand Down
6 changes: 6 additions & 0 deletions pkg/k8s/crd/install/config_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ spec:
type: string
ServerAddress:
type: string
required:
- Bucket
- FileExtension
- ServerAddress
type: object
SQLSetting:
properties:
Expand All @@ -265,6 +269,8 @@ spec:
type: string
username:
type: string
required:
- serverAddress
type: object
type: object
telemetryServiceEndpoint:
Expand Down
33 changes: 8 additions & 25 deletions pkg/k8s/crd/install/config_default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@ spec:
type: string
ServerAddress:
type: string
required:
- Bucket
- FileExtension
- ServerAddress
type: object
SQLSetting:
properties:
Expand All @@ -272,6 +276,8 @@ spec:
type: string
username:
type: string
required:
- serverAddress
type: object
type: object
telemetryServiceEndpoint:
Expand Down Expand Up @@ -345,31 +351,6 @@ rules:
- shifu.edgenesis.io
resources:
- edgedevices
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- shifu.edgenesis.io
resources:
- edgedevices/finalizers
verbs:
- update
- apiGroups:
- shifu.edgenesis.io
resources:
- edgedevices/status
verbs:
- get
- patch
- update
- apiGroups:
- shifu.edgenesis.io
resources:
- telemetryservices
verbs:
- create
Expand All @@ -382,12 +363,14 @@ rules:
- apiGroups:
- shifu.edgenesis.io
resources:
- edgedevices/finalizers
- telemetryservices/finalizers
verbs:
- update
- apiGroups:
- shifu.edgenesis.io
resources:
- edgedevices/status
- telemetryservices/status
verbs:
- get
Expand Down
33 changes: 8 additions & 25 deletions pkg/k8s/crd/install/shifu_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@ spec:
type: string
ServerAddress:
type: string
required:
- Bucket
- FileExtension
- ServerAddress
type: object
SQLSetting:
properties:
Expand All @@ -272,6 +276,8 @@ spec:
type: string
username:
type: string
required:
- serverAddress
type: object
type: object
telemetryServiceEndpoint:
Expand Down Expand Up @@ -345,31 +351,6 @@ rules:
- shifu.edgenesis.io
resources:
- edgedevices
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- shifu.edgenesis.io
resources:
- edgedevices/finalizers
verbs:
- update
- apiGroups:
- shifu.edgenesis.io
resources:
- edgedevices/status
verbs:
- get
- patch
- update
- apiGroups:
- shifu.edgenesis.io
resources:
- telemetryservices
verbs:
- create
Expand All @@ -382,12 +363,14 @@ rules:
- apiGroups:
- shifu.edgenesis.io
resources:
- edgedevices/finalizers
- telemetryservices/finalizers
verbs:
- update
- apiGroups:
- shifu.edgenesis.io
resources:
- edgedevices/status
- telemetryservices/status
verbs:
- get
Expand Down

0 comments on commit 885e033

Please sign in to comment.