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
a5f3e24a
Commit
a5f3e24a
authored
Feb 28, 2019
by
globervinodhn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
promote empty secret key test to conformance: Version updated to v1.15
parent
6af2e9af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
conformance.txt
test/conformance/testdata/conformance.txt
+1
-0
secrets.go
test/e2e/common/secrets.go
+6
-1
No files found.
test/conformance/testdata/conformance.txt
View file @
a5f3e24a
...
...
@@ -148,6 +148,7 @@ test/e2e/common/projected_secret.go: "optional updates should be reflected in vo
test/e2e/common/runtime.go: "should run with the expected status"
test/e2e/common/secrets.go: "should be consumable from pods in env vars"
test/e2e/common/secrets.go: "should be consumable via the environment"
test/e2e/common/secrets.go: "should fail to create secret due to empty secret key"
test/e2e/common/secrets_volume.go: "should be consumable from pods in volume"
test/e2e/common/secrets_volume.go: "should be consumable from pods in volume with defaultMode set"
test/e2e/common/secrets_volume.go: "should be consumable from pods in volume as non-root with defaultMode and fsGroup set"
...
...
test/e2e/common/secrets.go
View file @
a5f3e24a
...
...
@@ -126,7 +126,12 @@ var _ = Describe("[sig-api-machinery] Secrets", func() {
})
})
It
(
"should fail to create secret in volume due to empty secret key"
,
func
()
{
/*
Release : v1.15
Testname: Secrets, with empty-key
Description: Attempt to create a Secret with an empty key. The creation MUST fail.
*/
framework
.
ConformanceIt
(
"should fail to create secret due to empty secret key"
,
func
()
{
secret
,
err
:=
createEmptyKeySecretForTest
(
f
)
Expect
(
err
)
.
To
(
HaveOccurred
(),
"created secret %q with empty key in namespace %q"
,
secret
.
Name
,
f
.
Namespace
.
Name
)
})
...
...
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