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
d12a0258
Commit
d12a0258
authored
Jan 27, 2022
by
Yonatan Kahana
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:kubernetes-sigs/nfs-subdir-external-provisioner into develop
parents
65b3ac93
8e17ace8
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
3 deletions
+25
-3
deployment.yaml
...nfs-subdir-external-provisioner/templates/deployment.yaml
+4
-0
values.yaml
charts/nfs-subdir-external-provisioner/values.yaml
+4
-0
clusterrolebinding.yaml
deploy/objects/clusterrolebinding.yaml
+1
-0
deployment.yaml
deploy/objects/deployment.yaml
+10
-3
role.yaml
deploy/objects/role.yaml
+2
-0
rolebinding.yaml
deploy/objects/rolebinding.yaml
+2
-0
serviceaccount.yaml
deploy/objects/serviceaccount.yaml
+2
-0
No files found.
charts/nfs-subdir-external-provisioner/templates/deployment.yaml
View file @
d12a0258
...
...
@@ -24,6 +24,8 @@ spec:
{{
- include "nfs-subdir-external-provisioner.podLabels" . | nindent 8
}}
spec
:
serviceAccountName
:
{{
template "nfs-subdir-external-provisioner.serviceAccountName" .
}}
securityContext
:
{{
- toYaml .Values.podSecurityContext | nindent 8
}}
{{
- if .Values.nodeSelector
}}
nodeSelector
:
{{
toYaml .Values.nodeSelector | indent 8
}}
...
...
@@ -43,6 +45,8 @@ spec:
-
name
:
{{
.Chart.Name
}}
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
}}"
imagePullPolicy
:
{{
.Values.image.pullPolicy
}}
securityContext
:
{{
- toYaml .Values.securityContext | nindent 12
}}
volumeMounts
:
-
name
:
{{
.Values.nfs.volumeName
}}
mountPath
:
/persistentvolumes
...
...
charts/nfs-subdir-external-provisioner/values.yaml
View file @
d12a0258
...
...
@@ -74,6 +74,10 @@ podAnnotations: {}
## Set pod priorityClassName
# priorityClassName: ""
podSecurityContext
:
{}
securityContext
:
{}
serviceAccount
:
# Specifies whether a ServiceAccount should be created
create
:
true
...
...
deploy/objects/clusterrolebinding.yaml
View file @
d12a0258
...
...
@@ -5,6 +5,7 @@ metadata:
subjects
:
-
kind
:
ServiceAccount
name
:
nfs-client-provisioner
# replace with namespace where provisioner is deployed
namespace
:
default
roleRef
:
kind
:
ClusterRole
...
...
deploy/objects/deployment.yaml
View file @
d12a0258
apiVersion
:
apps/v1
kind
:
Deployment
apiVersion
:
extensions/v1beta1
metadata
:
name
:
nfs-client-provisioner
labels
:
app
:
nfs-client-provisioner
# replace with namespace where provisioner is deployed
namespace
:
default
spec
:
replicas
:
1
strategy
:
type
:
Recreate
selector
:
matchLabels
:
app
:
nfs-client-provisioner
template
:
metadata
:
labels
:
...
...
@@ -22,11 +29,11 @@ spec:
-
name
:
PROVISIONER_NAME
value
:
k8s-sigs.io/nfs-subdir-external-provisioner
-
name
:
NFS_SERVER
value
:
10.
10.10.60
value
:
10.
3.243.101
-
name
:
NFS_PATH
value
:
/ifs/kubernetes
volumes
:
-
name
:
nfs-client-root
nfs
:
server
:
10.
10.10.60
server
:
10.
3.243.101
path
:
/ifs/kubernetes
deploy/objects/role.yaml
View file @
d12a0258
...
...
@@ -2,6 +2,8 @@ kind: Role
apiVersion
:
rbac.authorization.k8s.io/v1
metadata
:
name
:
leader-locking-nfs-client-provisioner
# replace with namespace where provisioner is deployed
namespace
:
default
rules
:
-
apiGroups
:
[
"
"
]
resources
:
[
"
endpoints"
]
...
...
deploy/objects/rolebinding.yaml
View file @
d12a0258
...
...
@@ -2,6 +2,8 @@ kind: RoleBinding
apiVersion
:
rbac.authorization.k8s.io/v1
metadata
:
name
:
leader-locking-nfs-client-provisioner
# replace with namespace where provisioner is deployed
namespace
:
default
subjects
:
-
kind
:
ServiceAccount
name
:
nfs-client-provisioner
...
...
deploy/objects/serviceaccount.yaml
View file @
d12a0258
...
...
@@ -2,3 +2,5 @@ apiVersion: v1
kind
:
ServiceAccount
metadata
:
name
:
nfs-client-provisioner
# replace with namespace where provisioner is deployed
namespace
:
default
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