Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Zimin <alexandr.zimin@flant.com>
  • Loading branch information
AleksZimin committed Jan 23, 2024
1 parent b4ca8c5 commit cb809f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions templates/local-lvm-scheduler/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ metadata:
namespace: d8-{{ .Chart.Name }}
{{- include "helm_lib_module_labels" (list . (dict "app" "local-lvm-scheduler")) | nindent 2 }}
data:
scheduler-extender-config.yaml: |-
listen: "localhost:8099"
default-divisor: 1
{{- if semverCompare ">= 1.22" .Values.global.discovery.kubernetesVersion }}
scheduler-config.yaml: |-
{{- if semverCompare ">= 1.23" .Values.global.discovery.kubernetesVersion }}
Expand Down
4 changes: 3 additions & 1 deletion templates/local-lvm-scheduler/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ spec:
image: {{ include "helm_lib_module_image" (list . "localLvmSchedulerExtender") }}
imagePullPolicy: IfNotPresent
args:
- --verbose=true
- --config=/etc/local-lvm-scheduler-extender/scheduler-extender-config.yaml
- mountPath: /etc/local-lvm-scheduler-extender
name: scheduler-config
resources:
requests:
{{- include "helm_lib_module_ephemeral_storage_only_logs" . | nindent 14 }}
Expand Down

0 comments on commit cb809f4

Please sign in to comment.