更新 'Jenkinsfile'

main
newrain001 9 months ago
parent 784117f288
commit 9e3269c32d
  1. 6
      Jenkinsfile

6
Jenkinsfile vendored

@ -40,10 +40,6 @@ spec:
image: bitnami/kubectl:1.22.0 image: bitnami/kubectl:1.22.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
tty: true tty: true
command:
- tail
- -f
- /dev/null
volumeMounts: volumeMounts:
- mountPath: "/etc/localtime" - mountPath: "/etc/localtime"
name: "volume-2" name: "volume-2"
@ -51,7 +47,7 @@ spec:
- mountPath: "/var/run/docker.sock" - mountPath: "/var/run/docker.sock"
name: "volume-docker" name: "volume-docker"
readOnly: false readOnly: false
- mountPath: "/root/.kube/config" - mountPath: "/.kube/config"
subPath: config subPath: config
name: "kubeconfig" name: "kubeconfig"
readOnly: false readOnly: false

Loading…
Cancel
Save