Skip to content

Commit b5709df

Browse files
gma1kqmonnet
authored andcommitted
docs: fix duplicate --version in Helm OCI install/upgrade examples
|CHART_VERSION| already expands to '--version <release>'. Removing the extra literal --version before |CHART_VERSION| so the rendered CLI is correct (e.g. single '--version 1.19.0'). Signed-off-by: Ghassan Malke <ghassan+github@malke.nl>
1 parent 5c37678 commit b5709df

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Documentation/installation/k8s-install-helm.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ several advantages:
5151
.. parsed-literal::
5252
5353
helm install cilium oci://quay.io/cilium/charts/cilium \
54-
--version |CHART_VERSION| \
54+
|CHART_VERSION| \
5555
--namespace kube-system
5656
5757
.. only:: not stable
@@ -320,7 +320,7 @@ Using OCI Registry
320320
.. parsed-literal::
321321
322322
helm upgrade cilium oci://quay.io/cilium/charts/cilium \
323-
--version |CHART_VERSION| \
323+
|CHART_VERSION| \
324324
--namespace kube-system
325325
326326
.. only:: not stable
@@ -342,7 +342,7 @@ switching to OCI is straightforward as the charts are identical:
342342
.. parsed-literal::
343343
344344
helm upgrade cilium oci://quay.io/cilium/charts/cilium \
345-
--version |CHART_VERSION| \
345+
|CHART_VERSION| \
346346
--namespace kube-system \
347347
--reuse-values
348348

0 commit comments

Comments
 (0)