forked from kubernetes-csi/csi-driver-nfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes-csi#30 from openshift-cherrypick-robot/…
…cherry-pick-28-to-release-4.5 [release-4.5] Bug 1848785: Fetch latest upstream patches
- Loading branch information
Showing
18 changed files
with
326 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#! /bin/bash | ||
|
||
# A Prow job can override these defaults, but this shouldn't be necessary. | ||
|
||
# Only these tests make sense for csi-driver-nfs until we can integrate k/k | ||
# e2es. | ||
: ${CSI_PROW_TESTS:="unit"} | ||
|
||
. release-tools/prow.sh | ||
|
||
main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# v2.0.0 | ||
|
||
## Breaking Changes | ||
|
||
- Changing name of the driver from "csi-nfsplugin" to "nfs.csi.k8s.io" ([#26](https://github.com/kubernetes-csi/csi-driver-nfs/pull/26), [@wozniakjan](https://github.com/wozniakjan)) | ||
|
||
## New Features | ||
|
||
- Add support for CSI spec 1.0. | ||
- Remove external-attacher and update deployment specs to apps/v1. | ||
([#24](https://github.com/kubernetes-csi/csi-driver-nfs/pull/24), | ||
[@wozniakjan](https://github.com/wozniakjan)) | ||
|
||
## Bug Fixes | ||
|
||
- Adds support for all access modes. ([#15](https://github.com/kubernetes-csi/csi-driver-nfs/pull/15), [@msau42](https://github.com/msau42)) | ||
|
||
## Other Notable Changes | ||
|
||
- Update base image to centos8. | ||
([#28](https://github.com/kubernetes-csi/csi-driver-nfs/pull/28), [@wozniakjan](https://github.com/wozniakjan)) | ||
- Switch to go mod and update dependencies. ([#22](https://github.com/kubernetes-csi/csi-driver-nfs/pull/22), [@wozniakjan](https://github.com/wozniakjan)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FROM centos:7.4.1708 | ||
FROM centos:latest | ||
|
||
# Copy nfsplugin from build _output directory | ||
COPY bin/nfsplugin /nfsplugin | ||
|
||
RUN yum -y install nfs-utils && yum -y install epel-release && yum -y install jq && yum clean all | ||
RUN yum -y install nfs-utils epel-release jq && yum clean all | ||
|
||
ENTRYPOINT ["/nfsplugin"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#! /bin/bash | ||
|
||
# shellcheck disable=SC1091 | ||
. release-tools/prow.sh | ||
|
||
gcr_cloud_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# A configuration file for multi-arch image building with the Google cloud build service. | ||
# | ||
# Repos using this file must: | ||
# - import csi-release-tools | ||
# - add a symlink cloudbuild.yaml -> release-tools/cloudbuild.yaml | ||
# - add a .cloudbuild.sh which can be a custom file or a symlink | ||
# to release-tools/cloudbuild.sh | ||
# - accept "binary" as build argument in their Dockerfile(s) (see | ||
# https://github.com/pohly/node-driver-registrar/blob/3018101987b0bb6da2a2657de607174d6e3728f7/Dockerfile#L4-L6) | ||
# because binaries will get built for different architectures and then | ||
# get copied from the built host into the container image | ||
# | ||
# See https://github.com/kubernetes/test-infra/blob/master/config/jobs/image-pushing/README.md | ||
# for more details on image pushing process in Kubernetes. | ||
# | ||
# To promote release images, see https://github.com/kubernetes/k8s.io/tree/master/k8s.gcr.io/images/k8s-staging-sig-storage. | ||
|
||
# This must be specified in seconds. If omitted, defaults to 600s (10 mins). | ||
timeout: 1200s | ||
# This prevents errors if you don't use both _GIT_TAG and _PULL_BASE_REF, | ||
# or any new substitutions added in the future. | ||
options: | ||
substitution_option: ALLOW_LOOSE | ||
steps: | ||
# The image must contain bash and curl. Ideally it should also contain | ||
# the desired version of Go (currently defined in release-tools/travis.yml), | ||
# but that just speeds up the build and is not required. | ||
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20200421-a2bf5f8' | ||
entrypoint: ./.cloudbuild.sh | ||
env: | ||
- GIT_TAG=${_GIT_TAG} | ||
- PULL_BASE_REF=${_PULL_BASE_REF} | ||
- REGISTRY_NAME=gcr.io/${_STAGING_PROJECT} | ||
- HOME=/root | ||
substitutions: | ||
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and | ||
# can be used as a substitution. | ||
_GIT_TAG: '12345' | ||
# _PULL_BASE_REF will contain the ref that was pushed to trigger this build - | ||
# a branch like 'master' or 'release-0.2', or a tag like 'v0.2'. | ||
_PULL_BASE_REF: 'master' | ||
# The default gcr.io staging project for Kubernetes-CSI | ||
# (=> https://console.cloud.google.com/gcr/images/k8s-staging-sig-storage/GLOBAL). | ||
# Might be overridden in the Prow build job for a repo which wants | ||
# images elsewhere. | ||
_STAGING_PROJECT: 'k8s-staging-sig-storage' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: storage.k8s.io/v1beta1 | ||
kind: CSIDriver | ||
metadata: | ||
name: nfs.csi.k8s.io | ||
spec: | ||
attachRequired: false | ||
volumeLifecycleModes: | ||
- Persistent | ||
podInfoOnMount: true |
Oops, something went wrong.