Alex Humphreys
89467a8bf1
Fix(helm): Use spaces in ingress template
...
The rest of the ingress template was using spaces, just these two lines
were tabs.
Signed-off-by: Alex Humphreys <alex.humphreys@here.com>
6 years ago
Kévin Dunglas
9aa773042d
create: include the namespace in NOTES.txt for LoadBalancer status ( #5055 )
...
Signed-off-by: Kévin Dunglas <dunglas@gmail.com>
6 years ago
įoнииγ įoнииγ
03718ee93d
Added extra padding to resources template ( #4981 )
...
This is probably a silly PR. However, each time I create a new chart
via `helm create`, the instructions to uncomment the resource limits
require adding a couple extra spaces back to the YAML.
This PR simply brings the spacing in-line with the rest of the generated
template.
Signed-off-by: John Dewey <john@dewey.ws>
6 years ago
Erik Sundell
eb96576b8d
Reform indentation practices using nindent ( #4562 )
...
The essence of this commit is to help people get started with a better
indentation practice than this:
```yaml
spec:
labels:
{{ toYaml .Values.labels | indent 4 }}
```
The previous indentation practice is harder to read. Instead this commit
introduces an indentation practice using `nindent` like this:
```yaml
spec:
labels:
{{- toYaml .Values.labels | nindent 4 }}
```
Signed-off-by: Erik Sundell <erik.i.sundell@gmail.com>
6 years ago
Martin Hickey
f6efe2f0c1
Add test template example for helm create ( #4524 )
...
* Add test template example for helm create
As helm create ganerates an nginx chart, the example is based on
https://github.com/helm/helm/blob/master/docs/examples/nginx/templates/
service-test.yaml
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Update after review
- https://github.com/helm/helm/pull/4524#pullrequestreview-155183390
- https://github.com/helm/helm/pull/4524#pullrequestreview-155379922
- Fix where app.kubernetes.io/instance was incorrect in service selector
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Add doc update
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
* Update GO formatting
Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
6 years ago
Adam Reese
26c88ec815
Merge pull request #4703 from adshmh/4556-fix-paths-ingress-template
...
fix paths in the ingress template and values file written by helm create
6 years ago
Florian Rusch
6f12ab24a5
Add the .vscode folder to the .helmignore file
...
Signed-off-by: Florian Rusch <git@florianrusch.de>
6 years ago
adshmh
2ef61fdf5c
feat(helm): use apps/v1 as deployment apiVersion ( #4725 )
...
Use 'apps/v1' as the apiVersion field for the deployment.yaml written
by the 'helm create' command, rather than the deprecated 'apps/v1beta2'.
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
6 years ago
Arash Deshmeh
1a54463bdb
fix(helm): fix paths in the ingress template and values file written by helm create
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
6 years ago
Qiang Li
4dd9047586
fix(helm): fix selector typo in service template for 'helm create' ( #4663 )
...
changed instancelease to instance in service template
closes #4661
Signed-off-by: Qiang Li <liqiang@gmail.com>
6 years ago
Martin Hickey
7306b4c28e
Fix helm create note for k8 label convention changes
...
Update to note as per changes in Issue #4335 . Otherwise cannot
retrieve the pod with the label names.
6 years ago
Matt Farina
e328d00a2f
Updating to the k8s label convention
...
Closes #4335
Signed-off-by: Matt Farina <matt@mattfarina.com>
6 years ago
Matthew Fisher
2d77db11fa
change copyright to "Copyright The Helm Authors"
6 years ago
Alejandro Vicente Grabovetsky
4fbc733ade
Migrate 'template' to 'include' in 'helm create' to conform to Helm best practices
...
Signed-off-by: Alejandro Vicente Grabovetsky <sasha@aid.technology>
7 years ago
Julien Bordellier
cf3ded91f2
Add quoting support in ingress to allow wildcard domain
7 years ago
Matthew Fisher
f201db3fc2
Merge pull request #3692 from aleerizw/fix-sigsegv-create
...
Fixed SIGSEGV when running helm create with -p and no values.yaml file
7 years ago
Steffen Windoffer
8bd42d2645
remove unused servicePort from default ingress template
7 years ago
Zack Williams
1d3ae54185
Fix #3822
7 years ago
Ali Rizwan
99da9fb548
Fixed SIGSEGV when running helm create with -p and no values.yaml file
7 years ago
Matthew Fisher
14c7be1f92
Merge pull request #3288 from bradbeam/starter
...
feat Making starter templates more versatile
7 years ago
Reinhard Nägele
f47e1619b0
Update initial chart experience
...
* Add template for chart name
* Use named ports and simplify service configuration
* Add affinity
* Add tolerations
* Use 'with' statements where possible
* Enhance ingress
* Add fullnameOverride to fullname template
7 years ago
Brad Beam
8e0eface2c
Making starter templates more versatile
...
This adds support for changing '<CHARTNAME>'
occurances in starter chart to the destination
chart name
7 years ago
Alexandr Burdiyan
f432e07126
ref(helm): improve fullname template in starter chart
...
Closes #1186
7 years ago
Maxime Guyot
c864ba179e
Add fullnameOverride
7 years ago
Dhilip
67af4998de
helm create all defined template names should be namespaced … ( #2845 )
...
* helm create all defined template names should be namespaced https://docs.helm.sh/chart_best_practices/#names-of-defined-templates
* Update Doc
* Update example
7 years ago
Adnan Abdulhussein
8fd8a7c324
fix(create): port-forward should use internal port
...
cc @james-w
7 years ago
Maxime Guyot
bbf2d6b7e8
Fix the default NOTES.txt
7 years ago
Miouge1
6cfed9d635
Updating default values.yaml comments
...
Following the instructions to simply uncomment the following lines results in a invalid yaml output
7 years ago
Ilya Semenov
13b15f5662
Remove service.type mention from ingress docs
7 years ago
Reinhard Nägele
76e6e15a0c
Add comment on resources
8 years ago
Reinhard Nägele
51923e54b1
Improve 'helm create'
8 years ago
Adnan Abdulhussein
f8b2c5eb57
fix(create): incorrect URL in default NOTES.txt
8 years ago
Matthias Thubauville
ce505f16e6
Fix indent for defaultDeployment
8 years ago
Scott Rigby
5bdcbee9af
Change secret name to something more standard
8 years ago
Scott Rigby
2be4547d13
Change to hosts array, and parameterize serviceName and servicePort
8 years ago
Scott Rigby
22cec7cdc1
Fix spacing
8 years ago
Scott Rigby
37fd7df627
chartutil create ingress example
8 years ago
z00358552
b0d4cacd54
fix(helm) change name length limit to 63 for `helm create`
...
since kubernetes 1.4, the upper limit for resource name is 63 characters,
so it is better to change the template when running `helm create` accordingly.
8 years ago
Lachlan Evenson
2e0f949d49
bugfix(tiller): replace + with - in Chart version to support Kubernetes constraint
8 years ago
John Hofman
c38fb120bf
fix(helm): add trimSuffix to helper functions
8 years ago
Matt Butcher
5517d00a48
Merge pull request #1547 from technosophos/feat/packs
...
feat(helm): support 'helm create --starter=mypack'
8 years ago
Matt Butcher
784a339627
feat(helm): support 'helm create --pack=mypack'
...
This adds support for packs, pre-configured chart patterns that can be
used to quickly create a custom layout for your new chart.
8 years ago
Matt Butcher
0a163a2a3a
fix(helm): helm create will not overwrite existing files
...
It will ignore files if they exist, and create files if they were
missing.
Closes #1515
8 years ago
Sebastian Mandrean
b3d45aef7a
fix(1516): use correct value reference in boilerplate NOTES.txt
8 years ago
Vic Iglesias
4179282760
Dont use privileged port in port-forward of default chart
8 years ago
Vic Iglesias
5af08fa5b5
Fix labels in NOTES.txt
8 years ago
Vic Iglesias
8527f2f96c
Use chart name for container name
8 years ago
Vic Iglesias
156d706dd1
Use internal port for health check
8 years ago
Vic Iglesias
665615f30f
Remove **** from default notes
8 years ago
Vic Iglesias
2b2e1d59c8
Simplify final logic block in create
8 years ago