Commit Graph

486 Commits

Author SHA1 Message Date
Michelle Au e73c2ce531 Use staging registry for canary tests 2020-09-25 17:41:33 -07:00
Hanna Bledai a5f4a8b72b fixed : 37,102 lines 2020-09-21 16:01:14 +03:00
Hanna Bledai fe9be3d5d8 fixed : 37,102 lines 2020-09-21 15:56:30 +03:00
Hanna Bledai 9d6c66ea94 #6: Update path creation and implemented possibility save data after removing PV 2020-09-17 13:11:28 +03:00
Kubernetes Prow Robot ce96952150
Merge pull request #4 from kmova/init-code-2
Migrate kubernetes-incubator/external-storage/nfs-client
2020-09-07 03:59:42 -07:00
kmova c2777757e9 move to alpine 3.12 for base image
Signed-off-by: kmova <kiran.mova@mayadata.io>
(cherry picked from commit 01cc0805a0)
2020-09-07 05:49:09 +00:00
kmova df11650b9e update RBAC access setup for OpenShift
From OpenShift 4.4 on the built-in SCCs will be managed and thus
you cannot any longer mutate them by adding user. The proper way
is either to copy an existing SCC or use RBAC to access them.

This updates the documentation for the RBAC approach.

Signed-off-by: kmova <kiran.mova@mayadata.io>
(cherry picked from commit 92508da2ff)
2020-09-07 05:49:09 +00:00
kmova ef48d21941 feat(build): update base images to newer version
x86_64 to latest Alpine

The arm images is switched to multiarch since the hypriot image hasn't been updated in 3 years:
https://hub.docker.com/r/hypriot/rpi-alpine/tags

Currently the multiarch release of Alpine 3.11 is hold back by QEMU issues, see:
multiarch/alpine#28 but the update to 3.10 is a huge leap and 3.10 is still under support :)

Signed-off-by: kmova <kiran.mova@mayadata.io>
(cherry picked from commit 528d2e2a03)
2020-09-07 05:49:09 +00:00
kmova 96592d24ac update readme and go imports to new location
This commit fixes the following:
- fixes the go imports to use the new loction
- setup go modules for this project
- update the docker files to use the new binary name
- update the README to use the new repo name

Signed-off-by: kmova <kiran.mova@mayadata.io>
(cherry picked from commit 234543e14d)
2020-09-07 05:49:09 +00:00
kmova f07117e2ee Merge kubernetes-incubator/external-storage/nfs-client
(cherry picked from commit 239fd6e613)
2020-09-07 05:49:09 +00:00
Pando85 aa7c637f88 Remove duplicated key in nfs-client deploy for arm architecture
(cherry picked from commit 3a0395c8be)
2020-09-07 05:49:09 +00:00
daviyang35 2ddf600406 Remove duplicate selector fields
Remove duplicate selector fields
(cherry picked from commit fa12f8ae9c)
2020-09-07 05:49:09 +00:00
Thorsten Schifferdecker 94d54314c5 add namespace for rolebinding
see Issue #1278
(cherry picked from commit f09ffdefb5)
2020-09-07 05:49:09 +00:00
Arthur666 d6aaf831fd Update rbac.yaml
Modify the Role section (line 45), the namespace field is changed to indent 2 characters.
(cherry picked from commit e7add04d2d)
2020-09-07 05:49:09 +00:00
Kubernetes Prow Robot e3b2b587d4 Merge pull request #1179 from santhosh-tekuri/duplicate-service-account
Remove ServiceAccount from deployment yaml files
(cherry picked from commit 5083f251bc)
2020-09-07 05:49:09 +00:00
TJ Zimmerman 186baf29e3 Updated API Version & Added selector.
(cherry picked from commit 39c5918764)
2020-09-07 05:49:09 +00:00
TJ Zimmerman 6de5a564d1 Updated API Version, Added selector field.
(cherry picked from commit c6853e0440)
2020-09-07 05:49:09 +00:00
Jeff Geerling 3b39f8bc32 Make nfs-client ARM deployment consistent with regular deployment.
(cherry picked from commit 95cdb664bd)
2020-09-07 05:49:08 +00:00
remche 8c3af96130 Fix namespace and bump to Deployment apps/v1
(cherry picked from commit 846206d609)
2020-09-07 05:49:08 +00:00
t-sato 7f85c7b5ff Fill in rbac.yaml with ServiceAccount manifest.
(cherry picked from commit 3f8626cb2b)
2020-09-07 05:49:08 +00:00
mooncake 255839fbb8 Fix some typos
Signed-off-by: mooncake <xcoder@tenxcloud.com>
(cherry picked from commit 1ae796f9f4)
2020-09-07 05:49:08 +00:00
Matthew Wong f5924d99c9 Use kubernetes-sigs/sig-storage-lib-external-provisioner
(cherry picked from commit 14209716a3)
2020-09-07 05:49:08 +00:00
Matthew Wong 2f6670a85b Point nfs-client users to Helm and split up yamls
(cherry picked from commit cd7d12292a)
2020-09-07 05:49:08 +00:00
Per Abich 8d0422f82f Update README.md
(cherry picked from commit 2929b7ab59)
2020-09-07 05:49:08 +00:00
yiming chen 6050db56b6 Remove redundant field in the rbac.yaml of nfs-client
(cherry picked from commit 6e7b3913c5)
2020-09-07 05:49:08 +00:00
Per Abich 4573a86521 Update README.md
(cherry picked from commit 416af39aa6)
2020-09-07 05:49:08 +00:00
Per Abich 2bcb474770 Fixing documentation to be correct for Kubernetes
Converted from openshift command
(cherry picked from commit 5e95ea2ffe)
2020-09-07 05:49:08 +00:00
Matthew Wong c4a7e76517 Distribute Role+Rolebinding everywhere instead of giving cluster-scoped endpoints r/w
(cherry picked from commit 7df14ef767)
2020-09-07 05:49:08 +00:00
Dave Johnson 4a7e7c46a2 Remove unecessary reference to Red Hat.
(cherry picked from commit fa44e1fcba)
2020-09-07 05:49:08 +00:00
Dave Johnson 0ee8b3827e Fix typo
(cherry picked from commit 530aa45090)
2020-09-07 05:49:08 +00:00
Dave Johnson a9f0c6187a Clarifications and minor formatting improvements.
(cherry picked from commit af83d2c193)
2020-09-07 05:49:08 +00:00
Matthew Wong a54ff504ef Fix archiveOnDelete parsing
(cherry picked from commit 9b94fa6ac2)
2020-09-07 05:49:08 +00:00
Matthew Wong 7c1944a9b3 Change all clusterroles to have endpoints permissions and reduced events permissions, consolidate where possible
(cherry picked from commit f46a12bccb)
2020-09-07 05:49:08 +00:00
Gary Morse 125ed5e73e Adds archiveOnDelete parameter to nfs-client provisioner
(cherry picked from commit 2b11b498c5)
2020-09-07 05:49:08 +00:00
Di Weng b3eb332a8f Skip deletion if the corresponding directory is not found
(cherry picked from commit 9debe1e4d3)
2020-09-07 05:49:08 +00:00
Philippe Gagnon a36f0fe11d Propagate StorageClass MountOptions to PVs created by nfs-client-provisioner
(cherry picked from commit ec6a216177)
2020-09-07 05:49:08 +00:00
Matthew Wong de8b13b92e Revert "Add namespace extended attributes to directory"
(cherry picked from commit 700393b237)
2020-09-07 05:49:08 +00:00
Peter Grant 2ad4797674 Add namespace extended attributes to directory
(cherry picked from commit 75f9bcccbc)
2020-09-07 05:49:08 +00:00
Charlie Drage df0026975d Improves the README.md for nfs-client
This commit elaborates on how to deploy nfs-client as well as modify and
doing changes to the files before said deployment, updating the
README.md to make deployment easier.

