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
701c99b9
Commit
701c99b9
authored
Jul 02, 2017
by
Guangya Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made image as deliberately optional in v1 Container struct.
parent
9a7818a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
types.go
staging/src/k8s.io/api/core/v1/types.go
+4
-1
No files found.
staging/src/k8s.io/api/core/v1/types.go
View file @
701c99b9
...
@@ -1887,7 +1887,10 @@ type Container struct {
...
@@ -1887,7 +1887,10 @@ 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
Image
string
`json:"image" protobuf:"bytes,2,opt,name=image"`
// This field is optional to allow higher level config management to default or override
// container images in workload controllers like Deployments and StatefulSets.
// +optional
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