Skip to content

Commit ae74296

Browse files
committed
feat(docs): prepping for gitops flow with splitting
1 parent 84554fa commit ae74296

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,23 @@ A Kubernetes operator that creates [Restate](https://restate.dev/) clusters. Sup
1313
## Installation
1414

1515
```bash
16-
helm install restate-operator oci://ghcr.io/restatedev/restate-operator-helm --namespace restate-operator --create-namespace
16+
helm install restate-operator \
17+
oci://ghcr.io/restatedev/restate-operator-helm \
18+
--namespace restate-operator \
19+
--create-namespace
1720
```
1821

19-
To render the chart templates locally for inspection or for use with a GitOps workflow, you can use `helm template`. For example, to a file named `restate-operator-manifests.yaml` using a custom `values.yaml`:
22+
To render the chart templates locally for inspection or for use with a GitOps workflow, you can use `helm template`. For example, to a file named `manifests.yaml`:
2023

2124
```bash
2225
helm template restate-operator oci://ghcr.io/restatedev/restate-operator-helm \
2326
--namespace restate-operator \
2427
--create-namespace \
25-
-f values.yaml \
26-
> restate-operator-manifests.yaml
28+
> manifests.yaml
29+
# brew install yq
30+
yq eval \
31+
--split-exp '(.kind | downcase) + "_" + .metadata.name + ".yaml"' \
32+
manifests.yaml
2733
```
2834

2935
## Custom Resource Definitions

0 commit comments

Comments
 (0)