@@ -133,20 +133,29 @@ that prevents the gateway from using this token for impersonating other gateways
133
133
134
134
### 3. Install the GitHub Gateway
135
135
136
- For now, you can only obtain the Helm chart for the Brigade GitHub Gateway by
137
- cloning this repository:
136
+ For now, we're using the [ GitHub Container Registry] ( https://ghcr.io ) (which is
137
+ an [ OCI registry] ( https://helm.sh/docs/topics/registries/ ) ) to host our Helm
138
+ chart. Helm 3 has _ experimental_ support for OCI registries. In the event that
139
+ the Helm 3 dependency proves troublesome for Brigade users, or in the event that
140
+ this experimental feature goes away, or isn't working like we'd hope, we will
141
+ revisit this choice before going GA.
138
142
139
- ``` console
140
- $
git clone [email protected] :brigadecore/brigade-github-gateway.git
143
+ To fetch the Brigade GitHub Gateway chart from the registry:
141
144
142
- $ cd brigade-github-gateway/charts/brigade-github-gateway
145
+ ``` console
146
+ export HELM_EXPERIMENTAL_OCI=1
147
+ helm chart pull ghcr.io/brigadecore/brigade-github-gateway:v0.1.0
148
+ helm chart export ghcr.io/brigadecore/brigade-github-gateway:v0.1.0 -d ~/charts
143
149
```
144
150
151
+ As this chart requires custom configuration as described above to function
152
+ properly, we'll need to create a chart values file with said config.
153
+
145
154
Use the following command to extract the full set of configuration options into
146
155
a file you can modify:
147
156
148
157
``` console
149
- $ helm inspect values . > my-values.yaml
158
+ $ helm inspect values ~ /charts/brigade-github-gateway > my-values.yaml
150
159
```
151
160
152
161
Edit ` my-values.yaml ` , making the following changes:
@@ -169,7 +178,7 @@ Save your changes to `my-values.yaml` and use the following command to install
169
178
the gateway using the above customizations:
170
179
171
180
``` console
172
- $ helm install brigade-github-gateway . \
181
+ $ helm install brigade-github-gateway ~ /charts/brigade-github-gateway \
173
182
--create-namespace \
174
183
--namespace brigade-github-gateway \
175
184
--values my-values.yaml
0 commit comments