Skip to content

Minor polyglot example update #727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion examples/910_polyglot_demo/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ namespace/coherence-demo created
[#pre-3]
==== Install the Coherence Operator

TIP: The Coherence Operator is installed installed into a namespace called `coherence`. To change this see the documentation below.
TIP: The Coherence Operator is installed into a namespace called `coherence`. To change this see the documentation below.

[source,bash]
----
Expand Down Expand Up @@ -271,6 +271,29 @@ docker push ghcr.io/username/repo/polyglot-client-go:1.0.0
* link:yaml/js-client.yaml[js-client.yaml]
* link:yaml/go-client.yaml[go-client.yaml]

3. Create a secret if your repository is not public:
+
If the repository you are pushing to is not public, you will need to create a pull secret, and add this to the deployment yaml for each client.
+
[source,bash]
----
kubectl create secret docker-registry my-pull-secret \
--docker-server=ghcr.io \
--docker-username="<username>" --docker-password="<password>" \
--docker-email="<email>" -n coherence-demo
----
+
In each of the client deployment files, above add `imagePullSecrets` after the image. For example in the go-client:
+
[source,yaml]
----
- name: go-client
image: ghcr.io/username/repo/polyglot-client-go:1.0.0
imagePullPolicy: IfNotPresent
imagePullSecrets:
- name: my-pull-secret
---

[#dep-4]
==== 4. Deploy the Coherence Cluster

Expand Down
Loading