values.yaml 1.18 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
# vim: ft=sls nolist

Image: docker
ImageTag: &itag "18-dind"

deploymentEnvironment: &env demo

Plug: docker

NodeSelectors:  []

InitCommands:
  -
    name: config
    command: cp /etc/docker_/config.json /etc/docker/


Env:
  -
    name: DOCKER_HOST
    value: localhost:49152
  -
    name: IMAGE_TAG
    value: *itag
  - 
    name: X_NODE_NAME
    valueFrom:
      fieldRef:
        fieldPath: spec.nodeName
        apiVersion: v1
  - 
    name: X_POD_IP
    valueFrom:
      fieldRef:
        fieldPath: status.podIP
        apiVersion: v1
  - 
    name: X_KUBE_NAMESPACE
    valueFrom:
      fieldRef:
        fieldPath: metadata.namespace
        apiVersion: v1
  -
    name: X_DEPLOYMENT_ENV
    value: *env
  - 
    name: X_POD_NAME
    valueFrom:
      fieldRef:
        fieldPath: metadata.name
        apiVersion: v1

# Volumes
Volumes: 
  -
    name: docker-config
    configMap:
      name: docker-config
      items: 
        -
          key: config
          path: config.json
          mode: 0600
  - 
    name: docker-config-directory
    emptyDir: {}



VolumeMounts:
  -
    name: docker-config
    mountPath: /etc/docker_
  -
    name: docker-config-directory
    mountPath: /etc/docker