Skip to content

Instantly share code, notes, and snippets.

@danielhelfand
Last active June 13, 2020 13:12
Show Gist options
  • Save danielhelfand/12a1b76100f9eda0bf23b37cf7f73a45 to your computer and use it in GitHub Desktop.
Save danielhelfand/12a1b76100f9eda0bf23b37cf7f73a45 to your computer and use it in GitHub Desktop.
{
"apiVersion": "v1",
"kind": "ImageStream",
"metadata": {
"annotations": {
"openshift.io/display-name": "Rust"
},
"name": "rust"
},
"spec": {
"tags": [
{
"name": "latest",
"annotations": {
"description": "Build and run Rust applications on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/rust-container/blob/master/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Rust available on OpenShift, including major version updates.",
"iconClass": "",
"openshift.io/display-name": "Rust (Latest)",
"openshift.io/provider-display-name": "",
"sampleRepo": "",
"supports": "rust",
"tags": "builder,rust"
},
"from": {
"kind": "ImageStreamTag",
"name": "1.26.2"
},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "1.26.2",
"annotations": {
"description": "Build and run Rust 1.26.2 applications on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/rust-container/blob/master/README.md",
"iconClass": "",
"openshift.io/display-name": "Rust 1.26.2",
"openshift.io/provider-display-name": "",
"sampleRepo": "",
"supports": "rust",
"tags": "builder,rust",
"version": "1.26.2"
},
"from": {
"kind": "DockerImage",
"name": "registry.access.redhat.com/devtools/rust-toolset-7-rhel7:latest"
},
"referencePolicy": {
"type": "Local"
}
}
]
}
}
@danielhelfand
Copy link
Author

@jpapejr Thanks! Assuming v1 would be backwards compatible with 4.3? Otherwise I can update it.

@jpapejr
Copy link

jpapejr commented Apr 29, 2020

Well, I tested on 4.3 and it complained about the apiVersion so I changed it to what I wrote above and it worked. Dunno if it's a OCP 4.3 thing or 4.2, or?

Probably okay to just leave this thread of updates here and let folks be aware of the possibility of the need to update the spec..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment