mirror of https://github.com/helm/helm
Signed-off-by: Reinhard Naegele <unguiculus@gmail.com>pull/7556/head
parent
593ea3fb12
commit
2a73967ca2
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
# Source: chart-with-template-with-invalid-yaml/templates/alpine-pod.yaml
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: "RELEASE-NAME-my-alpine"
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: waiter
|
||||||
|
image: "alpine:3.9"
|
||||||
|
command: ["/bin/sleep","9000"]
|
||||||
|
invalid
|
||||||
|
Error: YAML parse error on chart-with-template-with-invalid-yaml/templates/alpine-pod.yaml: error converting YAML to JSON: yaml: line 11: could not find expected ':'
|
@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
description: Deploy a basic Alpine Linux pod
|
||||||
|
home: https://helm.sh/helm
|
||||||
|
name: chart-with-template-with-invalid-yaml
|
||||||
|
sources:
|
||||||
|
- https://github.com/helm/helm
|
||||||
|
version: 0.1.0
|
||||||
|
type: application
|
@ -0,0 +1,13 @@
|
|||||||
|
#Alpine: A simple Helm chart
|
||||||
|
|
||||||
|
Run a single pod of Alpine Linux.
|
||||||
|
|
||||||
|
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.yaml` file contains the default values for the
|
||||||
|
`alpine-pod.yaml` template.
|
||||||
|
|
||||||
|
You can install this example using `helm install ./alpine`.
|
@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: "{{.Release.Name}}-{{.Values.Name}}"
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: waiter
|
||||||
|
image: "alpine:3.9"
|
||||||
|
command: ["/bin/sleep","9000"]
|
||||||
|
invalid
|
@ -0,0 +1 @@
|
|||||||
|
Name: my-alpine
|
Loading…
Reference in new issue