Skip to content

Commit

Permalink
fix operator chart issue (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
weekface authored Apr 28, 2019
1 parent 3dea9f9 commit 9cbb992
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ spec:
- -cluster-scoped={{ .Values.clusterScoped }}
- -auto-failover={{ .Values.controllerManager.autoFailover | default false }}
- -pd-failover-period={{ .Values.controllerManager.pdFailoverPeriod | default "5m" }}
- -tikv-failover-period={{ .Values.controllerManager.tikvFailoverPeriod | default "5m" }}
- -tidb-failover-period={{ .Values.controllerManager.tidbFailoverPeriod | default "5m" }}
- -v={{ .Values.controllerManager.logLevel }}
env:
Expand Down
2 changes: 2 additions & 0 deletions charts/tidb-operator/templates/scheduler-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
containers:
- name: {{ .Values.scheduler.schedulerName }}
image: {{ .Values.operatorImage }}
imagePullPolicy: {{ .Values.imagePullPolicy | default "IfNotPresent" }}
resources:
{{ toYaml .Values.scheduler.resources | indent 12 }}
command:
Expand All @@ -36,6 +37,7 @@ spec:
- -port=10262
- name: kube-scheduler
image: {{ required "scheduler.kubeSchedulerImageName is required" .Values.scheduler.kubeSchedulerImageName }}:{{ .Values.scheduler.kubeSchedulerImageTag | default (split "-" .Capabilities.KubeVersion.GitVersion)._0 }}
imagePullPolicy: {{ .Values.imagePullPolicy | default "IfNotPresent" }}
resources:
{{ toYaml .Values.scheduler.resources | indent 12 }}
command:
Expand Down

0 comments on commit 9cbb992

Please sign in to comment.