Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

NFS client provisioner #6433

Merged
merged 20 commits into from
Aug 15, 2018
Merged

NFS client provisioner #6433

merged 20 commits into from
Aug 15, 2018

Conversation

verwilst
Copy link
Collaborator

@verwilst verwilst commented Jul 2, 2018

What this PR does / why we need it:
Adds nfs-client-provisioner chart
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

@k8s-ci-robot
Copy link
Contributor

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please sign in with your organization's credentials at https://identity.linuxfoundation.org/projects/cncf to be authorized.
  • If you have done the above and are still having issues with the CLA being reported as unsigned, please email the CNCF helpdesk: [email protected]

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 2, 2018
@k8s-ci-robot k8s-ci-robot requested review from foxish and lachie83 July 2, 2018 21:37
@verwilst
Copy link
Collaborator Author

verwilst commented Jul 2, 2018

I've signed the CLA in the meantime.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Jul 2, 2018
@verwilst verwilst mentioned this pull request Jul 2, 2018
@verwilst
Copy link
Collaborator Author

verwilst commented Jul 2, 2018

Should obsolete #2779

@verwilst
Copy link
Collaborator Author

verwilst commented Jul 2, 2018

I've based some parts of the README from PR above though.

@verwilst
Copy link
Collaborator Author

verwilst commented Jul 2, 2018

I've mentioned Kubernetes 1.7+, but since I'm using quite recent api versions, maybe 1.9+ is more suited?

Copy link
Collaborator

@mlaccetti mlaccetti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few things:

  1. incubator has been somewhat deprecated, stable is a good place to start
  2. kubernetes 1.9+
  3. provisioner name probably should be empty by default, since afaik there is no "standard" for this

@verwilst
Copy link
Collaborator Author

verwilst commented Jul 3, 2018

Updated point 1 and 2. About 3. I feel like a 'default' is needed, so I took a look at nfs-server-provisioner. They do it as follows:

{{- define "nfs-provisioner.provisionerName" -}}
{{- if .Values.storageClass.provisionerName -}}
{{- printf .Values.storageClass.provisionerName -}}
{{- else -}}
cluster.local/{{ template "nfs-provisioner.fullname" . -}}
{{- end -}}
{{- end -}}

But i do not like the 'cluster.local/' prefix. I don't have a single cluster named 'cluster.local' for example so we shouldn't assume that's the name. Afaik there is no way to get the cluster name through Helm.
Any other ideas?

@mlaccetti
Copy link
Collaborator

cluster.local is the default DNS for k8s, so it isn't a particularly bad default.

Copy link
Collaborator

@mlaccetti mlaccetti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kingdonb
Copy link

kingdonb commented Jul 6, 2018

What are the checks that are holding this patch up? Not sure how to read e2e CI and tide results

@mlaccetti
Copy link
Collaborator

@kingdonb Waiting on an approval - @unguiculus - can you take a quick peek?

Copy link
Member

@unguiculus unguiculus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more things:

@@ -0,0 +1,42 @@
apiVersion: apps/v1beta2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apps/v1

@verwilst
Copy link
Collaborator Author

Implemented all remarks, and fixed a storageClass issue while i was at it. :-)

@verwilst
Copy link
Collaborator Author

/assign @mattfarina

@verwilst
Copy link
Collaborator Author

/retest pull-charts-e2e

@davidkarlsen
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 15, 2018
@davidkarlsen
Copy link
Member

@unguiculus @prydonius
Any chance of getting this one in? It would be very nice to have it.

@unguiculus
Copy link
Member

/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidkarlsen, unguiculus, verwilst

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 15, 2018
@k8s-ci-robot k8s-ci-robot merged commit 0e6663c into helm:master Aug 15, 2018
@verwilst verwilst deleted the nfs-client-provisioner branch August 15, 2018 20:49
marekaf pushed a commit to marekaf/charts that referenced this pull request Sep 4, 2018
* Add nfs-client-provisioner chart

* Moved to stable, minimum version is 1.9+

* Change provisionerName default

* Change incubator references to stable in README, Add heritage labels, apply RBAC best practices, apps/v1

* update values.yaml to serviceAccount changes

* use helpers for storageclass provisionerName

* actually use template for helper variable

* Make allowVolumeExpansion and reclaimPolicy configurable

* fullname everywhere, update readme and set to latest version

* use helper for serviceAccountName

* Update deployment.yaml

* Update values.yaml

* remove whitespace

* use helper function for sa binding as well

* add default nfs.server value for ci

* add endpoints bindings

* go to version 3.0.1

* add archiveOnDelete, sync clusterrole rules

* fix README.md parameters

Signed-off-by: Marek Bartik <[email protected]>
Signed-off-by: Marek Bartik <[email protected]>
aba182 pushed a commit to aba182/charts that referenced this pull request Sep 7, 2018
* Add nfs-client-provisioner chart

* Moved to stable, minimum version is 1.9+

* Change provisionerName default

* Change incubator references to stable in README, Add heritage labels, apply RBAC best practices, apps/v1

* update values.yaml to serviceAccount changes

* use helpers for storageclass provisionerName

* actually use template for helper variable

* Make allowVolumeExpansion and reclaimPolicy configurable

* fullname everywhere, update readme and set to latest version

* use helper for serviceAccountName

* Update deployment.yaml

* Update values.yaml

* remove whitespace

* use helper function for sa binding as well

* add default nfs.server value for ci

* add endpoints bindings

* go to version 3.0.1

* add archiveOnDelete, sync clusterrole rules

* fix README.md parameters

Signed-off-by: aba182 <[email protected]>
aba182 pushed a commit to aba182/charts that referenced this pull request Sep 7, 2018
* Add nfs-client-provisioner chart

* Moved to stable, minimum version is 1.9+

* Change provisionerName default

* Change incubator references to stable in README, Add heritage labels, apply RBAC best practices, apps/v1

* update values.yaml to serviceAccount changes

* use helpers for storageclass provisionerName

* actually use template for helper variable

* Make allowVolumeExpansion and reclaimPolicy configurable

* fullname everywhere, update readme and set to latest version

* use helper for serviceAccountName

* Update deployment.yaml

* Update values.yaml

* remove whitespace

* use helper function for sa binding as well

* add default nfs.server value for ci

* add endpoints bindings

* go to version 3.0.1

* add archiveOnDelete, sync clusterrole rules

* fix README.md parameters

Signed-off-by: aba182 <[email protected]>
Jnig pushed a commit to Jnig/charts that referenced this pull request Nov 13, 2018
* Add nfs-client-provisioner chart

* Moved to stable, minimum version is 1.9+

* Change provisionerName default

* Change incubator references to stable in README, Add heritage labels, apply RBAC best practices, apps/v1

* update values.yaml to serviceAccount changes

* use helpers for storageclass provisionerName

* actually use template for helper variable

* Make allowVolumeExpansion and reclaimPolicy configurable

* fullname everywhere, update readme and set to latest version

* use helper for serviceAccountName

* Update deployment.yaml

* Update values.yaml

* remove whitespace

* use helper function for sa binding as well

* add default nfs.server value for ci

* add endpoints bindings

* go to version 3.0.1

* add archiveOnDelete, sync clusterrole rules

* fix README.md parameters

Signed-off-by: Jakob Niggel <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants