You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: design-proposals/helm-chart.md
+30-3Lines changed: 30 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -169,6 +169,11 @@ The CDI project has the same `CRD-Operator-CR` setup so all of the above applies
169
169
Note that the file structures above are purely for illustrative purposes.
170
170
Different Kubernetes resources (e.g. `rbac`) could be extracted as separate templates (files) in order to keep the charts cleaner and easier to navigate.
171
171
172
+
### Decision
173
+
174
+
After careful evaluation of all the different options by the community, [Approach 2](#approach-2-one-crd-chart-and-one-cr--operator-chart)
175
+
is by far the most favoured one taking into account popularity, maintainability, as well as extensibility.
176
+
172
177
## Chart Management
173
178
174
179
The second problem which needs to be addressed is how Helm charts are going to be created and modified.
@@ -204,10 +209,14 @@ but it should be stable and both manifests and charts would be released simultan
204
209
however, we need to keep in mind that the complete manifests are not version controlled.
205
210
This would also mean that updated Helm charts are released separately from the manifests.
206
211
207
-
Unfortunately, I'm still very new to KubeVirt so feedback in this section would be more than welcome.
208
-
209
212
I'm not familiar with CDI's current manifest creation flow yet, but I *believe* it is similar.
210
213
214
+
### Decision
215
+
216
+
[Approach 2](#approach-2-manually-curate-a-helm-chart) is the preferred option.
217
+
The Helm charts will be created based on the KubeVirt (and CDI) manifests that are published
218
+
with each KubeVirt (and CDI) release and will be hosted in a separate GitHub repository (e.g. `kubevirt/charts`).
219
+
211
220
## Helm repository
212
221
213
222
Chart repository is a location where packaged charts can be stored and shared.
@@ -231,18 +240,36 @@ We should be able to use Quay OCI considering all other artefacts are already st
231
240
232
241
## API Examples
233
242
234
-
Working with Helm charts is fairly straightforward. Users should be able to manage the applications by:
243
+
Working with Helm charts is fairly straightforward. Users should be able to manage the applications via Helm CLI.
244
+
245
+
### Add Chart Repository
235
246
236
247
```shell
237
248
$ helm repo add kubevirt <repo-url>
249
+
```
250
+
251
+
Note that this is not necessary if we use OCI registry as opposed to a standard HTTP(s) repository.
0 commit comments