From b8c03ae6ede8d6dcaa4eb120f79153efe36cf8d4 Mon Sep 17 00:00:00 2001 From: Ryan Lubke Date: Fri, 31 May 2024 01:29:59 -0700 Subject: [PATCH] Fix #653 - Incorrect usage of COHERENCE_CACHE_CONFIG in example yaml files (#654) --- examples/025_extend_client/README.adoc | 2 +- examples/025_extend_client/manifests/minimal-job.yaml | 2 +- .../manifests/minimal-other-namespace-job.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/025_extend_client/README.adoc b/examples/025_extend_client/README.adoc index 1f7b48e6b..4d97e7d0f 100644 --- a/examples/025_extend_client/README.adoc +++ b/examples/025_extend_client/README.adoc @@ -232,7 +232,7 @@ include::manifests/minimal-job.yaml[] To be able to run the client we need to set in three pieces of information. -* The name of the cache configuration file. We set this using the `COHERENCE_CACHE_CONFIG` environment variable, and set the value to `minimal-client-cache-config.xml`, which is the configuration file we're using in this example. +* The name of the cache configuration file. We set this using the `COHERENCE_CACHECONFIG` environment variable, and set the value to `minimal-client-cache-config.xml`, which is the configuration file we're using in this example. * The client needs to be able to discover the storage Pods to connect to. Just like the server cluster uses well known addresses to discover a cluster, the client can do the same. We set the `COHERENCE_WKA` environment variable to the name of the WKA service created for the server when we deployed it above, in this case it is `storage-wka`. * Finally, we set the name of the Coherence cluster the client will connect to. When we deployed the server we did not specify a name, so the default cluster name will be the same as the `Coherence` resource name, in this case `storage`. So we set the `COHERENCE_CLUSTER` environment variable to `storage`. diff --git a/examples/025_extend_client/manifests/minimal-job.yaml b/examples/025_extend_client/manifests/minimal-job.yaml index 8494e3401..dbd6dc5a5 100644 --- a/examples/025_extend_client/manifests/minimal-job.yaml +++ b/examples/025_extend_client/manifests/minimal-job.yaml @@ -10,7 +10,7 @@ spec: - name: client image: simple-extend-client:1.0.0 env: - - name: COHERENCE_CACHE_CONFIG + - name: COHERENCE_CACHECONFIG value: minimal-client-cache-config.xml - name: COHERENCE_WKA value: storage-wka diff --git a/examples/025_extend_client/manifests/minimal-other-namespace-job.yaml b/examples/025_extend_client/manifests/minimal-other-namespace-job.yaml index 3c8937dbb..4bfd1cebe 100644 --- a/examples/025_extend_client/manifests/minimal-other-namespace-job.yaml +++ b/examples/025_extend_client/manifests/minimal-other-namespace-job.yaml @@ -10,7 +10,7 @@ spec: - name: client image: simple-extend-client:1.0.0 env: - - name: COHERENCE_CACHE_CONFIG + - name: COHERENCE_CACHECONFIG value: minimal-client-cache-config.xml - name: COHERENCE_WKA value: storage-wka.default.svc