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
6a199706
Commit
6a199706
authored
Feb 22, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #21423 from ihmccreery/version-guard-deployments
Auto commit by PR queue bot
parents
347a5097
7b266563
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
kubectl.go
test/e2e/kubectl.go
+8
-0
No files found.
test/e2e/kubectl.go
View file @
6a199706
...
...
@@ -94,6 +94,12 @@ var (
//
// TODO(ihmccreery): remove once we don't care about v1.0 anymore, (tentatively in v1.3).
jobsVersion
=
version
.
MustParse
(
"v1.1.0"
)
// Deployments were introduced by default in v1.2, so we don't expect tests that rely on
// deployments to work on clusters before that.
//
// TODO(ihmccreery): remove once we don't care about v1.1 anymore, (tentatively in v1.4).
deploymentsVersion
=
version
.
MustParse
(
"v1.2.0-alpha.7.726"
)
)
var
_
=
Describe
(
"Kubectl client"
,
func
()
{
...
...
@@ -911,6 +917,8 @@ var _ = Describe("Kubectl client", func() {
})
It
(
"should create a deployment from an image [Conformance]"
,
func
()
{
SkipUnlessServerVersionGTE
(
deploymentsVersion
,
c
)
image
:=
"nginx"
By
(
"running the image "
+
image
)
...
...
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