Zhixiong Chi 17d69346ac 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
2022-01-30 04:58:38 -05:00

70 lines
1.5 KiB
YAML

# Default values for stx-lat-tool.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
---
replicaCount: 1
image:
repository: stx-lat-tool
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v0.1.0"
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: ""
fullnameOverride: ""
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext:
privileged: true
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}