Initial commit
Add jenkins configuration for sandbox
Change-Id: I117fecfe3af0b14ea4aac7db3211bc3517caf56b
Related-PROD: RE-336
diff --git a/clouds/k8s-infra.yaml.example b/clouds/k8s-infra.yaml.example
new file mode 100644
index 0000000..927fa19
--- /dev/null
+++ b/clouds/k8s-infra.yaml.example
@@ -0,0 +1,53 @@
+---
+jenkins:
+ clouds:
+ - kubernetes:
+ name: k8s-infra
+ connectTimeout: 5
+ containerCapStr: 10
+ credentialsId: k8s-infra-config
+ maxRequestsPerHostStr: 32
+ readTimeout: 15
+ skipTlsVerify: true
+ webSocket: true
+ templates:
+ - name: dind-infra
+ showRawYaml: false
+ containers:
+ - name: docker
+ args: 99d
+ command: sleep
+ envVars:
+ - envVar:
+ key: DOCKER_HOST
+ value: tcp://localhost:2375
+ image: docker:19.03.1
+ livenessProbe:
+ failureThreshold: 0
+ initialDelaySeconds: 0
+ periodSeconds: 0
+ successThreshold: 0
+ timeoutSeconds: 0
+ workingDir: /home/jenkins/agent
+ - name: docker-daemon
+ envVars:
+ - envVar:
+ key: DOCKER_TLS_CERTDIR
+ image: docker:19.03.1-dind
+ livenessProbe:
+ failureThreshold: 0
+ initialDelaySeconds: 0
+ periodSeconds: 0
+ successThreshold: 0
+ timeoutSeconds: 0
+ privileged: true
+
+credentials:
+ system:
+ domainCredentials:
+ - credentials:
+ - file:
+ id: k8s-infra-config
+ fileName: k8s-re-jenkins-us-prod.yaml
+ secretBytes: ${CRED_K8S_RE_JENKINS_CONFIG_CONTENT}
+