Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
asafc committed May 12, 2021
1 parent 7de8978 commit 3482cf2
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,31 @@ Add Helm repository

[source]
----
$ helm repo add opal https://authorizon.github.io/opal-helm-chart
$ helm repo update
helm repo add opal https://authorizon.github.io/opal-helm-chart
----

[source]
----
helm repo update
----

Install the latest version

[source]
----
$ helm install --create-namespace -n opal-ns myopal opal/opal
helm install --create-namespace -n opal-ns myopal opal/opal
----

Search for all available versions

[source]
----
$ helm search repo opal --versions
helm search repo opal --versions
----

Will output:
[source]
----
NAME CHART VERSION APP VERSION DESCRIPTION
... TO BE PROVIDED ....
Expand All @@ -48,18 +57,18 @@ Install specific version

[source]
----
$ helm install --create-namespace -n opal-ns --version x.x.x myopal opal/opal
helm install --create-namespace -n opal-ns --version x.x.x myopal opal/opal
----

=== Verify installation

OPAL Client should populate embedded OPA instance with polices and data from configured Git repository.
To validate it - one could create port-forwarding to OPAL client Pod.
To validate it - one could create port-forwarding to OPAL client Pod. Port 8181 is the embedded OPA agent.

[source]
----
$ kubectl port-forward -n opal-ns service/opal-client 8181:8181
kubectl port-forward -n opal-ns service/opal-client 8181:8181
----

Then, open http://localhost:8181/v1/data/ in your browser.
Then, open http://localhost:8181/v1/data/ in your browser to check OPA data document state.

0 comments on commit 3482cf2

Please sign in to comment.