File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,14 @@ apiVersion: v2 <1>
32
32
name: nodejs-ex-k <2>
33
33
description: A Helm chart for OpenShift <3>
34
34
icon: https://static.redhat.com/libs/redhat/brand-assets/latest/corp/logo.svg <4>
35
+ version: 0.2.1 <5>
35
36
----
36
37
+
37
38
<1> The chart API version. It should be `v2` for Helm charts that require at least Helm 3.
38
39
<2> The name of your chart.
39
40
<3> The description of your chart.
40
41
<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.
41
43
42
44
. Verify that the chart is formatted properly:
43
45
+
Original file line number Diff line number Diff line change 13
13
+
14
14
[source,terminal]
15
15
----
16
- $ oc new-project mysql
16
+ $ oc new-project vault
17
17
----
18
18
19
19
. Add a repository of Helm charts to your local Helm client:
20
20
+
21
21
[source,terminal]
22
22
----
23
- $ helm repo add stable https://kubernetes- charts.storage.googleapis.com /
23
+ $ helm repo add openshift-helm-charts https://charts.openshift.io /
24
24
----
25
25
+
26
26
.Example output
27
27
[source,terminal]
28
28
----
29
- "stable " has been added to your repositories
29
+ "openshift-helm-charts " has been added to your repositories
30
30
----
31
31
32
32
. Update the repository:
@@ -40,7 +40,19 @@ $ helm repo update
40
40
+
41
41
[source,terminal]
42
42
----
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!
44
56
----
45
57
46
58
. Verify that the chart has installed successfully:
@@ -53,6 +65,6 @@ $ helm list
53
65
.Example output
54
66
[source,terminal]
55
67
----
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
58
70
----
You can’t perform that action at this time.
0 commit comments