stx tool: lat-tool: Mount host urandom device to stx-lat-tool docker
Map host /dev/urandom to the /dev/random of stx-lat-tool container as the entropy seed. Make sure there is enough entropy seeds when we build the iso image, so that we can avoid the failure of during building image. Story: 2008862 Task: 44383 Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Change-Id: Idbeb764965c37f8cc33f5904c3ffecccd2b799ca
This commit is contained in:
parent
09ec170ed9
commit
17d69346ac
@ -36,7 +36,9 @@ spec:
|
||||
tty: true
|
||||
volumeMounts:
|
||||
- name: {{ .Values.volumes.name }}
|
||||
mountPath: {{ .Values.volumeMounts.mountPath}}
|
||||
mountPath: {{ .Values.volumeMounts.mountPath }}
|
||||
- name: {{ .Values.volumes.entropyname }}
|
||||
mountPath: {{ .Values.volumeMounts.entropymountPath }}
|
||||
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
@ -45,6 +47,9 @@ spec:
|
||||
- name: {{ .Values.volumes.name }}
|
||||
hostPath:
|
||||
path: {{ .Values.volumes.hostPath.path }}
|
||||
- name: {{ .Values.volumes.entropyname }}
|
||||
hostPath:
|
||||
path: {{ .Values.volumes.entropyhostPath.path }}
|
||||
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
|
@ -14,11 +14,16 @@ image:
|
||||
volumeMounts:
|
||||
name: latd-shared-workspace
|
||||
mountPath: /localdisk
|
||||
entropyname: entropy-device
|
||||
entropymountPath: /dev/random
|
||||
|
||||
volumes:
|
||||
name: latd-shared-workspace
|
||||
hostPath:
|
||||
path: /workspace/localdisk
|
||||
entropyname: entropydevice
|
||||
entropyhostPath:
|
||||
path: /dev/urandom
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user