(cherry picked from commit e2bee920ee)
2020-09-07 05:49:08 +00:00
Ian Chakeres 0600d20ecc Fixed nfs-client Makefile, so that it builds on osx
(cherry picked from commit 96c34294e2)
2020-09-07 05:49:08 +00:00
Charlie Drage a1ae5b39ce nfs-client: rbac no longer alpha, add serviceAccount to deployment
RBCA is no longer alpha and thus `v1` is only needed.

Service account has been added to deployment.yaml in order to get the
example to work correctly.

(cherry picked from commit 95186ce5dc)
2020-09-07 05:49:08 +00:00
Lawrence Dudley 630823977b update kubernetes api versions to be current to 1.8.8
(cherry picked from commit 407fa3f435)
2020-09-07 05:49:08 +00:00
Matthew Wong 6efe161fd2 Fix nfs-client Makefile for real
(cherry picked from commit a73de4048f)
2020-09-07 05:49:08 +00:00
Matthew Wong 26cd145a59 Tag :latest in nfs-client Makefile
(cherry picked from commit e110404782)
2020-09-07 05:49:08 +00:00
Matthew Wong 4381dacf42 Add changelogs to provisioners missing them
(cherry picked from commit eb39ebd88a)
2020-09-07 05:49:08 +00:00
Matthew Wong 185f3a3640 Remove provisioner versioning from efs,cephfs,nfs-client; use latest tag instead
(cherry picked from commit da48ed92e1)
2020-09-07 05:49:08 +00:00
Niklas Wik f54f61c8a4 Updated README with ARM instruction.
Signed-off-by: Niklas Wik <niklas.wik@iki.fi>
(cherry picked from commit c0716daca3)
2020-09-07 05:49:08 +00:00
Niklas Wik 9554b688ca Add support for ARM (Raspberry PI) for nfs-client
- Reorganized to use Makefile for building
- Added arm container for use in ARM based kubernetes clusters

Signed-off-by: Niklas Wik <niklas.wik@iki.fi>
(cherry picked from commit 166056da73)
2020-09-07 05:49:08 +00:00
Steve Leon 1338d50440 Incorporate K8S API changes.
- Importing API types from k8s.io/api
- Update client-go and apimachinery version
- Remove lib/helper and use the kubernetes one temporary

(cherry picked from commit 53163dd4b2)
2020-09-07 05:49:08 +00:00
Clayton O'Neill c7eb885d3e Add RBAC examples for nfs-client
Adds example configuration files for clusters that have RBAC enabled
(1.6) or OpenShift users.

This is mostly a cut and paste job from the EFS example.

(cherry picked from commit a82645d4ec)
2020-09-07 05:49:08 +00:00