Include platform details while installing ztunnel on OpenShift (#15922)

* Include platform details while installing ztunnel on OpenShift

On OpenShift, installing the ztunnel chart requires specifying the
global.platform details. This PR includes that update.

Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>

* Include the platform details for all the charts on OCP

Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>

---------

Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
This commit is contained in:
Sridhar Gaddam 2024-11-12 00:54:31 +05:30 committed by GitHub
parent 37ca41844b
commit 4fea8993cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 5 deletions

View File

@ -200,16 +200,21 @@ For example:
OpenShift requires that `ztunnel` and `istio-cni` components are installed in the `kube-system` namespace, and that you set `global.platform=openshift` for all charts.
If you use `helm`, you can set the target namespace and `global.platform` values directly.
If you use `istioctl`, you must use a special profile named `openshift-ambient` to accomplish the same thing.
{{< tabset category-name="install-method" >}}
{{< tab name="Helm" category-value="helm" >}}
You must `--set global.platform=openshift` for **every** chart you install, for example with the `istiod` chart:
{{< text syntax=bash >}}
$ helm install istio-cni istio/cni -n kube-system --set profile=ambient --set global.platform=openshift --wait
$ helm install istiod istio/istiod -n istio-system --set profile=ambient --set global.platform=openshift --wait
{{< /text >}}
In addition, you must install `istio-cni` and `ztunnel` in the `kube-system` namespace, for example:
{{< text syntax=bash >}}
$ helm install istio-cni istio/istio-cni -n kube-system --set profile=ambient --set global.platform=openshift --wait
$ helm install ztunnel istio/ztunnel -n kube-system --set profile=ambient --set global.platform=openshift --wait
{{< /text >}}
{{< /tab >}}