Skip to content

Commit

Permalink
fix linstor-node daemonset init-container spec
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan.Makeev <[email protected]>
  • Loading branch information
Ranger-X committed Nov 18, 2024
1 parent ccb263f commit 661eec4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 29 deletions.
6 changes: 0 additions & 6 deletions images/linstor-drbd-wait/REMOVEME.Dockerfile

This file was deleted.

20 changes: 0 additions & 20 deletions images/linstor-drbd-wait/entry.sh

This file was deleted.

9 changes: 6 additions & 3 deletions templates/linstor-node/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,13 @@ spec:
- name: {{ .Chart.Name }}-module-registry
affinity: {}
initContainers:
- env:
- name: FILE_CONTENT
value: "version: 9.2"
- name: WAITING_MSG
value: "Waiting for DRBD version 9.2.x on host"
- command:
- /bin/bash
- -c
- exec /entry.sh
- /linstor-drbd-wait
image: {{ include "helm_lib_module_image" (list . "linstorDrbdWait") }}
imagePullPolicy: IfNotPresent
name: wait-drbd-ver-9-2
Expand Down

0 comments on commit 661eec4

Please sign in to comment.