@@ -46,6 +46,9 @@ type ImageLayouts struct {
46
46
Install layout.Path
47
47
InstallImages map [string ]struct {}
48
48
49
+ InstallStandalone layout.Path
50
+ InstallStandaloneImages map [string ]struct {}
51
+
49
52
ReleaseChannel layout.Path
50
53
ReleaseChannelImages map [string ]struct {}
51
54
@@ -80,12 +83,13 @@ func CreateOCIImageLayoutsForDeckhouse(
80
83
}
81
84
82
85
fsPaths := map [* layout.Path ]string {
83
- & layouts .Deckhouse : rootFolder ,
84
- & layouts .Install : filepath .Join (rootFolder , "install" ),
85
- & layouts .ReleaseChannel : filepath .Join (rootFolder , "release-channel" ),
86
- & layouts .TrivyDB : filepath .Join (rootFolder , "security" , "trivy-db" ),
87
- & layouts .TrivyBDU : filepath .Join (rootFolder , "security" , "trivy-bdu" ),
88
- & layouts .TrivyJavaDB : filepath .Join (rootFolder , "security" , "trivy-java-db" ),
86
+ & layouts .Deckhouse : rootFolder ,
87
+ & layouts .Install : filepath .Join (rootFolder , "install" ),
88
+ & layouts .InstallStandalone : filepath .Join (rootFolder , "install-standalone" ),
89
+ & layouts .ReleaseChannel : filepath .Join (rootFolder , "release-channel" ),
90
+ & layouts .TrivyDB : filepath .Join (rootFolder , "security" , "trivy-db" ),
91
+ & layouts .TrivyBDU : filepath .Join (rootFolder , "security" , "trivy-bdu" ),
92
+ & layouts .TrivyJavaDB : filepath .Join (rootFolder , "security" , "trivy-java-db" ),
89
93
}
90
94
for layoutPtr , fsPath := range fsPaths {
91
95
* layoutPtr , err = CreateEmptyImageLayoutAtPath (fsPath )
@@ -173,6 +177,7 @@ func FillLayoutsWithBasicDeckhouseImages(
173
177
) {
174
178
layouts .DeckhouseImages = map [string ]struct {}{}
175
179
layouts .InstallImages = map [string ]struct {}{}
180
+ layouts .InstallStandaloneImages = map [string ]struct {}{}
176
181
layouts .ReleaseChannelImages = map [string ]struct {}{}
177
182
layouts .TrivyDBImages = map [string ]struct {}{
178
183
mirrorCtx .DeckhouseRegistryRepo + "/security/trivy-db:2" : {},
@@ -183,6 +188,7 @@ func FillLayoutsWithBasicDeckhouseImages(
183
188
for _ , version := range deckhouseVersions {
184
189
layouts .DeckhouseImages [fmt .Sprintf ("%s:v%s" , mirrorCtx .DeckhouseRegistryRepo , version .String ())] = struct {}{}
185
190
layouts .InstallImages [fmt .Sprintf ("%s/install:v%s" , mirrorCtx .DeckhouseRegistryRepo , version .String ())] = struct {}{}
191
+ layouts .InstallStandaloneImages [fmt .Sprintf ("%s/install-standalone:v%s" , mirrorCtx .DeckhouseRegistryRepo , version .String ())] = struct {}{}
186
192
layouts .ReleaseChannelImages [fmt .Sprintf ("%s/release-channel:v%s" , mirrorCtx .DeckhouseRegistryRepo , version .String ())] = struct {}{}
187
193
}
188
194
@@ -203,6 +209,12 @@ func FillLayoutsWithBasicDeckhouseImages(
203
209
layouts .InstallImages [mirrorCtx .DeckhouseRegistryRepo + "/install:stable" ] = struct {}{}
204
210
layouts .InstallImages [mirrorCtx .DeckhouseRegistryRepo + "/install:rock-solid" ] = struct {}{}
205
211
212
+ layouts .InstallStandaloneImages [mirrorCtx .DeckhouseRegistryRepo + "/install-standalone:alpha" ] = struct {}{}
213
+ layouts .InstallStandaloneImages [mirrorCtx .DeckhouseRegistryRepo + "/install-standalone:beta" ] = struct {}{}
214
+ layouts .InstallStandaloneImages [mirrorCtx .DeckhouseRegistryRepo + "/install-standalone:early-access" ] = struct {}{}
215
+ layouts .InstallStandaloneImages [mirrorCtx .DeckhouseRegistryRepo + "/install-standalone:stable" ] = struct {}{}
216
+ layouts .InstallStandaloneImages [mirrorCtx .DeckhouseRegistryRepo + "/install-standalone:rock-solid" ] = struct {}{}
217
+
206
218
layouts .ReleaseChannelImages [mirrorCtx .DeckhouseRegistryRepo + "/release-channel:alpha" ] = struct {}{}
207
219
layouts .ReleaseChannelImages [mirrorCtx .DeckhouseRegistryRepo + "/release-channel:beta" ] = struct {}{}
208
220
layouts .ReleaseChannelImages [mirrorCtx .DeckhouseRegistryRepo + "/release-channel:early-access" ] = struct {}{}
0 commit comments