Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
8d867657
Commit
8d867657
authored
Oct 26, 2016
by
Vic Iglesias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add resources and probes
parent
4120e672
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
create.go
pkg/chartutil/create.go
+18
-0
No files found.
pkg/chartutil/create.go
View file @
8d867657
...
@@ -59,6 +59,14 @@ service:
...
@@ -59,6 +59,14 @@ service:
type: ClusterIP
type: ClusterIP
externalPort: 80
externalPort: 80
internalPort: 80
internalPort: 80
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
`
`
const
defaultIgnore
=
`# Patterns to ignore when building packages.
const
defaultIgnore
=
`# Patterns to ignore when building packages.
...
@@ -103,6 +111,16 @@ spec:
...
@@ -103,6 +111,16 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
ports:
- containerPort: {{ .Values.service.internalPort }}
- containerPort: {{ .Values.service.internalPort }}
livenessProbe:
httpGet:
path: /
port: 80
readinessProbe:
httpGet:
path: /
port: 80
resources:
{{ toYaml .Values.resources | indent 12 }}
`
`
const
defaultService
=
`apiVersion: v1
const
defaultService
=
`apiVersion: v1
...
...
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