Last active
August 5, 2018 20:05
-
-
Save ganto/2a70f73cd1d231011ba05269866b9b6b to your computer and use it in GitHub Desktop.
OpenShit ImageStream - Golang S2I CentOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apiVersion": "v1", | |
"kind": "ImageStream", | |
"metadata": { | |
"annotations": { | |
"openshift.io/display-name": "Go" | |
}, | |
"name": "golang" | |
}, | |
"spec": { | |
"tags": [ | |
{ | |
"name": "latest", | |
"annotations": { | |
"description": "Build and run Go applications on CentOS 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/8/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Node.js available on OpenShift, including major versions updates.", | |
"iconClass": "icon-go-gopher", | |
"openshift.io/display-name": "Go (Latest)", | |
"openshift.io/provider-display-name": "Red Hat, Inc.", | |
"sampleRepo": "https://github.com/sspeiche/golang-ex.git", | |
"supports": "golang", | |
"tags": "builder,golang,go" | |
}, | |
"from": { | |
"kind": "ImageStreamTag", | |
"name": "1.8" | |
}, | |
"referencePolicy": { | |
"type": "Local" | |
} | |
}, | |
{ | |
"name": "1.8", | |
"annotations": { | |
"description": "Build and run Go applications on CentOS 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/8/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Node.js available on OpenShift, including major versions updates.", | |
"iconClass": "icon-go-gopher", | |
"openshift.io/display-name": "Go (1.8)", | |
"openshift.io/provider-display-name": "Red Hat, Inc.", | |
"sampleRepo": "https://github.com/sspeiche/golang-ex.git", | |
"supports": "golang", | |
"tags": "builder,golang,go" | |
}, | |
"from": { | |
"kind": "DockerImage", | |
"name": "docker.io/centos/go-toolset-7-centos7:latest" | |
}, | |
"referencePolicy": { | |
"type": "Local" | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment