Skip to content

Commit

Permalink
Merge pull request #815 from blend/fix-leader-election
Browse files Browse the repository at this point in the history
Fix leader election config in the helm chart
  • Loading branch information
k8s-ci-robot authored Oct 31, 2024
2 parents bb56af1 + 57333b5 commit 9497a4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ data:
kind: KubeSchedulerConfiguration
leaderElection:
leaderElect: {{ .Values.scheduler.leaderElect }}
resourceNamespace: {{ .Release.Namespace }}
resourceName: {{ .Values.scheduler.name }}
profiles:
# Compose all plugins in one profile
- schedulerName: {{ .Values.scheduler.name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ rules:
resources: ["leases"]
verbs: ["create"]
- apiGroups: ["coordination.k8s.io"]
resourceNames: ["kube-scheduler"]
resourceNames: ["{{ .Values.scheduler.name }}"]
resources: ["leases"]
verbs: ["get", "update"]
- apiGroups: [""]
resources: ["endpoints"]
verbs: ["create"]
- apiGroups: [""]
resourceNames: ["kube-scheduler"]
resourceNames: ["{{ .Values.scheduler.name }}"]
resources: ["endpoints"]
verbs: ["get", "update"]
- apiGroups: [""]
Expand Down

0 comments on commit 9497a4e

Please sign in to comment.