@@ -7,7 +7,7 @@ use strum::AsRefStr;
77#[ cfg( doc) ]
88use crate :: kvp:: Labels ;
99
10- pub const STACKABLE_DOCKER_REPO : & str = "docker .stackable.tech/stackable " ;
10+ pub const STACKABLE_DOCKER_REPO : & str = "oci .stackable.tech/sdp " ;
1111
1212/// Specify which image to use, the easiest way is to only configure the `productVersion`.
1313/// You can also configure a custom image registry to pull from, as well as completely custom
@@ -43,7 +43,7 @@ pub enum ProductImageSelection {
4343#[ serde( rename_all = "camelCase" ) ]
4444pub struct ProductImageCustom {
4545 /// 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`
4747 custom : String ,
4848 /// Version of the product, e.g. `1.4.1`.
4949 product_version : String ,
@@ -58,7 +58,7 @@ pub struct ProductImageStackableVersion {
5858 /// If not specified, the operator will use its own version, e.g. `23.4.1`.
5959 /// When using a nightly operator or a pr version, it will use the nightly `0.0.0-dev` image.
6060 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 `
6262 repo : Option < String > ,
6363}
6464
@@ -70,7 +70,7 @@ pub struct ResolvedProductImage {
7070 /// App version as formatted for [`Labels::recommended`]
7171 pub app_version_label : String ,
7272
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`
7474 pub image : String ,
7575
7676 /// Image pull policy for the containers using the product image
@@ -190,7 +190,7 @@ mod tests {
190190 productVersion: 1.4.1
191191 "# ,
192192 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( ) ,
194194 app_version_label: "1.4.1-stackable23.7.42" . to_string( ) ,
195195 product_version: "1.4.1" . to_string( ) ,
196196 image_pull_policy: "Always" . to_string( ) ,
@@ -204,7 +204,7 @@ mod tests {
204204 productVersion: 1.4.1
205205 "# ,
206206 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( ) ,
208208 app_version_label: "1.4.1-stackable0.0.0-dev" . to_string( ) ,
209209 product_version: "1.4.1" . to_string( ) ,
210210 image_pull_policy: "Always" . to_string( ) ,
@@ -218,7 +218,7 @@ mod tests {
218218 productVersion: 1.4.1
219219 "# ,
220220 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( ) ,
222222 app_version_label: "1.4.1-stackable0.0.0-dev" . to_string( ) ,
223223 product_version: "1.4.1" . to_string( ) ,
224224 image_pull_policy: "Always" . to_string( ) ,
@@ -233,7 +233,7 @@ mod tests {
233233 stackableVersion: 2.1.0
234234 "# ,
235235 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( ) ,
237237 app_version_label: "1.4.1-stackable2.1.0" . to_string( ) ,
238238 product_version: "1.4.1" . to_string( ) ,
239239 image_pull_policy: "Always" . to_string( ) ,
@@ -320,11 +320,11 @@ mod tests {
320320 "superset" ,
321321 "23.7.42" ,
322322 r#"
323- custom: docker .stackable.tech/stackable /superset@sha256:85fa483aa99b9997ce476b86893ad5ed81fb7fd2db602977eb8c42f76efc1098
323+ custom: oci .stackable.tech/sdp /superset@sha256:85fa483aa99b9997ce476b86893ad5ed81fb7fd2db602977eb8c42f76efc1098
324324 productVersion: 1.4.1
325325 "# ,
326326 ResolvedProductImage {
327- image: "docker .stackable.tech/stackable /superset@sha256:85fa483aa99b9997ce476b86893ad5ed81fb7fd2db602977eb8c42f76efc1098" . to_string( ) ,
327+ image: "oci .stackable.tech/sdp /superset@sha256:85fa483aa99b9997ce476b86893ad5ed81fb7fd2db602977eb8c42f76efc1098" . to_string( ) ,
328328 app_version_label: "1.4.1-sha256:85fa483aa99b9997ce476b86893ad5ed81fb7fd2db602977eb" . to_string( ) ,
329329 product_version: "1.4.1" . to_string( ) ,
330330 image_pull_policy: "Always" . to_string( ) ,
0 commit comments