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
Signed-off-by: Dan Norris <protochron@users.noreply.github.com>
  • Loading branch information
protochron committed May 10, 2024
1 parent 77b8c86 commit dd22a19
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
hostLabels:
some-label: value
# Which wasmCloud version to use
version: 0.82.0
version: 1.0.2
# The name of a secret in the same namespace that provides the required secrets.
secretName: cluster-secrets
# Enable the following to run the wasmCloud hosts as a DaemonSet
Expand All @@ -45,12 +45,13 @@ 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>
#data:
# Only required if using a NATS creds file
# nats.creds: <base64 encoded creds file>
# nats.creds: <creds file>
```

The operator will fail to provision the wasmCloud Deployment if any of these
Expand Down Expand Up @@ -100,6 +101,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 +120,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/base | 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 dd22a19

Please sign in to comment.