Compare commits
6 Commits
v4.0.2
...
nfs-subdir
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48e51b160c | ||
|
|
9a5d466349 | ||
|
|
eae7143d98 | ||
|
|
888d6dbd39 | ||
|
|
b8e203661b | ||
|
|
cadce2dbc9 |
@@ -1,5 +1,7 @@
|
|||||||
# v4.0.1
|
# v4.0.2
|
||||||
- Add arm7 (32bit) support (https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/pull/58)
|
- Add arm7 (32bit) support (https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/pull/58)
|
||||||
|
|
||||||
|
# v4.0.1
|
||||||
- Preserve name of the PV directory name during archiving (https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/pull/59)
|
- Preserve name of the PV directory name during archiving (https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/pull/59)
|
||||||
|
|
||||||
# v4.0.0
|
# v4.0.0
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ spec:
|
|||||||
serviceAccountName: nfs-client-provisioner
|
serviceAccountName: nfs-client-provisioner
|
||||||
containers:
|
containers:
|
||||||
- name: nfs-client-provisioner
|
- name: nfs-client-provisioner
|
||||||
image: gcr.io/k8s-staging-sig-storage/nfs-subdir-external-provisioner:v4.0.1
|
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
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
appVersion: 4.0.1
|
appVersion: 4.0.2
|
||||||
description: nfs-subdir-external-provisioner is an automatic provisioner that used your *already configured* NFS server, automatically creating Persistent Volumes.
|
description: nfs-subdir-external-provisioner is an automatic provisioner that used your *already configured* NFS server, automatically creating Persistent Volumes.
|
||||||
name: nfs-subdir-external-provisioner
|
name: nfs-subdir-external-provisioner
|
||||||
home: https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner
|
home: https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner
|
||||||
version: 4.0.6
|
version: 4.0.8
|
||||||
kubeVersion: ">=1.9.0-0"
|
kubeVersion: ">=1.9.0-0"
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner
|
- https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner
|
||||||
|
|||||||
@@ -52,8 +52,8 @@ The following tables lists the configurable parameters of this chart and their d
|
|||||||
| ----------------------------------- | ----------------------------------------------------------- | ------------------------------------------------- |
|
| ----------------------------------- | ----------------------------------------------------------- | ------------------------------------------------- |
|
||||||
| `replicaCount` | Number of provisioner instances to deployed | `1` |
|
| `replicaCount` | Number of provisioner instances to deployed | `1` |
|
||||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
||||||
| `image.repository` | Provisioner image | `gcr.io/k8s-staging-sig-storage/nfs-subdir-external-provisioner` |
|
| `image.repository` | Provisioner image | `k8s.gcr.io/sig-storage/nfs-subdir-external-provisioner` |
|
||||||
| `image.tag` | Version of provisioner image | `v4.0.1` |
|
| `image.tag` | Version of provisioner image | `v4.0.2` |
|
||||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||||
| `storageClass.name` | Name of the storageClass | `nfs-client` |
|
| `storageClass.name` | Name of the storageClass | `nfs-client` |
|
||||||
| `storageClass.defaultClass` | Set as the default StorageClass | `false` |
|
| `storageClass.defaultClass` | Set as the default StorageClass | `false` |
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ replicaCount: 1
|
|||||||
strategyType: Recreate
|
strategyType: Recreate
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: gcr.io/k8s-staging-sig-storage/nfs-subdir-external-provisioner
|
repository: k8s.gcr.io/sig-storage/nfs-subdir-external-provisioner
|
||||||
tag: v4.0.1
|
tag: v4.0.2
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
nfs:
|
nfs:
|
||||||
|
|||||||
@@ -104,8 +104,10 @@ func (p *nfsProvisioner) Provision(ctx context.Context, options controller.Provi
|
|||||||
pathPattern, exists := options.StorageClass.Parameters["pathPattern"]
|
pathPattern, exists := options.StorageClass.Parameters["pathPattern"]
|
||||||
if exists {
|
if exists {
|
||||||
customPath := metadata.stringParser(pathPattern)
|
customPath := metadata.stringParser(pathPattern)
|
||||||
path = filepath.Join(p.path, customPath)
|
if customPath != "" {
|
||||||
fullPath = filepath.Join(mountPath, customPath)
|
path = filepath.Join(p.path, customPath)
|
||||||
|
fullPath = filepath.Join(mountPath, customPath)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
glog.V(4).Infof("creating path %s", fullPath)
|
glog.V(4).Infof("creating path %s", fullPath)
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ spec:
|
|||||||
serviceAccountName: nfs-client-provisioner
|
serviceAccountName: nfs-client-provisioner
|
||||||
containers:
|
containers:
|
||||||
- name: nfs-client-provisioner
|
- name: nfs-client-provisioner
|
||||||
image: gcr.io/k8s-staging-sig-storage/nfs-subdir-external-provisioner:v4.0.1
|
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
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
serviceAccountName: nfs-client-provisioner
|
serviceAccountName: nfs-client-provisioner
|
||||||
containers:
|
containers:
|
||||||
- name: nfs-client-provisioner
|
- name: nfs-client-provisioner
|
||||||
image: gcr.io/k8s-staging-sig-storage/nfs-subdir-external-provisioner:v4.0.1
|
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