Skip to content

Commit

Permalink
fix: remove unused RBAC permissions and port
Browse files Browse the repository at this point in the history
  • Loading branch information
Fei-Guo committed Nov 1, 2023
1 parent 4e5c9b1 commit 6d33be4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ rules:
verbs: ["create", "patch"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["create", "patch", "delete"]
verbs: ["patch", "delete"]
- apiGroups: [""]
resources: ["pods/eviction"]
verbs: ["create"]
Expand Down
2 changes: 1 addition & 1 deletion charts/kaito/workspace/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rules:
verbs: ["create", "delete", "update", "patch","get","list","watch"]
- apiGroups: ["kaito.sh"]
resources: ["workspaces/status"]
verbs: ["create", "delete", "update", "patch","get","list","watch"]
verbs: ["update", "patch","get","list","watch"]
- apiGroups: [""]
resources: ["nodes", "namespaces"]
verbs: ["get","list","watch","update", "patch"]
Expand Down
3 changes: 0 additions & 3 deletions charts/kaito/workspace/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ spec:
- name: PRESET_REGISTRY_NAME
value: {{ .Values.presetRegistryName }}
ports:
- name: http
containerPort: 80
protocol: TCP
- name: http-metrics
containerPort: 8080
protocol: TCP
Expand Down

0 comments on commit 6d33be4

Please sign in to comment.