Skip to content

Commit a386ac6

Browse files
authored
Merge pull request #43087 from Srivaralakshmi/Helm-RHDEVDOCS-3762
Fixing the helm repo source and version of the helm chart
2 parents 870f423 + bc362f5 commit a386ac6

File tree

2 files changed

+20
-6
lines changed

2 files changed

+20
-6
lines changed

modules/helm-creating-a-custom-helm-chart-on-openshift.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,14 @@ apiVersion: v2 <1>
3232
name: nodejs-ex-k <2>
3333
description: A Helm chart for OpenShift <3>
3434
icon: https://static.redhat.com/libs/redhat/brand-assets/latest/corp/logo.svg <4>
35+
version: 0.2.1 <5>
3536
----
3637
+
3738
<1> The chart API version. It should be `v2` for Helm charts that require at least Helm 3.
3839
<2> The name of your chart.
3940
<3> The description of your chart.
4041
<4> The URL to an image to be used as an icon.
42+
<5> The Version of your chart as per the Semantic Versioning (SemVer) 2.0.0 Specification.
4143

4244
. Verify that the chart is formatted properly:
4345
+

modules/helm-installing-a-helm-chart-on-an-openshift-cluster.adoc

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313
+
1414
[source,terminal]
1515
----
16-
$ oc new-project mysql
16+
$ oc new-project vault
1717
----
1818

1919
. Add a repository of Helm charts to your local Helm client:
2020
+
2121
[source,terminal]
2222
----
23-
$ helm repo add stable https://kubernetes-charts.storage.googleapis.com/
23+
$ helm repo add openshift-helm-charts https://charts.openshift.io/
2424
----
2525
+
2626
.Example output
2727
[source,terminal]
2828
----
29-
"stable" has been added to your repositories
29+
"openshift-helm-charts" has been added to your repositories
3030
----
3131

3232
. Update the repository:
@@ -40,7 +40,19 @@ $ helm repo update
4040
+
4141
[source,terminal]
4242
----
43-
$ helm install example-mysql stable/mysql
43+
$ helm install example-vault openshift-helm-charts/hashicorp-vault
44+
----
45+
+
46+
.Example output
47+
[source,terminal]
48+
----
49+
NAME: example-vault
50+
LAST DEPLOYED: Fri Mar 11 12:02:12 2022
51+
NAMESPACE: vault
52+
STATUS: deployed
53+
REVISION: 1
54+
NOTES:
55+
Thank you for installing HashiCorp Vault!
4456
----
4557

4658
. Verify that the chart has installed successfully:
@@ -53,6 +65,6 @@ $ helm list
5365
.Example output
5466
[source,terminal]
5567
----
56-
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
57-
example-mysql mysql 1 2019-12-05 15:06:51.379134163 -0500 EST deployed mysql-1.5.0 5.7.27
68+
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
69+
example-vault vault 1 2022-03-11 12:02:12.296226673 +0530 IST deployed vault-0.19.0 1.9.2
5870
----

0 commit comments

Comments
 (0)