mirror of https://github.com/helm/helm
Merge pull request #5736 from adamreese/v3/requirements
feat(pkg/chart): support deprecated requirements.yamlpull/5737/head
commit
9401295d2a
@ -0,0 +1 @@
|
|||||||
|
ignore/
|
@ -0,0 +1,8 @@
|
|||||||
|
dependencies:
|
||||||
|
- name: alpine
|
||||||
|
version: "0.1.0"
|
||||||
|
repository: https://example.com/charts
|
||||||
|
- name: mariner
|
||||||
|
version: "4.3.2"
|
||||||
|
repository: https://example.com/charts
|
||||||
|
digest: invalid
|
@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
name: frobnitz
|
||||||
|
description: This is a frobnitz.
|
||||||
|
version: "1.2.3"
|
||||||
|
keywords:
|
||||||
|
- frobnitz
|
||||||
|
- sprocket
|
||||||
|
- dodad
|
||||||
|
maintainers:
|
||||||
|
- name: The Helm Team
|
||||||
|
email: helm@example.com
|
||||||
|
- name: Someone Else
|
||||||
|
email: nobody@example.com
|
||||||
|
sources:
|
||||||
|
- https://example.com/foo/bar
|
||||||
|
home: http://example.com
|
||||||
|
icon: https://example.com/64x64.png
|
||||||
|
annotations:
|
||||||
|
extrakey: extravalue
|
||||||
|
anotherkey: anothervalue
|
@ -0,0 +1 @@
|
|||||||
|
This is an install document. The client may display this.
|
@ -0,0 +1 @@
|
|||||||
|
LICENSE placeholder.
|
@ -0,0 +1,11 @@
|
|||||||
|
# Frobnitz
|
||||||
|
|
||||||
|
This is an example chart.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
This is an example. It has no usage.
|
||||||
|
|
||||||
|
## Development
|
||||||
|
|
||||||
|
For developer info, see the top-level repository.
|
@ -0,0 +1 @@
|
|||||||
|
This should be ignored by the loader, but may be included in a chart.
|
@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
name: alpine
|
||||||
|
description: Deploy a basic Alpine Linux pod
|
||||||
|
version: 0.1.0
|
||||||
|
home: https://helm.sh/helm
|
@ -0,0 +1,9 @@
|
|||||||
|
This example was generated using the command `helm create alpine`.
|
||||||
|
|
||||||
|
The `templates/` directory contains a very simple pod resource with a
|
||||||
|
couple of parameters.
|
||||||
|
|
||||||
|
The `values.toml` file contains the default values for the
|
||||||
|
`alpine-pod.yaml` template.
|
||||||
|
|
||||||
|
You can install this example using `helm install docs/examples/alpine`.
|
@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
name: mast1
|
||||||
|
description: A Helm chart for Kubernetes
|
||||||
|
version: 0.1.0
|
||||||
|
home: ""
|
@ -0,0 +1,4 @@
|
|||||||
|
# Default values for mast1.
|
||||||
|
# This is a YAML-formatted file.
|
||||||
|
# Declare name/value pairs to be passed into your templates.
|
||||||
|
# name = "value"
|
Binary file not shown.
@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: {{.Release.Name}}-{{.Chart.Name}}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/managed-by: {{.Release.Service}}
|
||||||
|
app.kubernetes.io/name: {{.Chart.Name}}
|
||||||
|
helm.sh/chart: "{{.Chart.Name}}-{{.Chart.Version}}"
|
||||||
|
spec:
|
||||||
|
restartPolicy: {{default "Never" .restart_policy}}
|
||||||
|
containers:
|
||||||
|
- name: waiter
|
||||||
|
image: "alpine:3.9"
|
||||||
|
command: ["/bin/sleep","9000"]
|
@ -0,0 +1,2 @@
|
|||||||
|
# The pod name
|
||||||
|
name: "my-alpine"
|
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
This is a placeholder for documentation.
|
After Width: | Height: | Size: 374 B |
@ -0,0 +1,7 @@
|
|||||||
|
dependencies:
|
||||||
|
- name: alpine
|
||||||
|
version: "0.1.0"
|
||||||
|
repository: https://example.com/charts
|
||||||
|
- name: mariner
|
||||||
|
version: "4.3.2"
|
||||||
|
repository: https://example.com/charts
|
@ -0,0 +1 @@
|
|||||||
|
Hello {{.Name | default "world"}}
|
@ -0,0 +1,6 @@
|
|||||||
|
# A values file contains configuration.
|
||||||
|
|
||||||
|
name: "Some Name"
|
||||||
|
|
||||||
|
section:
|
||||||
|
name: "Name in a section"
|
Loading…
Reference in new issue