Commit 79d4b0fa authored by Darren Shepherd's avatar Darren Shepherd
Browse files

Fix issues on k8s 1.11

parent f3393a59
Showing with 45 additions and 18 deletions
+45 -18
......@@ -172,7 +172,8 @@ func (g *Controller) setGatewayPorts(ns string, ports map[string]bool) error {
existingPorts[strconv.FormatUint(uint64(server.Port.Number), 10)] = true
}
if !set.Changed(ports, existingPorts) {
// can't set a gateway to zero ports, it will cause panics in pilot (v1.0.0)
if !set.Changed(ports, existingPorts) || len(ports) == 0 {
return nil
}
......@@ -308,7 +309,7 @@ func (g *Controller) setHostPorts(ns string, hostPorts bool, ports map[string]bo
return nil
}
if hostPorts && len(toCreate) == 0 {
if hostPorts && len(toCreate) == 0 && len(ports) != 0 {
// For host ports we don't care too much about closing ports. So if all we are doing is deleting ports
// then just skip it for now
return nil
......
package stack
import (
"fmt"
"strings"
"bufio"
"io"
"bytes"
"fmt"
"io"
"reflect"
"strings"
"github.com/rancher/norman/name"
"github.com/rancher/norman/types/convert"
"github.com/rancher/rio/pkg/apply"
"github.com/rancher/rio/types/apis/rio.cattle.io/v1beta1"
"github.com/sirupsen/logrus"
v1beta12 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
"k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
......@@ -23,8 +22,16 @@ import (
func deployK8sResources(stackName, namespace string, stack *v1beta1.InternalStack) error {
var nsObjects []runtime.Object
globalObjects := crdsForCRDDefs(true, stack.Kubernetes.NamespacedCustomResourceDefinitions)
globalObjects = append(globalObjects, crdsForCRDDefs(false, stack.Kubernetes.CustomResourceDefinitions)...)
globalObjects, err := crdsForCRDDefs(true, stack.Kubernetes.NamespacedCustomResourceDefinitions)
if err != nil {
return err
}
globalCRDs, err := crdsForCRDDefs(false, stack.Kubernetes.CustomResourceDefinitions)
if err != nil {
return err
}
globalObjects = append(globalObjects, globalCRDs...)
if stack.Kubernetes.Manifest != "" {
objs, err := readManifest("", stack.Kubernetes.Manifest)
......@@ -59,7 +66,7 @@ func deployK8sResources(stackName, namespace string, stack *v1beta1.InternalStac
return nil
}
func crdsForCRDDefs(namespaced bool, crdDefs []v1beta1.CustomResourceDefinition) []runtime.Object {
func crdsForCRDDefs(namespaced bool, crdDefs []v1beta1.CustomResourceDefinition) ([]runtime.Object, error) {
var objs []runtime.Object
for _, crdDef := range crdDefs {
plural := name.GuessPluralName(strings.ToLower(crdDef.Kind))
......@@ -87,10 +94,21 @@ func crdsForCRDDefs(namespaced bool, crdDefs []v1beta1.CustomResourceDefinition)
crd.Spec.Scope = v1beta12.NamespaceScoped
}
objs = append(objs, crd)
// k8s 1.11 will not accept CRD with status field and marshalling CRD will always put a status field
// so workaround by converting to map
crdObj, err := convert.EncodeToMap(crd)
if err != nil {
logrus.Errorf("failed to marshal CRD %v: %v", crd, err)
return nil, err
}
delete(crdObj, "status")
objs = append(objs, &unstructured.Unstructured{
Object: crdObj,
})
}
return objs
return objs, nil
}
func readManifest(namespace, content string) ([]runtime.Object, error) {
......
FROM ubuntu:18.04
RUN apt-get update && \
apt-get install -y iptables
apt-get install -y iptables ca-certificates
ENV RIO_IN_CLUSTER=true
COPY rio /
COPY local-proxy /
......
......@@ -2,14 +2,13 @@ package apply
import (
"bytes"
"crypto/sha1"
"fmt"
"strconv"
"strings"
"sync"
"time"
"crypto/sha1"
"github.com/docker/docker/pkg/reexec"
"github.com/ghodss/yaml"
"github.com/pkg/errors"
......@@ -93,6 +92,9 @@ func execApply(ns string, whitelist map[string]bool, content []byte, groupID str
cmd.Stderr = errOutput
if err := cmd.Run(); err != nil {
if logrus.GetLevel() >= logrus.DebugLevel {
fmt.Printf("Failed to apply: %v\n%s", errOutput.String(), content)
}
logrus.Errorf("Failed to apply %s: %s", errOutput.String(), string(content))
return fmt.Errorf("failed to apply: %s", errOutput.String())
}
......
......@@ -89,7 +89,7 @@ func stacksCorednsStackYml() (*asset, error) {
return a, nil
}
var _stacksIstioStackYml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x58\xdd\x6f\xe3\x38\x0e\x7f\xcf\x5f\x21\x64\x16\x98\xdb\x41\x9d\x8f\xce\x76\xb7\x63\xa0\x0f\xd9\x34\x73\x2d\xd0\x69\xb3\x6d\x76\x0f\xf7\x14\x28\x16\xe3\x08\x95\x25\x41\xa2\xd3\xc9\x7d\xfc\xef\x07\xc9\x72\x2c\xe7\xa3\x09\xee\x70\xd8\x97\x99\x9a\xfc\x91\xa2\x48\xe9\x47\x2a\x99\x92\x4b\x9e\xdb\xb4\x43\x48\x01\x76\xe5\xfe\x27\x24\x53\x12\x41\x62\x4a\xfe\x95\xf8\x6f\x42\x18\xb7\x74\x21\x60\xaa\x04\xcf\x36\xe3\x15\x64\xaf\x36\x25\x68\x4a\x08\x7a\x2e\x73\x03\xd6\x8e\x95\x44\xa3\x84\x00\xf3\x4d\x31\x48\x49\xf7\xe9\xeb\xd7\x6e\x80\xd0\x12\x57\x95\x7d\x4a\x1e\x9f\x1e\x27\x41\x6c\x98\x7d\x86\xa5\x01\xbb\xba\x05\x41\x37\x29\x19\x0e\x6c\x50\xa9\x12\x17\xaa\x94\x6c\x66\xe8\x72\xc9\xb3\x60\x1c\x94\x84\x14\x7e\x89\xd1\xc3\xc3\xd3\xdf\xe6\xa3\xc7\xbf\xd7\x91\xc2\x92\x96\x02\xc7\x7e\x5f\x0d\x98\x71\x9b\xa9\x35\x98\xcd\xb1\xc5\xfc\xae\x25\x64\x38\xe3\x05\xa8\x12\x53\xf2\xb9\xad\x5b\xf2\x7c\x4a\x71\x95\x92\x6e\x1f\x30\xeb\x73\x8b\x5c\xf5\xb5\x51\xdf\x37\xdd\x2d\x6c\xc1\x25\x35\x9b\x1a\x56\x5a\xd3\x17\x2a\xa3\xa2\xbf\xe0\xb2\x0f\x72\xad\x22\xa8\x05\xb3\xe6\x19\x8c\x45\x69\x11\x4c\x4a\xbc\xbf\xc4\xfb\x6b\x82\x36\x94\xcb\xdb\xd2\x50\xe4\x4a\xa6\xe4\xa7\xab\x26\x20\x4d\x0d\x48\x7c\x59\x95\xc8\xd4\x5b\x84\x19\x16\x51\xd4\x5c\x22\x98\x0c\xb4\x53\x55\x05\x79\x9e\xdc\xde\x3f\x4f\xc6\xb3\xc6\x8f\x5b\x70\xc4\x0a\x2e\xa7\xca\x60\x4a\x86\x57\x83\xc1\x20\xde\xb6\xab\xe7\x54\x50\x09\xa3\xc3\xf5\x23\xc4\x22\x45\xcb\x7e\x67\x7a\xc4\x98\x3b\x04\xf5\x5e\x2a\xb9\xdb\x52\x91\x2c\x0c\x67\x39\xf4\x42\x71\x92\xcb\x9f\xaf\xd8\xe2\xea\x97\xcf\xe9\x97\xe1\xe5\xd5\x7e\x8d\x76\x1c\x69\x2e\x14\xf6\x7e\xf8\xe7\xe3\xe8\xdb\xe4\x65\x3a\x1a\x4f\xfe\x9d\xba\x30\x7f\xe9\x74\x42\x12\xfd\xf1\x8d\xb0\x55\xd9\x05\x5d\x80\xb0\xf5\x11\xf0\xea\x94\x78\xbd\x17\xe5\x42\x2d\xa8\x98\x6b\x30\x05\xb7\x96\x2b\x19\xa0\x09\xf9\xf8\x29\xd4\xbb\xe7\x8d\x7a\x5c\xf5\x3f\x7d\x6c\x74\x12\xf0\x4d\x99\x57\x2e\x8f\xe8\xdd\x41\x07\x89\x3c\xf3\x25\x39\x82\xd1\x1c\xbe\x23\x48\xbf\x6e\xef\xf5\xda\x3a\x40\x56\x5a\x54\x85\x01\xab\x4a\x93\x01\x83\x25\x97\xdc\xb9\xb0\x91\x61\x63\xd5\xc7\x15\x37\x4c\x53\x83\x9b\xda\xe4\x7c\x60\xaf\x51\x1f\xb6\x09\x17\xfa\x98\xcb\xad\xba\xef\xaa\x5c\x6e\x51\x66\x41\xb3\x68\xc7\x41\x9a\x19\xa0\x08\x17\x39\xe0\x85\xe0\x16\x2f\xde\x28\x66\xab\x8b\x52\x33\x8a\x10\x52\x5d\x50\x6d\x03\x1a\x24\xd3\x8a\x4b\xac\xbf\xb5\x62\xf5\x9f\x75\xbd\xc3\xa7\xa4\x05\x58\x4d\x23\x81\x62\xd0\x60\x33\x03\xc1\x89\xe5\x0c\x5e\xb9\x23\xad\xce\xce\x51\x4b\xa3\xb3\x5e\x14\x54\xb2\xb4\xd1\x91\x24\x11\x2a\x9f\xab\x12\x75\x89\x73\x01\x6b\x10\x37\x0c\x16\x65\xbe\x43\x0b\xb6\x71\x92\x54\x2c\x1a\x31\x44\x05\xe9\x3b\xf1\x16\x05\x72\xcd\x8d\x92\x85\xe3\xd8\xc8\x74\xfa\x74\x3b\x77\x67\xfc\xe6\x87\xbf\x58\x10\xcb\xbe\xdb\xde\x8f\x07\xf4\xfe\x0e\xc4\x20\x9f\x83\x16\xf2\xfe\xe1\x69\x36\x9f\xdd\x3d\x3f\xcd\x66\x0f\x93\x9b\xab\xe8\x4a\xd7\xca\xf1\x68\x7c\x37\x99\xbf\xfc\xf6\xfb\xe8\xe5\xee\xa6\xb9\x83\xbc\xa0\x39\x84\x8b\xd7\xaf\x2e\xd3\xb0\x37\xe8\x0d\x22\xde\xf2\x69\x4d\x09\x67\xee\x90\xe3\xa6\xda\x6c\x06\x06\x6d\x7c\xd5\x2a\x2a\x6b\xb6\x07\xdf\xb5\xb2\x10\x6f\xd7\xdf\xe1\xfe\x0a\x51\xb7\x85\xc3\x41\x3f\x37\x3a\x8b\x84\x5f\x06\x5f\x3e\x7b\xe0\x85\xfb\x27\x29\x94\xe4\xa8\x0c\x97\xf9\x91\xb0\xdd\xca\xeb\xcb\x74\xd0\xbb\xee\x0d\xf6\xea\x1b\xf9\x6d\xb3\x6d\x42\x92\xa4\xcd\xca\x91\x2a\x62\x97\x96\x01\x42\xa1\x05\x45\xf8\xca\x05\x44\x8a\xdd\x16\x51\xb1\xff\xbc\x62\xb2\x0d\x2d\x44\x0f\x0b\x2d\x5a\x9e\x0e\x73\x6d\x04\x69\x91\xee\xff\xfd\x08\xdd\x3f\xbe\xcc\x46\x8f\xe3\xc9\xfc\x7e\x5a\xe3\xb8\xfe\xf1\xbc\x63\xb0\x65\xe3\x8c\x23\x65\x20\xaa\x08\x43\x8d\xba\xe1\x5e\x04\x95\x3f\x5d\xdd\xce\x5e\x85\x5c\x4a\xa8\xd6\x20\x59\xc2\xa4\x4d\x7c\x8c\x37\xdb\x89\xc3\x69\xdd\x21\x49\xb4\x32\x78\x73\x3d\xf8\x79\xd0\x16\xaf\x94\x45\x67\x72\x13\x96\xe9\x34\x05\x16\xcb\xc4\xf2\x5c\x02\x4b\x32\xda\x76\x18\xb0\x89\x45\x65\x68\x0e\xc9\x36\x2f\x37\xc6\xb5\xb3\x8d\x45\x28\x4e\xb4\x8e\x37\xc3\x11\x5a\xd4\xb3\x25\x2d\x9a\x65\xaa\x94\xbb\xd2\xea\xf3\x80\x27\x47\x96\x0c\x04\x20\x10\x06\x5a\xa8\x8d\x2b\xb5\xdd\x57\x1e\xf6\xbe\x0f\x38\xa0\x39\xec\xd7\x33\x74\xc5\xcd\x35\x30\x22\xfe\xff\xc6\xc6\x80\x16\x3c\xa3\x76\xcb\xc6\x67\x9d\x9d\x9c\x22\xbc\xd1\xcd\xa1\x5e\xde\x0d\xba\x6e\x4a\xba\x6e\x1d\x23\xa9\xe8\x9e\xa8\x4c\xd7\xc5\x59\x35\x9e\x28\xda\x13\x6d\xb2\xfb\xbe\xf1\xa7\xfe\x9a\x1b\x2c\xa9\xa8\x73\x7c\x12\xcf\xc0\x22\x97\x7e\x30\x30\xa5\x38\xc3\x20\xec\x34\x00\x2b\xf1\x5c\x19\xe6\x46\x46\x8b\x4a\x27\x4b\x6e\x2c\x1e\x6e\x72\x07\x79\xb8\x7d\x0b\x6b\xaa\x8c\x6e\xe1\x99\x5c\x69\x54\xd9\x66\xc8\x64\x1d\x7d\x74\x2f\xbb\x2d\x72\x3b\x38\x7e\x47\x88\x8f\x43\xfb\x91\x7c\x38\x85\x4a\x92\xd6\x44\x1c\xdb\xff\x74\xe5\x1d\x1c\x51\x27\xc9\xe1\x79\xb9\x15\x41\x31\x70\x2e\x4e\x02\x3d\x53\x47\x0f\x85\x96\x0f\xef\xe2\xa8\xfe\x74\x7f\xd9\x6b\x48\xff\xe0\xfa\x95\xcb\x30\x10\xc7\x09\x6e\xe7\x77\x77\x06\x3f\x8e\x6c\x0f\xfc\x31\xce\x8f\xfe\xdd\xff\xa1\x27\xb5\x0a\xbd\x1f\x48\x3c\xa0\x57\xf3\x7b\xad\x03\xb9\xfe\x53\x9a\x58\x42\xee\x5f\x66\xf7\x4f\xf3\x6f\x93\xd9\x68\xfe\xfe\xaa\xef\x73\xd6\x6b\xb9\x00\x23\x01\xab\x97\xc8\x36\x14\x36\xaf\x46\xfa\x79\x4d\x28\xf3\x68\xa8\x77\xc8\x0f\x61\x82\xec\xb8\x58\x6e\x1b\x6e\xa8\xf2\xdc\xdb\x7d\x85\xac\x87\x54\xe8\x15\xbd\xf4\xf0\x89\x9f\xc0\x9f\x4b\x01\xef\xe3\x9e\xdd\x45\x3d\x0d\xbb\x9b\xcd\xa6\xa3\xe9\xfd\x8b\x86\xec\x57\x2e\x99\x7b\xdd\x9c\x8b\x7f\x1f\xf8\x5b\xa9\x90\x9e\xed\x76\x8b\x7e\x0f\xf6\x21\x7a\x83\x79\xab\x3f\x2a\x1a\x7e\xa9\x6e\x57\xef\xd0\x0b\x2d\x98\x7f\xde\x4d\xb5\xcf\xcc\x49\x83\xe0\x79\x22\xd1\x6c\x4e\xa3\xff\x5a\x91\xf6\x29\xe0\x87\x9d\xa7\xa2\xb7\x0d\xa5\x3f\xf6\x88\x0c\xe6\xc3\x4e\xfb\x9c\x15\x54\xf2\x25\xd8\xe6\x27\x1b\xaa\xf9\x1f\x60\xac\xff\x4d\x60\x3d\xf4\xa2\x57\xee\x5e\x37\x61\x27\x5e\x52\x00\x52\x46\x91\xd6\x97\xcf\x39\x4c\x89\x1b\x76\xc4\x22\x88\xa8\x94\x0a\x29\x36\x9d\x74\xb7\x17\xbf\xd7\x8d\xad\x86\xac\xc6\xe1\x46\x43\x4a\x1e\x14\x65\xbf\x52\x41\x65\xb6\x65\x3f\x0b\x02\x32\x54\xe6\x1c\x87\x84\xb8\x79\x6f\xbb\x76\x12\x22\xf6\xaf\x82\xeb\x41\x72\x3d\x88\x7f\xd7\x40\x95\x29\x91\x92\xd9\x78\xda\x48\xfd\x6f\x1c\x11\x0c\xa9\xc9\x01\xa7\xb1\x38\x49\xf6\x33\x78\xa2\x90\x75\x6e\x43\xdd\x4f\xe4\x36\x8f\x50\x71\x86\xf6\x13\x51\x8f\x40\xa4\xce\x42\xe7\x3f\x01\x00\x00\xff\xff\xb8\xde\xba\x07\xaf\x13\x00\x00")
var _stacksIstioStackYml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x58\xdd\x6f\xe3\x38\x0e\x7f\xcf\x5f\x21\x78\x16\x98\xdb\x41\x9d\x8f\xce\x76\xb7\x63\xa0\x0f\xd9\x34\x73\x2d\xd0\x69\xb3\x6d\x76\x0f\xf7\x14\x28\x16\x93\x08\x95\x25\x41\xa2\xd3\xc9\x7d\xfc\xef\x07\xc9\x72\x2c\xe7\xa3\x09\xee\x70\xd8\x97\x99\x9a\xfc\x91\xa2\x48\xe9\x47\x2a\xb9\x92\x0b\xbe\xb4\x59\x87\x90\x02\xec\xca\xfd\x4f\x48\xae\x24\x82\xc4\x8c\xfc\x2b\xf5\xdf\x84\x30\x6e\xe9\x5c\xc0\x44\x09\x9e\x6f\x46\x2b\xc8\x5f\x6d\x46\xd0\x94\x10\xf4\x5c\x2e\x0d\x58\x3b\x52\x12\x8d\x12\x02\xcc\x37\xc5\x20\x23\xc9\xd3\xd7\xaf\x49\x80\xd0\x12\x57\x95\x7d\x46\x1e\x9f\x1e\xc7\x41\x6c\x98\x7d\x86\x85\x01\xbb\xba\x05\x41\x37\x19\x19\xf4\x6d\x50\xa9\x12\xe7\xaa\x94\x6c\x6a\xe8\x62\xc1\xf3\x60\x1c\x94\x84\x14\x7e\x89\xe1\xc3\xc3\xd3\xdf\x66\xc3\xc7\xbf\xd7\x91\xc2\x82\x96\x02\x47\x7e\x5f\x0d\x98\x71\x9b\xab\x35\x98\xcd\xb1\xc5\xfc\xae\x25\xe4\x38\xe5\x05\xa8\x12\x33\xf2\xb9\xad\x5b\xf0\xe5\x84\xe2\x2a\x23\x49\x0f\x30\xef\x71\x8b\x5c\xf5\xb4\x51\xdf\x37\xc9\x16\x36\xe7\x92\x9a\x4d\x0d\x2b\xad\xe9\x09\x95\x53\xd1\x9b\x73\xd9\x03\xb9\x56\x11\xd4\x82\x59\xf3\x1c\x46\xa2\xb4\x08\x26\x23\xde\x5f\xea\xfd\x35\x41\x1b\xca\xe5\x6d\x69\x28\x72\x25\x33\xf2\xd3\x55\x13\x90\xa6\x06\x24\xbe\xac\x4a\x64\xea\x2d\xc2\x0c\x8a\x28\x6a\x2e\x11\x4c\x0e\xda\xa9\xaa\x82\x3c\x8f\x6f\xef\x9f\xc7\xa3\x69\xe3\xc7\x2d\x38\x64\x05\x97\x13\x65\x30\x23\x83\xab\x7e\xbf\x1f\x6f\xdb\xd5\x73\x22\xa8\x84\xe1\xe1\xfa\x11\x62\x91\xa2\x65\xbf\x33\x3d\x64\xcc\x1d\x82\x7a\x2f\x95\xdc\x6d\xa9\x48\xe7\x86\xb3\x25\x74\x43\x71\xd2\xcb\x9f\xaf\xd8\xfc\xea\x97\xcf\xd9\x97\xc1\xe5\xd5\x7e\x8d\x76\x1c\x69\x2e\x14\x76\x7f\xf8\xe7\xe3\xf0\xdb\xf8\x65\x32\x1c\x8d\xff\x9d\xb9\x30\x7f\xe9\x74\x42\x12\xfd\xf1\x8d\xb0\x55\xd9\x05\x9d\x83\xb0\xf5\x11\xf0\xea\x8c\x78\xbd\x17\x2d\x85\x9a\x53\x31\xd3\x60\x0a\x6e\x2d\x57\x32\x40\x53\xf2\xf1\x53\xa8\x77\xd7\x1b\x75\xb9\xea\x7d\xfa\xd8\xe8\x24\xe0\x9b\x32\xaf\x5c\x1e\xd1\xbb\x83\x0e\x12\x79\xee\x4b\x72\x04\xa3\x39\x7c\x47\x90\x7e\xdd\xee\xeb\xb5\x75\x80\xbc\xb4\xa8\x0a\x03\x56\x95\x26\x07\x06\x0b\x2e\xb9\x73\x61\x23\xc3\xc6\xaa\x87\x2b\x6e\x98\xa6\x06\x37\xb5\xc9\xf9\xc0\x6e\xa3\x3e\x6c\x13\x2e\xf4\x31\x97\x5b\x75\xcf\x55\xb9\xdc\xa2\xcc\x9c\xe6\xd1\x8e\x83\x34\x37\x40\x11\x2e\x96\x80\x17\x82\x5b\xbc\x78\xa3\x98\xaf\x2e\x4a\xcd\x28\x42\x48\x75\x41\xb5\x0d\x68\x90\x4c\x2b\x2e\xb1\xfe\xd6\x8a\xd5\x7f\xd6\xf5\x0e\x9f\x92\x16\x60\x35\x8d\x04\x8a\x41\x83\xcd\x0d\x04\x27\x96\x33\x78\xe5\x8e\xb4\x3a\x3b\x47\x2d\x8b\xce\x7a\x51\x50\xc9\xb2\x46\x47\xd2\x54\xa8\xe5\x4c\x95\xa8\x4b\x9c\x09\x58\x83\xb8\x61\x30\x2f\x97\x3b\xb4\x60\x1b\x27\x69\xc5\xa2\x11\x43\x54\x90\x9e\x13\x6f\x51\x20\xd7\xdc\x28\x59\x38\x8e\x8d\x4c\x27\x4f\xb7\x33\x77\xc6\x6f\x7e\xf8\x8b\x05\xb1\xe8\xb9\xed\xfd\x78\x40\xef\xef\x40\x0c\xf2\x39\x68\x21\xef\x1f\x9e\xa6\xb3\xe9\xdd\xf3\xd3\x74\xfa\x30\xbe\xb9\x8a\xae\x74\xad\x1c\x0d\x47\x77\xe3\xd9\xcb\x6f\xbf\x0f\x5f\xee\x6e\x9a\x3b\xc8\x0b\xba\x84\x70\xf1\x7a\xd5\x65\x1a\x74\xfb\xdd\x7e\xc4\x5b\x3e\xad\x19\xe1\xcc\x1d\x72\xdc\x54\x9b\xcd\xc1\xa0\x8d\xaf\x5a\x45\x65\xcd\xf6\xe0\xbb\x56\x16\xe2\xed\xfa\x3b\xdc\x5b\x21\xea\xb6\x70\xd0\xef\x2d\x8d\xce\x23\xe1\x97\xfe\x97\xcf\x1e\x78\xe1\xfe\x49\x0b\x25\x39\x2a\xc3\xe5\xf2\x48\xd8\x6e\xe5\xf5\x65\xd6\xef\x5e\x77\xfb\x7b\xf5\x8d\xfc\xb6\xd9\x36\x25\x69\xda\x66\xe5\x48\x15\xb1\x4b\xcb\x00\xa1\xd0\x82\x22\x7c\xe5\x02\x22\xc5\x6e\x8b\xa8\xd8\x7f\x56\x31\xd9\x86\x16\xa2\x8b\x85\x16\x2d\x4f\x87\xb9\x36\x82\xb4\x48\xf7\xff\x7e\x84\xee\x1f\x5f\xa6\xc3\xc7\xd1\x78\x76\x3f\xa9\x71\x5c\xff\x78\xde\x31\xd8\xb2\x71\xce\x91\x32\x10\x55\x84\xa1\x46\x49\xb8\x17\x41\xe5\x4f\x57\xd2\xd9\xab\x90\x4b\x09\xd5\x1a\x24\x4b\x99\xb4\xa9\x8f\xf1\x66\x3b\x71\x38\xad\x3b\x24\xa9\x56\x06\x6f\xae\xfb\x3f\xf7\xdb\xe2\x95\xb2\xe8\x4c\x6e\xc2\x32\x9d\xa6\xc0\x62\x91\x5a\xbe\x94\xc0\xd2\x9c\xb6\x1d\x06\x6c\x6a\x51\x19\xba\x84\x74\x9b\x97\x1b\xe3\xda\xd9\xc6\x22\x14\x27\x5a\xc7\x9b\xe1\x08\x2d\xea\xd9\x92\x16\xcd\x73\x55\xca\x5d\x69\xf5\x79\xc0\x93\x23\x4b\x06\x02\x10\x08\x03\x2d\xd4\xc6\x95\xda\xee\x2b\x0f\x7b\xdf\x07\x1c\xd0\x1c\xf6\xeb\x19\xba\xe2\xe6\x1a\x18\x11\xff\x7f\x63\x63\x40\x0b\x9e\x53\xbb\x65\xe3\xb3\xce\xce\x92\x22\xbc\xd1\xcd\xa1\x5e\x9e\x04\x5d\x92\x91\xc4\xad\x63\x24\x15\xc9\x89\xca\x24\x2e\xce\xaa\xf1\x44\xd1\x9e\x68\x93\xc9\xfb\xc6\x9f\x7a\x6b\x6e\xb0\xa4\xa2\xce\xf1\x49\x3c\x03\x8b\x5c\xfa\xc1\xc0\x94\xe2\x0c\x83\xb0\xd3\x00\xac\xc4\x33\x65\x98\x1b\x19\x2d\x2a\x9d\x2e\xb8\xb1\x78\xb8\xc9\x1d\xe4\xe1\xf6\x2d\xac\xa9\x32\xba\x85\x67\x72\xa5\x51\x65\x9b\x21\xd3\x75\xf4\x91\x5c\x26\x2d\x72\x3b\x38\x7e\x47\x88\x8f\x03\xfb\x91\x7c\x38\x85\x4a\xd3\xd6\x44\x1c\xdb\xff\x74\xe5\x1d\x1c\x51\xa7\xe9\xe1\x79\xb9\x15\x41\xd1\x77\x2e\x4e\x02\x3d\x53\x47\x0f\x85\x96\x0f\xef\xe2\xa8\xfe\x74\x7f\xd9\x6b\x48\xff\xe0\xfa\x95\xcb\x30\x10\xc7\x09\x6e\xe7\x77\x77\x06\x3f\x8e\x6c\x0f\xfc\x31\xce\x8f\xfe\xc9\xff\xd0\x93\x5a\x85\xde\x0f\x24\x1e\xd0\xab\xf9\xbd\xd6\x81\x5c\xff\x29\x4d\x2c\x25\xf7\x2f\xd3\xfb\xa7\xd9\xb7\xf1\x74\x38\x7b\x7f\xd5\xf7\x39\xeb\xb5\x9c\x83\x91\x80\xd5\x4b\x64\x1b\x0a\x9b\x55\x23\xfd\xac\x26\x94\x59\x34\xd4\x3b\xe4\x87\x30\x41\x76\x5c\x2c\xb7\x0d\x37\x54\x79\xee\xee\xbe\x42\xd6\x03\x2a\xf4\x8a\x5e\x7a\xf8\xd8\x4f\xe0\xcf\xa5\x80\xf7\x71\xcf\xee\xa2\x9e\x86\xdd\x4d\xa7\x93\xe1\xe4\xfe\x45\x43\xfe\x2b\x97\xcc\xbd\x6e\xce\xc5\xbf\x0f\xfc\xad\x54\x48\xcf\x76\xbb\x45\xbf\x07\xfb\x10\xbd\xc1\xbc\xd5\x1f\x15\x0d\xbf\x54\xb7\xab\x7b\xe8\x85\x16\xcc\x3f\xef\xa6\xda\x67\xe6\xa4\x41\xf0\x3c\x96\x68\x36\xa7\xd1\x7f\xad\x48\xfb\x14\xf0\xc3\xce\x53\xd1\xdb\x86\xd2\x1f\x7b\x44\x06\xf3\x41\xa7\x7d\xce\x0a\x2a\xf9\x02\x6c\xf3\x93\x0d\xd5\xfc\x0f\x30\xd6\xff\x26\xb0\x1e\x78\xd1\x2b\x77\xaf\x9b\xb0\x13\x2f\x29\x00\x29\xa3\x48\xeb\xcb\xe7\x1c\x66\xc4\x0d\x3b\x62\x1e\x44\x54\x4a\x85\x14\x9b\x4e\xba\xdb\x8b\xdf\xeb\xc6\x56\x43\x5e\xe3\x70\xa3\x21\x23\x0f\x8a\xb2\x5f\xa9\xa0\x32\xdf\xb2\x9f\x05\x01\x39\x2a\x73\x8e\x43\x42\xdc\xbc\xb7\x5d\x3b\x0d\x11\xfb\x57\xc1\x75\x3f\xbd\xee\xc7\xbf\x6b\xa0\xca\x95\xc8\xc8\x74\x34\x69\xa4\xfe\x37\x8e\x08\x86\xd4\x2c\x01\x27\xb1\x38\x4d\xf7\x33\x78\xa2\x90\x75\x6e\x43\xdd\x4f\xe4\x76\x19\xa1\xe2\x0c\xed\x27\xa2\x1e\x81\x48\x9d\x85\x2d\xd2\xac\xc1\x44\x69\xf0\xfb\xda\x9a\xc5\xbb\x4f\x30\xd7\x49\xa4\x91\x65\x31\x77\xb3\x43\x94\x03\x37\x2b\xb7\x9e\xb0\xc9\xa7\xa4\xf3\x9f\x00\x00\x00\xff\xff\xd6\xa9\xcf\xb7\x18\x14\x00\x00")
func stacksIstioStackYmlBytes() ([]byte, error) {
return bindataRead(
......@@ -104,7 +104,7 @@ func stacksIstioStackYml() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "stacks/istio-stack.yml", size: 5039, mode: os.FileMode(436), modTime: time.Unix(1533944475, 0)}
info := bindataFileInfo{name: "stacks/istio-stack.yml", size: 5144, mode: os.FileMode(436), modTime: time.Unix(1534216659, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
......
......@@ -182,3 +182,9 @@ kubernetes:
spec:
selector:
gateway: external
servers:
- port:
protocol: "tcp"
number: 80
hosts:
- "*"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment