Skip to content

Commit

Permalink
chore: update README with latest version, example policy topic
Browse files Browse the repository at this point in the history
  • Loading branch information
protochron committed May 10, 2024
1 parent 77b8c86 commit 04faf93
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ apiVersion: v1
kind: Secret
metadata:
name: my-wasmcloud-cluster
data:
stringData:
# You can generate this with wash:
# `wash keys gen cluster`
WASMCLOUD_CLUSTER_SEED: <seed>
Expand Down Expand Up @@ -100,6 +100,7 @@ config:
```
```sh
helm repo add nats https://nats-io.github.io/k8s/helm/charts/
helm upgrade --install -f values.yaml nats-cluster nats/nats
```

Expand All @@ -118,13 +119,13 @@ wadm:
You can deploy Wadm using your values file and Helm:
```sh
helm install wadm -f values.yaml --version 0.2.0 oci://ghcr.io/wasmcloud/charts/wadm
helm install wadm -f wadm-values.yaml --version 0.2.0 oci://ghcr.io/wasmcloud/charts/wadm
```

### Start the operator

```sh
kubectl kustomize build deploy/local | kubectl apply -f -
kubectl kustomize deploy/local | kubectl apply -f -
```

## Automatically Syncing Kubernetes Services
Expand Down
2 changes: 1 addition & 1 deletion deploy/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
serviceAccountName: wasmcloud-operator
containers:
- image: ghcr.io/wasmcloud/wasmcloud-operator:0.2.0
- image: ghcr.io/wasmcloud/wasmcloud-operator:0.2.1
imagePullPolicy: Always
name: wasmcloud-operator
ports:
Expand Down
10 changes: 5 additions & 5 deletions sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ spec:
issuers:
- CDKF6OKPOBQKAX57UOXO7SCHURTOZWKWIVPC2HFJTGFXY5VJX44ECEHH
# The lattice to connect the hosts to
lattice: 83a5b52e-17cf-4080-bac8-f844099f142e
lattice: default
# Additional labels to apply to the host other than the defaults set in the controller
hostLabels:
test: value
# Which wasmCloud version to use
version: "1.0.0"
version: "1.0.2"
# The name of a secret in the same namespace that provides the required secrets.
secretName: cluster-secrets
logLevel: INFO
Expand All @@ -27,9 +27,9 @@ spec:
# - "kind-registry:5000"
# Policy service configuration
# policyService:
# topic: "foo"
# changesTopic: "bar"
# timeoutMs: 5000
# topic: "wasmcloud.policy"
# #changesTopic: "bar"
# timeoutMs: 10000
# Additional options to control how the underlying wasmCloud hosts are scheduled in Kubernetes.
# This includes setting resource requirements for the nats and wasmCloud host
# containers along with any additional pot template settings.
Expand Down

0 comments on commit 04faf93

Please sign in to comment.