@@ -52,20 +52,20 @@ the Helm 3 dependency proves troublesome for users, or in the event that this
52
52
experimental feature goes away, or isn't working like we'd hope, we will revisit
53
53
this choice before going GA.
54
54
55
- To install Brigade Metrics, begin by pulling the chart from GCR and exporting
56
- it to some location on your local system. Here, we export it to ` ~/charts ` :
55
+ First, be sure you are using
56
+ [ Helm 3.7.0-rc.1] ( https://github.com/helm/helm/releases/tag/v3.7.0-rc.1 ) and
57
+ enable experimental OCI support:
57
58
58
59
``` console
59
60
$ export HELM_EXPERIMENTAL_OCI=1
60
- $ helm chart pull ghcr.io/brigadecore/brigade-metrics:v0.1.0
61
- $ helm chart export ghcr.io/brigadecore/brigade-metrics:v0.1.0 -d ~ /charts
62
61
```
63
62
64
63
Use the following command to extract the full set of configuration options from
65
64
the chart. Here we're storing a copy at ` ~/brigade-metrics-values.yaml ` :
66
65
67
66
``` console
68
- $ helm inspect values ~ /charts/brigade-metrics > ~ /brigade-metrics-values.yaml
67
+ $ helm inspect values oci://ghcr.io/brigadecore/brigade-metrics \
68
+ --version v0.2.0 > ~/brigade-metrics-values.yaml
69
69
```
70
70
71
71
Edit the configuration (` ~/brigade-metrics-values.yaml ` in this example). At
@@ -86,7 +86,9 @@ minimum, you will need to make the following changes:
86
86
Install Brigade Metrics, referencing your edited configuration:
87
87
88
88
``` console
89
- $ helm install brigade-metrics ~ /charts/brigade-metrics \
89
+ $ helm install brigade-metrics \
90
+ oci://ghcr.io/brigadecore/brigade-metrics \
91
+ --version v0.2.0 \
90
92
--create-namespace \
91
93
--namespace brigade-metrics \
92
94
--values ~/brigade-metrics-values.yaml
0 commit comments