@@ -7,7 +7,7 @@ use strum::AsRefStr;
7
7
#[ cfg( doc) ]
8
8
use crate :: kvp:: Labels ;
9
9
10
- pub const STACKABLE_DOCKER_REPO : & str = "docker .stackable.tech/stackable " ;
10
+ pub const STACKABLE_DOCKER_REPO : & str = "oci .stackable.tech/sdp " ;
11
11
12
12
/// Specify which image to use, the easiest way is to only configure the `productVersion`.
13
13
/// You can also configure a custom image registry to pull from, as well as completely custom
@@ -43,7 +43,7 @@ pub enum ProductImageSelection {
43
43
#[ serde( rename_all = "camelCase" ) ]
44
44
pub struct ProductImageCustom {
45
45
/// Overwrite the docker image.
46
- /// Specify the full docker image name, e.g. `docker .stackable.tech/stackable /superset:1.4.1-stackable2.1.0`
46
+ /// Specify the full docker image name, e.g. `oci .stackable.tech/sdp /superset:1.4.1-stackable2.1.0`
47
47
custom : String ,
48
48
/// Version of the product, e.g. `1.4.1`.
49
49
product_version : String ,
@@ -58,7 +58,7 @@ pub struct ProductImageStackableVersion {
58
58
/// If not specified, the operator will use its own version, e.g. `23.4.1`.
59
59
/// When using a nightly operator or a pr version, it will use the nightly `0.0.0-dev` image.
60
60
stackable_version : Option < String > ,
61
- /// Name of the docker repo, e.g. `docker .stackable.tech/stackable `
61
+ /// Name of the docker repo, e.g. `oci .stackable.tech/sdp `
62
62
repo : Option < String > ,
63
63
}
64
64
@@ -70,7 +70,7 @@ pub struct ResolvedProductImage {
70
70
/// App version as formatted for [`Labels::recommended`]
71
71
pub app_version_label : String ,
72
72
73
- /// Image to be used for the product image e.g. `docker .stackable.tech/stackable /superset:1.4.1-stackable2.1.0`
73
+ /// Image to be used for the product image e.g. `oci .stackable.tech/sdp /superset:1.4.1-stackable2.1.0`
74
74
pub image : String ,
75
75
76
76
/// Image pull policy for the containers using the product image
@@ -190,7 +190,7 @@ mod tests {
190
190
productVersion: 1.4.1
191
191
"# ,
192
192
ResolvedProductImage {
193
- image: "docker .stackable.tech/stackable /superset:1.4.1-stackable23.7.42" . to_string( ) ,
193
+ image: "oci .stackable.tech/sdp /superset:1.4.1-stackable23.7.42" . to_string( ) ,
194
194
app_version_label: "1.4.1-stackable23.7.42" . to_string( ) ,
195
195
product_version: "1.4.1" . to_string( ) ,
196
196
image_pull_policy: "Always" . to_string( ) ,
@@ -204,7 +204,7 @@ mod tests {
204
204
productVersion: 1.4.1
205
205
"# ,
206
206
ResolvedProductImage {
207
- image: "docker .stackable.tech/stackable /superset:1.4.1-stackable0.0.0-dev" . to_string( ) ,
207
+ image: "oci .stackable.tech/sdp /superset:1.4.1-stackable0.0.0-dev" . to_string( ) ,
208
208
app_version_label: "1.4.1-stackable0.0.0-dev" . to_string( ) ,
209
209
product_version: "1.4.1" . to_string( ) ,
210
210
image_pull_policy: "Always" . to_string( ) ,
@@ -218,7 +218,7 @@ mod tests {
218
218
productVersion: 1.4.1
219
219
"# ,
220
220
ResolvedProductImage {
221
- image: "docker .stackable.tech/stackable /superset:1.4.1-stackable0.0.0-dev" . to_string( ) ,
221
+ image: "oci .stackable.tech/sdp /superset:1.4.1-stackable0.0.0-dev" . to_string( ) ,
222
222
app_version_label: "1.4.1-stackable0.0.0-dev" . to_string( ) ,
223
223
product_version: "1.4.1" . to_string( ) ,
224
224
image_pull_policy: "Always" . to_string( ) ,
@@ -233,7 +233,7 @@ mod tests {
233
233
stackableVersion: 2.1.0
234
234
"# ,
235
235
ResolvedProductImage {
236
- image: "docker .stackable.tech/stackable /superset:1.4.1-stackable2.1.0" . to_string( ) ,
236
+ image: "oci .stackable.tech/sdp /superset:1.4.1-stackable2.1.0" . to_string( ) ,
237
237
app_version_label: "1.4.1-stackable2.1.0" . to_string( ) ,
238
238
product_version: "1.4.1" . to_string( ) ,
239
239
image_pull_policy: "Always" . to_string( ) ,
@@ -320,11 +320,11 @@ mod tests {
320
320
"superset" ,
321
321
"23.7.42" ,
322
322
r#"
323
- custom: docker .stackable.tech/stackable /superset@sha256:85fa483aa99b9997ce476b86893ad5ed81fb7fd2db602977eb8c42f76efc1098
323
+ custom: oci .stackable.tech/sdp /superset@sha256:85fa483aa99b9997ce476b86893ad5ed81fb7fd2db602977eb8c42f76efc1098
324
324
productVersion: 1.4.1
325
325
"# ,
326
326
ResolvedProductImage {
327
- image: "docker .stackable.tech/stackable /superset@sha256:85fa483aa99b9997ce476b86893ad5ed81fb7fd2db602977eb8c42f76efc1098" . to_string( ) ,
327
+ image: "oci .stackable.tech/sdp /superset@sha256:85fa483aa99b9997ce476b86893ad5ed81fb7fd2db602977eb8c42f76efc1098" . to_string( ) ,
328
328
app_version_label: "1.4.1-sha256:85fa483aa99b9997ce476b86893ad5ed81fb7fd2db602977eb" . to_string( ) ,
329
329
product_version: "1.4.1" . to_string( ) ,
330
330
image_pull_policy: "Always" . to_string( ) ,
0 commit comments