File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
examples/910_polyglot_demo Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ namespace/coherence-demo created
97
97
[#pre-3]
98
98
==== Install the Coherence Operator
99
99
100
- TIP: The Coherence Operator is installed installed into a namespace called `coherence`. To change this see the documentation below.
100
+ TIP: The Coherence Operator is installed into a namespace called `coherence`. To change this see the documentation below.
101
101
102
102
[source,bash]
103
103
----
@@ -271,6 +271,29 @@ docker push ghcr.io/username/repo/polyglot-client-go:1.0.0
271
271
* link:yaml/js-client.yaml[js-client.yaml]
272
272
* link:yaml/go-client.yaml[go-client.yaml]
273
273
274
+ 3. Create a secret if your repository is not public:
275
+ +
276
+ 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.
277
+ +
278
+ [source,bash]
279
+ ----
280
+ kubectl create secret docker-registry my-pull-secret \
281
+ --docker-server=ghcr.io \
282
+ --docker-username="<username>" --docker-password="<password>" \
283
+ --docker-email="<email>" -n coherence-demo
284
+ ----
285
+ +
286
+ In each of the client deployment files, above add `imagePullSecrets` after the image. For example in the go-client:
287
+ +
288
+ [source,yaml]
289
+ ----
290
+ - name: go-client
291
+ image: ghcr.io/username/repo/polyglot-client-go:1.0.0
292
+ imagePullPolicy: IfNotPresent
293
+ imagePullSecrets:
294
+ - name: my-pull-secret
295
+ ---
296
+
274
297
[#dep-4]
275
298
==== 4. Deploy the Coherence Cluster
276
299
You can’t perform that action at this time.
0 commit comments