diff --git a/charts/kaito/gpu-provisioner/templates/clusterrole-core.yaml b/charts/kaito/gpu-provisioner/templates/clusterrole-core.yaml index b2d8c5aa2..b697ce02a 100644 --- a/charts/kaito/gpu-provisioner/templates/clusterrole-core.yaml +++ b/charts/kaito/gpu-provisioner/templates/clusterrole-core.yaml @@ -56,7 +56,7 @@ rules: verbs: ["create", "patch"] - apiGroups: [""] resources: ["nodes"] - verbs: ["create", "patch", "delete"] + verbs: ["patch", "delete"] - apiGroups: [""] resources: ["pods/eviction"] verbs: ["create"] diff --git a/charts/kaito/workspace/templates/clusterrole.yaml b/charts/kaito/workspace/templates/clusterrole.yaml index 6a6b7afa1..4eecde327 100644 --- a/charts/kaito/workspace/templates/clusterrole.yaml +++ b/charts/kaito/workspace/templates/clusterrole.yaml @@ -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"] diff --git a/charts/kaito/workspace/templates/deployment.yaml b/charts/kaito/workspace/templates/deployment.yaml index 92d8ea1af..72b35b412 100644 --- a/charts/kaito/workspace/templates/deployment.yaml +++ b/charts/kaito/workspace/templates/deployment.yaml @@ -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