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
d8043f17
Commit
d8043f17
authored
Jan 10, 2022
by
Ryuichi KAWAMATA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Match deploy/*.yaml and deploy/objects/*.yaml
parent
2fb90f77
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
3 deletions
+17
-3
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.
deploy/objects/clusterrolebinding.yaml
View file @
d8043f17
...
...
@@ -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 @
d8043f17
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 @
d8043f17
...
...
@@ -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 @
d8043f17
...
...
@@ -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 @
d8043f17
...
...
@@ -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