Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
e05659cf
Unverified
Commit
e05659cf
authored
Nov 06, 2018
by
k8s-ci-robot
Committed by
GitHub
Nov 06, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #70710 from msau42/remove-subpath-ro-test
Remove subpath ro test
parents
0aba5577
75459fc3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
14 deletions
+2
-14
subpath.go
test/e2e/storage/testsuites/subpath.go
+0
-14
rbac.yaml
...testing-manifests/storage-csi/external-attacher/rbac.yaml
+1
-0
rbac.yaml
...ting-manifests/storage-csi/external-provisioner/rbac.yaml
+1
-0
No files found.
test/e2e/storage/testsuites/subpath.go
View file @
e05659cf
...
@@ -360,20 +360,6 @@ func testSubPath(input *subPathTestInput) {
...
@@ -360,20 +360,6 @@ func testSubPath(input *subPathTestInput) {
testReadFile
(
input
.
f
,
input
.
filePathInSubpath
,
input
.
pod
,
0
)
testReadFile
(
input
.
f
,
input
.
filePathInSubpath
,
input
.
pod
,
0
)
})
})
It
(
"should fail for new directories when readOnly specified in the volumeSource [Slow]"
,
func
()
{
if
input
.
roVol
==
nil
{
framework
.
Skipf
(
"Volume type %v doesn't support readOnly source"
,
input
.
volType
)
}
// Format the volume while it's writable
formatVolume
(
input
.
f
,
input
.
formatPod
)
// Set volume source to read only
input
.
pod
.
Spec
.
Volumes
[
0
]
.
VolumeSource
=
*
input
.
roVol
// Pod should fail
testPodFailSubpathError
(
input
.
f
,
input
.
pod
,
""
)
})
// TODO: add a test case for the same disk with two partitions
// TODO: add a test case for the same disk with two partitions
}
}
...
...
test/e2e/testing-manifests/storage-csi/external-attacher/rbac.yaml
View file @
e05659cf
...
@@ -79,3 +79,4 @@ subjects:
...
@@ -79,3 +79,4 @@ subjects:
roleRef
:
roleRef
:
kind
:
Role
kind
:
Role
name
:
external-attacher-cfg
name
:
external-attacher-cfg
apiGroup
:
rbac.authorization.k8s.io
test/e2e/testing-manifests/storage-csi/external-provisioner/rbac.yaml
View file @
e05659cf
...
@@ -87,3 +87,4 @@ subjects:
...
@@ -87,3 +87,4 @@ subjects:
roleRef
:
roleRef
:
kind
:
Role
kind
:
Role
name
:
external-provisioner-cfg
name
:
external-provisioner-cfg
apiGroup
:
rbac.authorization.k8s.io
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