* New pod stx-docker running "docker-in-docker" image
* New optional env var STX_INSECURE_DOCKER_REGISTRIES to disable SSL
validation for select registries in stx-docker
* stx-builder: install docker client in POD image
* stx-builder: add env vars that point docker client to the new docker
service POD
TESTS
=====
* Rebuild all build images
* Make sure docker works within "builder" pod:
- docker pull
- docker build
- docker login
- docker push
- docker run with volume mounts under /localdisk/{loadbuild,designer},
make sure these location are visible and can be mounted by the
docker service
Story: 2009897
Task: 44691
Change-Id: I2b51c5f90bf2dee1ed6a159c60d76fc05e1f325a
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
72 lines
1.4 KiB
YAML
72 lines
1.4 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: docker
|
|
pullPolicy: IfNotPresent
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
tag: "20.10.12-dind"
|
|
|
|
volumes:
|
|
sharedWorkspace:
|
|
mountPath: /localdisk
|
|
hostPath: /localdisk
|
|
dockerRun:
|
|
mountPath: /var/run/docker
|
|
hostPath: /docker/run
|
|
|
|
services:
|
|
dockerDaemon:
|
|
type: ClusterIP
|
|
port: 2375
|
|
|
|
insecureRegistries:
|
|
# - "registry.address:port"
|
|
|
|
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: {}
|