Skip to content

Commit 665f1ba

Browse files
committed
fix leader election config
1 parent bb56af1 commit 665f1ba

File tree

1 file changed

+2
-0
lines changed
  • manifests/install/charts/as-a-second-scheduler/templates

1 file changed

+2
-0
lines changed

manifests/install/charts/as-a-second-scheduler/templates/configmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ data:
1010
kind: KubeSchedulerConfiguration
1111
leaderElection:
1212
leaderElect: {{ .Values.scheduler.leaderElect }}
13+
resourceNamespace: {{ .Release.Namespace }}
14+
resourceName: {{ .Values.scheduler.name }}
1315
profiles:
1416
# Compose all plugins in one profile
1517
- schedulerName: {{ .Values.scheduler.name }}

0 commit comments

Comments
 (0)