Skip to content

Instantly share code, notes, and snippets.

@yifan-gu
Last active November 28, 2016 21:18
Show Gist options
  • Select an option

  • Save yifan-gu/8dddf87d189ce7c92e5b3edaf468829a to your computer and use it in GitHub Desktop.

Select an option

Save yifan-gu/8dddf87d189ce7c92e5b3edaf468829a to your computer and use it in GitHub Desktop.
update-spec-example-1.4.7
{
"version": "1.4.7",
"deployments": [
{
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
"metadata": {
"name": "tectonic-channel-operator",
"namespace": "tectonic-system",
"labels": {
"k8s-app": "tectonic-channel-operator"
}
},
"spec": {
"replicas": 1,
"template": {
"metadata": {
"labels": {
"k8s-app": "tectonic-channel-operator"
}
},
"spec": {
"containers": [
{
"name": "tectonic-channel-operator",
"image": "quay.io/coreos/tectonic-channel-operator:17d90f9b98f90a260245e6049e2bd53294eac2e7",
"volumeMounts": [
{
"name": "certs",
"mountPath": "/etc/ssl/certs"
}
]
}
],
"imagePullSecrets": [
{
"name": "coreos-pull-secret"
}
],
"volumes": [
{
"name": "certs",
"hostPath": {
"path": "/usr/share/ca-certificates"
}
}
]
}
}
}
},
{
"apiVersion": "extensions/v1beta1",
"kind": "Deployment",
"metadata": {
"name": "kube-version-operator",
"namespace": "tectonic-system",
"labels": {
"k8s-app": "kube-version-operator"
}
},
"spec": {
"replicas": 1,
"template": {
"metadata": {
"labels": {
"k8s-app": "kube-version-operator"
}
},
"spec": {
"containers": [
{
"name": "update-operator",
"image": "quay.io/coreos/kube-version-operator:7c594eccb28069ba63aef0f3205d5e61ad6dab11"
}
],
"imagePullSecrets": [
{
"name": "coreos-pull-secret"
}
]
}
}
}
}
],
"desiredVersions": [
{
"name": "kube-version-update",
"version": "1.4.5+coreos.0"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment