Skip to content

Commit

Permalink
chore: Bump the operator version, update README with instructions on …
Browse files Browse the repository at this point in the history
…how to override images

Signed-off-by: Joonas Bergius <[email protected]>
  • Loading branch information
joonas committed Jun 12, 2024
1 parent 0952050 commit 105e2c5
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmcloud-operator"
version = "0.2.3"
version = "0.2.4"
edition = "2021"

[[bin]]
Expand Down
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,32 @@ stringData:
The operator will fail to provision the wasmCloud Deployment if any of these
secrets are missing!

#### Customizing the images used for wasmCloud host and NATS leaf

If you would like to customize the registry or image that gets used to provision the wasmCloud hosts and the NATS leaf that runs alongside them, you can specify the following options in the above `WasmCloudHostConfig` CRD.

For wasmCloud Host, use the `image` field:
```
apiVersion: k8s.wasmcloud.dev/v1alpha1
kind: WasmCloudHostConfig
metadata:
name: my-wasmcloud-cluster
spec:
# other config options omitted
image: registry.example.com/wasmcloud:1.0.2
```

For the NATS leaf, use the `natsImageLeaf` field:
```
apiVersion: k8s.wasmcloud.dev/v1alpha1
kind: WasmCloudHostConfig
metadata:
name: my-wasmcloud-cluster
spec:
# other config options omitted
natsLeafImage: registry.example.com/nats:2.10.16
```

### Image Pull Secrets

You can also specify an image pull secret to use use with the wasmCloud hosts
Expand Down

0 comments on commit 105e2c5

Please sign in to comment.