Skip to content

Instantly share code, notes, and snippets.

@opsymcdevface
Created January 12, 2016 14:56
Show Gist options
  • Save opsymcdevface/8dbf819d567783d66f26 to your computer and use it in GitHub Desktop.
Save opsymcdevface/8dbf819d567783d66f26 to your computer and use it in GitHub Desktop.
springboot.json
{
"kind": "List",
"apiVersion": "v1",
"metadata": {
"name": "springboot-s2i"
},
"items": [{
"apiVersion": "v1",
"kind": "BuildConfig",
"metadata": {
"name": "springboot-s2i"
},
"spec": {
"type": "Git",
"source": {
"git": {
"uri": "git@git.ming.local:systems/springboot-s2i"
},
"sourceSecret": {
"name": "sshsecret"
}
},
"strategy": {
"type": "Docker",
"dockerStrategy": {
"from": {
"kind": "ImageStreamTag",
"name": "base-centos7:latest"
}
}
},
"output": {
"to": {
"kind": "ImageStreamTag",
"name": "springboot-centos7:latest"
}
}
}
}, {
"kind": "ImageStream",
"apiVersion": "v1",
"metadata": {
"name": "springboot-s2i"
},
"spec": {
"dockerImageRepository": "",
"tags": [{
"name": "latest",
"annotations": {
"description": "Springboot S2I Image",
"iconClass": "icon-jboss",
"tags": "builder,springboot,java,maven,gradle",
"supports": "springboot,java:8,maven:3,gradle:2.6",
"version": "1.0"
}
}]
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment