Skip to content

Commit 9424ecd

Browse files
authored
Simple cat instead of edit => file => save
For me something like this is straight more forward and easy to copy past. Would love to see this in the docs.
1 parent 067c696 commit 9424ecd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/container-registry/container-registry-helm-repos.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,15 @@ rm -rf *
7777

7878
In the `templates` folder, create a file called `configmap.yaml` with the following contents:
7979

80-
```yml
80+
```console
81+
cat <<EOF > configmap.yaml
8182
apiVersion: v1
8283
kind: ConfigMap
8384
metadata:
8485
name: hello-world-configmap
8586
data:
8687
myvalue: "Hello World"
88+
EOF
8789
```
8890

8991
For more about creating and running this example, see [Getting Started](https://helm.sh/docs/chart_template_guide/getting_started/) in the Helm Docs.

0 commit comments

Comments
 (0)