Skip to content

Commit

Permalink
feat(README): update
Browse files Browse the repository at this point in the history
  • Loading branch information
jlevesy committed Jan 19, 2024
1 parent 20ee122 commit 7928508
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ For example, we could create a `DeploymentDashboard` generator that builds a das
The manifest would look like the following:

```yaml
apiVersion: dawg.urcloud.cc
apiVersion: dawg.urcloud.cc/v1
kind: Dashboard
meta:
name: super-dashboard
namespace: app
spec:
generator: oci://registry.domain/deployment-dashboard:v3.45.0
generator: registry://registry.domain/deployment-dashboard:v3.45.0
config: | # arbitrary config passed to the wasm binary.
namespace: foo
name: super-deployment
Expand Down Expand Up @@ -55,7 +55,7 @@ Applyging a Generated Dashboard to Grafana
go run ./cmd/apply -generator "file://${PWD}/dist/generators/simple.wasm" -config ./example/simple/config.yaml -grafana-url=http://yourgrafanainstance -grafana-token "yourtoken"
# From a registry
go run ./cmd/provision -generator "registry://youregistry.domain/reponame/generatorname:tag" -config ./example/simple/config.yaml -grafana-url=http://yourgrafanainstance -grafana-token "yourtoken"
go run ./cmd/apply -generator "registry://youregistry.domain/reponame/generatorname:tag" -config ./example/simple/config.yaml -grafana-url=http://yourgrafanainstance -grafana-token "yourtoken"
```

Pushing a generator to a registry:
Expand Down

0 comments on commit 7928508

Please sign in to comment.