Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nfs-subdir-external-provisioner
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
nfs-subdir-external-provisioner
Commits
a48c8119
Commit
a48c8119
authored
Apr 26, 2017
by
Jackie Li
Committed by
kmova
Sep 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add boilerplate required license terms
(cherry picked from commit 8bb44ce8134492cae6088133d49c3f1fab637803)
parent
3376ae7e
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
45 additions
and
2 deletions
+45
-2
Dockerfile
Dockerfile
+14
-0
README.md
README.md
+1
-1
build.sh
build.sh
+14
-1
provisioner.go
cmd/nfs-client-provisioner/provisioner.go
+16
-0
deployment.yaml
deploy/deployment.yaml
+0
-0
test-claim.yaml
deploy/test-claim.yaml
+0
-0
test-pod.yaml
deploy/test-pod.yaml
+0
-0
No files found.
Dockerfile
View file @
a48c8119
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM
alpine:3.5
RUN
apk update
--no-cache
&&
apk add ca-certificates
COPY
nfs-client-provisioner /nfs-client-provisioner
...
...
README.md
View file @
a48c8119
...
...
@@ -12,4 +12,4 @@
-
check the folder and file "SUCCESS" created
-
`kubectl delete -f deploy/test-pod.yaml`
-
`kubectl delete -f deploy/test-claim.yaml`
-
check the folder renamed
-
check the folder renamed
to
`archieve-???`
build.sh
View file @
a48c8119
#!/bin/sh
CGO_ENABLED
=
0 go build ./cmd/nfs-client-provisioner
#&& docker build -t quay.io/jackieli/nfs-client-provisioner .
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
CGO_ENABLED
=
0 go build ./cmd/nfs-client-provisioner
#&& docker build -t quay.io/jackieli/nfs-client-provisioner .
cmd/nfs-client-provisioner/provisioner.go
View file @
a48c8119
/*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
main
import
(
...
...
deploy/deployment.yaml
View file @
a48c8119
deploy/test-claim.yaml
View file @
a48c8119
deploy/test-pod.yaml
View file @
a48c8119
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment