UNPKG

@atomist/sample-sdm

Version:

Sample Atomist automation for software delivery

96 lines (95 loc) 2.44 kB
{ "spec": { "template": { "spec": { "containers": [ { "env": [ { "name": "NODE_ENV", "value": "staging" }, { "name": "FORCE_COLOR", "value": "1" }, { "name": "ATOMIST_CONFIG", "valueFrom": { "secretKeyRef": { "name": "atm-sdm", "key": "config" } } }, { "name": "ATOMIST_CONFIG_PATH", "value": "/opt/atm/atomist-config.json" } ], "livenessProbe": { "httpGet": { "path": "/health", "port": "http", "scheme": "HTTP" }, "initialDelaySeconds": 20, "timeoutSeconds": 3, "periodSeconds": 20, "successThreshold": 1, "failureThreshold": 3 }, "readinessProbe": { "httpGet": { "path": "/health", "port": "http", "scheme": "HTTP" }, "initialDelaySeconds": 20, "timeoutSeconds": 3, "periodSeconds": 20, "successThreshold": 1, "failureThreshold": 3 }, "resources": { "limits": { "cpu": "2000m", "memory": "3000Mi" }, "requests": { "cpu": "500m", "memory": "1000Mi" } }, "volumeMounts": [ { "name": "docker-sock", "mountPath": "/var/run/docker.sock" }, { "name": "automation", "mountPath": "/opt/atm", "readOnly": true } ] } ], "volumes": [ { "name": "docker-sock", "hostPath": { "path": "/var/run/docker.sock" } }, { "name": "automation", "secret": { "secretName": "automation" } } ], "terminationGracePeriodSeconds": 180 } } } }