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
e0d3d652
Commit
e0d3d652
authored
Jun 09, 2017
by
Guangya Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made image as required in v1 Container struct.
parent
9df40c36
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
types.go
pkg/api/v1/types.go
+1
-2
No files found.
pkg/api/v1/types.go
View file @
e0d3d652
...
@@ -1721,8 +1721,7 @@ type Container struct {
...
@@ -1721,8 +1721,7 @@ type Container struct {
Name
string
`json:"name" protobuf:"bytes,1,opt,name=name"`
Name
string
`json:"name" protobuf:"bytes,1,opt,name=name"`
// Docker image name.
// Docker image name.
// More info: https://kubernetes.io/docs/concepts/containers/images
// More info: https://kubernetes.io/docs/concepts/containers/images
// +optional
Image
string
`json:"image" protobuf:"bytes,2,opt,name=image"`
Image
string
`json:"image,omitempty" protobuf:"bytes,2,opt,name=image"`
// Entrypoint array. Not executed within a shell.
// Entrypoint array. Not executed within a shell.
// The docker image's ENTRYPOINT is used if this is not provided.
// The docker image's ENTRYPOINT is used if this is not provided.
// Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
// Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
...
...
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