Skip to content

Commit

Permalink
Merge pull request #2 from omcal/clc
Browse files Browse the repository at this point in the history
[CN-921] CLC example added
  • Loading branch information
omcal authored Aug 11, 2023
2 parents ee6dfc6 + 968fde9 commit 84b2bd3
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion docs/modules/ROOT/pages/hazelcast-platform-operator-tls.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,24 @@ git clone https://github.com/hazelcast-guides/hazelcast-platform-operator-tls.gi
cd hazelcast-platform-operator-tls
----
+
The sample code for this tutorial is in the link:{github-directory}/tree/master/docs/modules/ROOT/examples[`docs/modules/ROOT/examples/`] directory.
The sample code(excluding CLC) for this tutorial is in the link:{github-directory}/tree/master/docs/modules/ROOT/examples[`docs/modules/ROOT/examples/`] directory.

. Configure the Hazelcast client with the TLS certificate:
+
[tabs]
====
CLC::
+
--
NOTE: Before using CLC, it should be installed in your system. Check the installation instructions for CLC: xref:clc:ROOT:install-clc.adoc[].
Run the following command for adding the cluster config to the CLC.
[source, shell]
----
clc config add hz cluster.name=dev cluster.address=<EXTERNAL-IP> ssl.enabled=true ssl.server=example ssl.ca-path=<PATH/TO/example.crt>
----
Java::
+
--
Expand Down Expand Up @@ -142,6 +154,16 @@ include::ROOT:example$/python/example.py[]
+
[tabs]
====
CLC::
+
--
[source, shell]
----
clc -c hz map size
----
Java::
+
--
Expand Down

0 comments on commit 84b2bd3

Please sign in to comment.