Skip to content

Commit

Permalink
Drop unused configmaps/status permission + configurable binary path (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bpineau authored Oct 30, 2024
1 parent 5cb2f56 commit 33ba385
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 17 deletions.
2 changes: 1 addition & 1 deletion helm-chart/kuberay-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
mountPath: "{{ .Values.logging.baseDir }}"
{{- end }}
command:
- /manager
- {{ .Values.operatorComand }}
args:
{{- $argList := list -}}
{{- $argList = append $argList (include "kuberay.featureGates" . | trim) -}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ rules:
- update
- patch
- delete
- apiGroups:
- ""
resources:
- configmaps/status
verbs:
- get
- update
- patch
- apiGroups:
- ""
resources:
Expand Down
2 changes: 2 additions & 0 deletions helm-chart/kuberay-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ featureGates:
- name: RayClusterStatusConditions
enabled: false

# Path to the operator binary
operatorComand: /manager

# Set up `securityContext` to improve Pod security.
# See https://github.com/ray-project/kuberay/blob/master/docs/guidance/pod-security.md for further guidance.
Expand Down
8 changes: 0 additions & 8 deletions ray-operator/config/rbac/leader_election_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ rules:
- update
- patch
- delete
- apiGroups:
- ""
resources:
- configmaps/status
verbs:
- get
- update
- patch
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit 33ba385

Please sign in to comment.