another nfs -client provisioner
This commit is contained in:
@@ -33,8 +33,7 @@ spec:
|
|||||||
default: []
|
default: []
|
||||||
- name: BUILDER_IMAGE
|
- name: BUILDER_IMAGE
|
||||||
description: The image on which builds will run (default is v1.5.1)
|
description: The image on which builds will run (default is v1.5.1)
|
||||||
default: gcr.io/kaniko-project/executor:v1.8.0
|
default: gcr.io/kaniko-project/executor:v1.9.1
|
||||||
#default: gcr.io/kaniko-project/executor:v1.5.1@sha256:c6166717f7fe0b7da44908c986137ecfeab21f31ec3992f6e128fff8a94be8a5
|
|
||||||
workspaces:
|
workspaces:
|
||||||
- name: source
|
- name: source
|
||||||
description: Holds the context and docker file
|
description: Holds the context and docker file
|
||||||
@@ -60,7 +59,9 @@ spec:
|
|||||||
- --single-snapshot
|
- --single-snapshot
|
||||||
- --use-new-run
|
- --use-new-run
|
||||||
- --skip-tls-verify
|
- --skip-tls-verify
|
||||||
- --cache-dir /workspace/cache
|
- --cache
|
||||||
|
- --cache-copy-layers
|
||||||
|
- --cache-dir=/workspace/cache
|
||||||
# kaniko assumes it is running as root, which means this example fails on platforms
|
# kaniko assumes it is running as root, which means this example fails on platforms
|
||||||
# that default to run containers as random uid (like OpenShift). Adding this securityContext
|
# that default to run containers as random uid (like OpenShift). Adding this securityContext
|
||||||
# makes it explicit that it needs to run as root.
|
# makes it explicit that it needs to run as root.
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
serviceAccountName: nfs-client-provisioner
|
serviceAccountName: nfs-client-provisioner
|
||||||
containers:
|
containers:
|
||||||
- name: nfs-hdd-ebin01
|
- name: nfs-hdd-ebin01
|
||||||
image: quay.io/external_storage/nfs-client-provisioner-arm:latest
|
image: 8s.gcr.io/sig-storage/nfs-subdir-external-provisioner:v4.0.2
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: nfs-client-root
|
- name: nfs-client-root
|
||||||
mountPath: /persistentvolumes
|
mountPath: /persistentvolumes
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
serviceAccountName: nfs-client-provisioner
|
serviceAccountName: nfs-client-provisioner
|
||||||
containers:
|
containers:
|
||||||
- name: nfs-ssd-ebin01
|
- name: nfs-ssd-ebin01
|
||||||
image: quay.io/external_storage/nfs-client-provisioner-arm:latest
|
image: 8s.gcr.io/sig-storage/nfs-subdir-external-provisioner:v4.0.2
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: nfs-client-root
|
- name: nfs-client-root
|
||||||
mountPath: /persistentvolumes
|
mountPath: /persistentvolumes
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
serviceAccountName: nfs-client-provisioner
|
serviceAccountName: nfs-client-provisioner
|
||||||
containers:
|
containers:
|
||||||
- name: nfs-ssd-ebin02
|
- name: nfs-ssd-ebin02
|
||||||
image: quay.io/external_storage/nfs-client-provisioner-arm:latest
|
image: k8s.gcr.io/sig-storage/nfs-subdir-external-provisioner:v4.0.2
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: nfs-client-root
|
- name: nfs-client-root
|
||||||
mountPath: /persistentvolumes
|
mountPath: /persistentvolumes
|
||||||
|
|||||||
Reference in New Issue
Block a user