diff --git a/helm-chart/kuberay-operator/templates/deployment.yaml b/helm-chart/kuberay-operator/templates/deployment.yaml index a9cd9b5838..bccef07d46 100644 --- a/helm-chart/kuberay-operator/templates/deployment.yaml +++ b/helm-chart/kuberay-operator/templates/deployment.yaml @@ -53,7 +53,7 @@ spec: mountPath: "{{ .Values.logging.baseDir }}" {{- end }} command: - - /manager + - {{ .Values.operatorComand }} args: {{- $argList := list -}} {{- $argList = append $argList (include "kuberay.featureGates" . | trim) -}} diff --git a/helm-chart/kuberay-operator/templates/leader_election_role.yaml b/helm-chart/kuberay-operator/templates/leader_election_role.yaml index 9049e4d4b7..134fdebef4 100644 --- a/helm-chart/kuberay-operator/templates/leader_election_role.yaml +++ b/helm-chart/kuberay-operator/templates/leader_election_role.yaml @@ -17,14 +17,6 @@ rules: - update - patch - delete -- apiGroups: - - "" - resources: - - configmaps/status - verbs: - - get - - update - - patch - apiGroups: - "" resources: diff --git a/helm-chart/kuberay-operator/values.yaml b/helm-chart/kuberay-operator/values.yaml index 17321527f6..401d80e93b 100644 --- a/helm-chart/kuberay-operator/values.yaml +++ b/helm-chart/kuberay-operator/values.yaml @@ -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. diff --git a/ray-operator/config/rbac/leader_election_role.yaml b/ray-operator/config/rbac/leader_election_role.yaml index 8113201693..6f32a1b516 100644 --- a/ray-operator/config/rbac/leader_election_role.yaml +++ b/ray-operator/config/rbac/leader_election_role.yaml @@ -16,14 +16,6 @@ rules: - update - patch - delete -- apiGroups: - - "" - resources: - - configmaps/status - verbs: - - get - - update - - patch - apiGroups: - "" resources: