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
400c1604
Unverified
Commit
400c1604
authored
Jan 20, 2022
by
Kubernetes Prow Robot
Committed by
GitHub
Jan 20, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #168 from rkmathi/match-deploy-objects
Match deploy/*.yaml and deploy/objects/*.yaml
parents
2fb90f77
d8043f17
Show 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 @
400c1604
...
@@ -5,6 +5,7 @@ metadata:
...
@@ -5,6 +5,7 @@ metadata:
subjects
:
subjects
:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
nfs-client-provisioner
name
:
nfs-client-provisioner
# replace with namespace where provisioner is deployed
namespace
:
default
namespace
:
default
roleRef
:
roleRef
:
kind
:
ClusterRole
kind
:
ClusterRole
...
...
deploy/objects/deployment.yaml
View file @
400c1604
apiVersion
:
apps/v1
kind
:
Deployment
kind
:
Deployment
apiVersion
:
extensions/v1beta1
metadata
:
metadata
:
name
:
nfs-client-provisioner
name
:
nfs-client-provisioner
labels
:
app
:
nfs-client-provisioner
# replace with namespace where provisioner is deployed
namespace
:
default
spec
:
spec
:
replicas
:
1
replicas
:
1
strategy
:
strategy
:
type
:
Recreate
type
:
Recreate
selector
:
matchLabels
:
app
:
nfs-client-provisioner
template
:
template
:
metadata
:
metadata
:
labels
:
labels
:
...
@@ -22,11 +29,11 @@ spec:
...
@@ -22,11 +29,11 @@ spec:
-
name
:
PROVISIONER_NAME
-
name
:
PROVISIONER_NAME
value
:
k8s-sigs.io/nfs-subdir-external-provisioner
value
:
k8s-sigs.io/nfs-subdir-external-provisioner
-
name
:
NFS_SERVER
-
name
:
NFS_SERVER
value
:
10.
10.10.60
value
:
10.
3.243.101
-
name
:
NFS_PATH
-
name
:
NFS_PATH
value
:
/ifs/kubernetes
value
:
/ifs/kubernetes
volumes
:
volumes
:
-
name
:
nfs-client-root
-
name
:
nfs-client-root
nfs
:
nfs
:
server
:
10.
10.10.60
server
:
10.
3.243.101
path
:
/ifs/kubernetes
path
:
/ifs/kubernetes
deploy/objects/role.yaml
View file @
400c1604
...
@@ -2,6 +2,8 @@ kind: Role
...
@@ -2,6 +2,8 @@ kind: Role
apiVersion
:
rbac.authorization.k8s.io/v1
apiVersion
:
rbac.authorization.k8s.io/v1
metadata
:
metadata
:
name
:
leader-locking-nfs-client-provisioner
name
:
leader-locking-nfs-client-provisioner
# replace with namespace where provisioner is deployed
namespace
:
default
rules
:
rules
:
-
apiGroups
:
[
"
"
]
-
apiGroups
:
[
"
"
]
resources
:
[
"
endpoints"
]
resources
:
[
"
endpoints"
]
...
...
deploy/objects/rolebinding.yaml
View file @
400c1604
...
@@ -2,6 +2,8 @@ kind: RoleBinding
...
@@ -2,6 +2,8 @@ kind: RoleBinding
apiVersion
:
rbac.authorization.k8s.io/v1
apiVersion
:
rbac.authorization.k8s.io/v1
metadata
:
metadata
:
name
:
leader-locking-nfs-client-provisioner
name
:
leader-locking-nfs-client-provisioner
# replace with namespace where provisioner is deployed
namespace
:
default
subjects
:
subjects
:
-
kind
:
ServiceAccount
-
kind
:
ServiceAccount
name
:
nfs-client-provisioner
name
:
nfs-client-provisioner
...
...
deploy/objects/serviceaccount.yaml
View file @
400c1604
...
@@ -2,3 +2,5 @@ apiVersion: v1
...
@@ -2,3 +2,5 @@ apiVersion: v1
kind
:
ServiceAccount
kind
:
ServiceAccount
metadata
:
metadata
:
name
:
nfs-client-provisioner
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