Skip to content

Commit 9ba1dc6

Browse files
committed
Allow diskcheck env vars into containers (bsc#1270033)
1 parent c938fad commit 9ba1dc6

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

mgradm/shared/templates/pgsqlServiceTemplate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ ExecStart=/bin/sh -c '/usr/bin/podman run \
5656
{{- end }}
5757
--network {{ .Network }} \
5858
--health-on-failure=stop \
59-
${UYUNI_BACKUP_VOLUME} ${PODMAN_EXTRA_ARGS} ${UYUNI_IMAGE}'
59+
${PODMAN_EXTRA_ENV_VAR} ${UYUNI_BACKUP_VOLUME} ${PODMAN_EXTRA_ARGS} ${UYUNI_IMAGE}'
6060
ExecStop=/usr/bin/podman stop \
6161
--ignore -t 10 \
6262
--cidfile=%t/%n.ctr-id

mgradm/shared/templates/serviceTemplate.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ ExecStart=/bin/sh -c '/usr/bin/podman run \
4343
{{- range .Volumes }}
4444
-v {{ .Name }}:{{ .MountPath }} \
4545
{{- end }}
46+
${PODMAN_EXTRA_ENV_VAR} \
4647
--env-file={{ .ServerEnvFile }} \
4748
--network {{ .Network }} \
4849
{{- if .DBUserSecret }}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Allow diskcheck env vars into containers (bsc#1270033)

0 commit comments

Comments
 (0)