Skip to content

Commit 53f6673

Browse files
feat(api): support for OCI URL in Helm chart declaration
1 parent 1fa4db6 commit 53f6673

File tree

4 files changed

+33
-0
lines changed

4 files changed

+33
-0
lines changed

api/crds/manifests/core.orchestrate.cloud.sap_controlplanes.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ spec:
6868
repository:
6969
description: Repository is the URL to a Helm repository
7070
type: string
71+
url:
72+
description: URL is the URL to an OCI registry where the Helm
73+
chart is stored.
74+
type: string
7175
version:
7276
description: Version of the Helm chart, latest version if
7377
not set
@@ -97,6 +101,10 @@ spec:
97101
repository:
98102
description: Repository is the URL to a Helm repository
99103
type: string
104+
url:
105+
description: URL is the URL to an OCI registry where the Helm
106+
chart is stored.
107+
type: string
100108
version:
101109
description: Version of the Helm chart, latest version if
102110
not set
@@ -141,6 +149,10 @@ spec:
141149
repository:
142150
description: Repository is the URL to a Helm repository
143151
type: string
152+
url:
153+
description: URL is the URL to an OCI registry where the Helm
154+
chart is stored.
155+
type: string
144156
version:
145157
description: Version of the Helm chart, latest version if
146158
not set
@@ -259,6 +271,10 @@ spec:
259271
repository:
260272
description: Repository is the URL to a Helm repository
261273
type: string
274+
url:
275+
description: URL is the URL to an OCI registry where the Helm
276+
chart is stored.
277+
type: string
262278
version:
263279
description: Version of the Helm chart, latest version if
264280
not set
@@ -288,6 +304,10 @@ spec:
288304
repository:
289305
description: Repository is the URL to a Helm repository
290306
type: string
307+
url:
308+
description: URL is the URL to an OCI registry where the Helm
309+
chart is stored.
310+
type: string
291311
version:
292312
description: Version of the Helm chart, latest version if
293313
not set
@@ -317,6 +337,10 @@ spec:
317337
repository:
318338
description: Repository is the URL to a Helm repository
319339
type: string
340+
url:
341+
description: URL is the URL to an OCI registry where the Helm
342+
chart is stored.
343+
type: string
320344
version:
321345
description: Version of the Helm chart, latest version if
322346
not set

api/crds/manifests/core.orchestrate.cloud.sap_releasechannels.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ spec:
125125
description: if it's a helm chart, this specifies the
126126
helm repo
127127
type: string
128+
ociUrl:
129+
description: if the Helm chart is stored in an OCI registry,
130+
this specifies the OCI URL
131+
type: string
128132
version:
129133
description: The version number for that ComponentVersion
130134
type: string

api/v1beta1/controlplane_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ type ChartSpec struct {
8989
// Repository is the URL to a Helm repository
9090
Repository string `json:"repository,omitempty"`
9191

92+
// URL is the URL to an OCI registry where the Helm chart is stored.
93+
URL string `json:"url,omitempty"`
94+
9295
// Name of the Helm chart
9396
Name string `json:"name,omitempty"`
9497

api/v1beta1/releasechannel_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ type ComponentVersion struct {
7171
HelmRepo string `json:"helmRepo,omitempty"`
7272
// if it's a helm chart, this specifies the chart name
7373
HelmChart string `json:"helmChart,omitempty"`
74+
// if the Helm chart is stored in an OCI registry, this specifies the OCI URL
75+
OCIURL string `json:"ociUrl,omitempty"`
7476
}
7577

7678
// ReleaseChannel is the Schema for the ReleaseChannel API

0 commit comments

Comments
 (0)