From dd22a19034f383272984589365d246a401575d36 Mon Sep 17 00:00:00 2001 From: Dan Norris Date: Fri, 10 May 2024 12:12:22 -0400 Subject: [PATCH] chore: update README with latest version, example policy topic Signed-off-by: Dan Norris --- README.md | 12 +++++++----- deploy/base/deployment.yaml | 2 +- sample.yaml | 10 +++++----- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 78d90a9..464b953 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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: +#data: # Only required if using a NATS creds file - # nats.creds: + # nats.creds: ``` The operator will fail to provision the wasmCloud Deployment if any of these @@ -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 ``` @@ -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 diff --git a/deploy/base/deployment.yaml b/deploy/base/deployment.yaml index a96a1cb..d41210b 100644 --- a/deploy/base/deployment.yaml +++ b/deploy/base/deployment.yaml @@ -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: diff --git a/sample.yaml b/sample.yaml index 404f8c2..b59f1e1 100644 --- a/sample.yaml +++ b/sample.yaml @@ -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 @@ -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.