mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/nfs-client-provisioner] Update to 3.1.0 (#7710)
* Update version to 3.0.2 Signed-off-by: Bart Verwilst <bart@verwilst.be> * Add PodSecurityPolicy support Signed-off-by: Bart Verwilst <bart@verwilst.be> * update docs for psp Signed-off-by: Bart Verwilst <bart@verwilst.be> * add serviceaccount docs Signed-off-by: Bart Verwilst <bart@verwilst.be> * rename psp support Signed-off-by: Bart Verwilst <bart@verwilst.be> * Bump version Signed-off-by: Bart Verwilst <bart@verwilst.be> * new major version Signed-off-by: Bart Verwilst <bart@verwilst.be> * test psp Signed-off-by: Bart Verwilst <bart@verwilst.be> * conditional rbac Signed-off-by: Bart Verwilst <bart@verwilst.be> * bump version Signed-off-by: Bart Verwilst <bart@verwilst.be> * Update to 3.1.0 Signed-off-by: Bart Verwilst <bart@verwilst.be> * fix endpoints, add role(binding) Signed-off-by: Bart Verwilst <bart@verwilst.be> * Fix tl;dr command Signed-off-by: Bart Verwilst <bart@verwilst.be> * add buildMode Signed-off-by: Bart Verwilst <bart@verwilst.be> * Set buildMode Signed-off-by: Bart Verwilst <bart@verwilst.be> * add buildMode Signed-off-by: Bart Verwilst <bart@verwilst.be>
This commit is contained in:
committed by
k8s-ci-robot
parent
36f368b2a6
commit
17ae65a491
@@ -1,9 +1,9 @@
|
||||
apiVersion: v1
|
||||
appVersion: 3.0.2
|
||||
appVersion: 3.1.0
|
||||
description: nfs-client is an automatic provisioner that used your *already configured* NFS server, automatically creating Persistent Volumes.
|
||||
name: nfs-client-provisioner
|
||||
home: https://github.com/kubernetes-incubator/external-storage/tree/master/nfs-client
|
||||
version: 1.0.1
|
||||
version: 1.1.0
|
||||
sources:
|
||||
- https://github.com/kubernetes-incubator/external-storage/tree/master/nfs-client
|
||||
maintainers:
|
||||
|
||||
@@ -5,7 +5,7 @@ The [NFS client provisioner](https://github.com/kubernetes-incubator/external-st
|
||||
## TL;DR;
|
||||
|
||||
```console
|
||||
$ helm install stable/nfs-client-provisioner
|
||||
$ helm install --set nfs.server=x.x.x.x --set nfs.path=/exported/path stable/nfs-client-provisioner
|
||||
```
|
||||
|
||||
## Introduction
|
||||
@@ -48,7 +48,7 @@ The following tables lists the configurable parameters of this chart and their d
|
||||
| `replicaCount` | Number of provisioner instances to deployed | `1` |
|
||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
||||
| `image.repository` | Provisioner image | `quay.io/external_storage/nfs-client-provisioner` |
|
||||
| `image.tag` | Version of provisioner image | `v3.0.2-k8s1.11` |
|
||||
| `image.tag` | Version of provisioner image | `v3.1.0-k8s1.11` |
|
||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `storageclass.name` | Name of the storageclass | `nfs-client` |
|
||||
| `storageclass.defaultClass` | Set as the default StorageClass | `false` |
|
||||
|
||||
@@ -2,3 +2,4 @@ nfs:
|
||||
server: 127.0.0.1
|
||||
podSecurityPolicy:
|
||||
enabled: true
|
||||
buildMode: true
|
||||
|
||||
@@ -21,9 +21,6 @@ rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["events"]
|
||||
verbs: ["create", "update", "patch"]
|
||||
- apiGroups: [""]
|
||||
resources: ["endpoints"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "patch"]
|
||||
{{- if .Values.podSecurityPolicy.enabled }}
|
||||
- apiGroups: ['extensions']
|
||||
resources: ['podsecuritypolicies']
|
||||
|
||||
@@ -37,7 +37,12 @@ spec:
|
||||
- name: NFS_PATH
|
||||
value: {{ .Values.nfs.path }}
|
||||
volumes:
|
||||
{{- if .Values.buildMode }}
|
||||
- name: nfs-client-root
|
||||
emptyDir: {}
|
||||
{{- else -}}
|
||||
- name: nfs-client-root
|
||||
nfs:
|
||||
server: {{ .Values.nfs.server }}
|
||||
path: {{ .Values.nfs.path }}
|
||||
{{- end }}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
{{- if .Values.rbac.create }}
|
||||
kind: Role
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "nfs-client-provisioner.name" . }}
|
||||
chart: {{ template "nfs-client-provisioner.chart" . }}
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
||||
name: leader-locking-{{ template "nfs-client-provisioner.fullname" . }}
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["endpoints"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "patch"]
|
||||
{{- if .Values.podSecurityPolicy.enabled }}
|
||||
- apiGroups: ['extensions']
|
||||
resources: ['podsecuritypolicies']
|
||||
verbs: ['use']
|
||||
resourceNames: [{{ template "nfs-client-provisioner.fullname" . }}]
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,19 @@
|
||||
{{- if .Values.rbac.create }}
|
||||
kind: RoleBinding
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "nfs-client-provisioner.name" . }}
|
||||
chart: {{ template "nfs-client-provisioner.chart" . }}
|
||||
heritage: {{ .Release.Service }}
|
||||
release: {{ .Release.Name }}
|
||||
name: leader-locking-{{ template "nfs-client-provisioner.fullname" . }}
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "nfs-client-provisioner.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
roleRef:
|
||||
kind: Role
|
||||
name: leader-locking-{{ template "nfs-client-provisioner.fullname" . }}
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
{{- end }}
|
||||
@@ -7,7 +7,7 @@ strategyType: Recreate
|
||||
|
||||
image:
|
||||
repository: quay.io/external_storage/nfs-client-provisioner
|
||||
tag: v3.0.2-k8s1.11
|
||||
tag: v3.1.0-k8s1.11
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
nfs:
|
||||
|
||||
Reference in New Issue
Block a user