Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kind: Template
- apiVersion: v1
- parameters:
- - name: IKE_DOCKER_REGISTRY
- required: true
- value: docker.io
- - name: IKE_DOCKER_REPOSITORY
- required: true
- value: aslakknusten
- - name: IKE_IMAGE_NAME
- required: true
- value: istio-workspace
- - name: IKE_IMAGE_TAG
- required: true
- value: latest
- - name: TELEPRESENCE_VERSION
- required: true
- value: "0.99"
- objects:
- - kind: Deployment
- apiVersion: apps/v1
- metadata:
- name: istio-workspace
- spec:
- replicas: 1
- selector:
- matchLabels:
- name: istio-workspace
- template:
- metadata:
- labels:
- name: istio-workspace
- spec:
- serviceAccountName: istio-workspace
- containers:
- - name: istio-workspace
- image: localhost/ikey/istio-operator:b1f1faf1
- command:
- - ike
- args:
- - serve
- imagePullPolicy: Always
- env:
- - name: WATCH_NAMESPACE
- value: ""
- - name: POD_NAME
- valueFrom:
- fieldRef:
- fieldPath: metadata.name
- - name: OPERATOR_NAME
- value: "istio-workspace"
- - name: TELEPRESENCE_VERSION
- value: 0.99
- •! Panic [0.001 seconds]
- template processing
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/cmd/ike/cmd/install_test.go:19
- with env variables
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/cmd/ike/cmd/install_test.go:21
- should process template and make Deployment object with values take from env variables if defined [It]
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/cmd/ike/cmd/install_test.go:23
- Test Panicked
- reflect.Set: value of type map[interface {}]interface {} is not assignable to type runtime.Object
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/vendor/gopkg.in/yaml.v2/yaml.go:249
- Full Stack Trace
- /home/bartek/.gvm/gos/go1.12/src/runtime/panic.go:522 +0x1b5
- github.com/maistra/istio-workspace/vendor/gopkg.in/yaml%2ev2.handleErr(0xc0003df418)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/vendor/gopkg.in/yaml.v2/yaml.go:249 +0x9a
- panic(0x136f2e0, 0xc000338670)
- /home/bartek/.gvm/gos/go1.12/src/runtime/panic.go:522 +0x1b5
- reflect.Value.assignTo(0x13b4f40, 0xc000182780, 0x15, 0x1564518, 0xb, 0x13f6360, 0xc000338660, 0x13b4f40, 0x0, 0xc000182780)
- /home/bartek/.gvm/gos/go1.12/src/reflect/value.go:2339 +0x42b
- reflect.Value.Set(0x13f6360, 0xc000338660, 0x194, 0x13b4f40, 0xc000182780, 0x15)
- /home/bartek/.gvm/gos/go1.12/src/reflect/value.go:1473 +0xa8
- github.com/maistra/istio-workspace/vendor/gopkg.in/yaml%2ev2.(*decoder).mapping(0xc000068680, 0xc000312310, 0x13f6360, 0xc000338660, 0x194, 0x13f6360)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/vendor/gopkg.in/yaml.v2/decode.go:593 +0xa74
- github.com/maistra/istio-workspace/vendor/gopkg.in/yaml%2ev2.(*decoder).unmarshal(0xc000068680, 0xc000312310, 0x13f6360, 0xc000338660, 0x194, 0x194)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/vendor/gopkg.in/yaml.v2/decode.go:332 +0x12e
- github.com/maistra/istio-workspace/vendor/gopkg.in/yaml%2ev2.(*decoder).sequence(0xc000068680, 0xc0003122a0, 0x1340c60, 0xc0002d6130, 0x197, 0x1340c60)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/vendor/gopkg.in/yaml.v2/decode.go:567 +0x25a
- github.com/maistra/istio-workspace/vendor/gopkg.in/yaml%2ev2.(*decoder).unmarshal(0xc000068680, 0xc0003122a0, 0x1340c60, 0xc0002d6130, 0x197, 0xc0002d6130)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/vendor/gopkg.in/yaml.v2/decode.go:334 +0x105
- github.com/maistra/istio-workspace/vendor/gopkg.in/yaml%2ev2.(*decoder).mappingStruct(0xc000068680, 0xc000354770, 0x14a72c0, 0xc0002d6000, 0x199, 0x13edc40)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/vendor/gopkg.in/yaml.v2/decode.go:725 +0xa66
- github.com/maistra/istio-workspace/vendor/gopkg.in/yaml%2ev2.(*decoder).mapping(0xc000068680, 0xc000354770, 0x14a72c0, 0xc0002d6000, 0x199, 0x14a72c0)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/vendor/gopkg.in/yaml.v2/decode.go:584 +0xbfb
- github.com/maistra/istio-workspace/vendor/gopkg.in/yaml%2ev2.(*decoder).unmarshal(0xc000068680, 0xc000354770, 0x14a72c0, 0xc0002d6000, 0x199, 0xc000354770)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/vendor/gopkg.in/yaml.v2/decode.go:332 +0x12e
- github.com/maistra/istio-workspace/vendor/gopkg.in/yaml%2ev2.(*decoder).document(0xc000068680, 0xc000354700, 0x14a72c0, 0xc0002d6000, 0x199, 0x8)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/vendor/gopkg.in/yaml.v2/decode.go:344 +0x7a
- github.com/maistra/istio-workspace/vendor/gopkg.in/yaml%2ev2.(*decoder).unmarshal(0xc000068680, 0xc000354700, 0x14a72c0, 0xc0002d6000, 0x199, 0x199)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/vendor/gopkg.in/yaml.v2/decode.go:320 +0x1be
- github.com/maistra/istio-workspace/vendor/gopkg.in/yaml%2ev2.unmarshal(0xc000548700, 0x549, 0x653, 0x152dc40, 0xc0002d6000, 0x500, 0x0, 0x0)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/vendor/gopkg.in/yaml.v2/yaml.go:148 +0x33e
- github.com/maistra/istio-workspace/vendor/gopkg.in/yaml%2ev2.Unmarshal(...)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/vendor/gopkg.in/yaml.v2/yaml.go:81
- github.com/maistra/istio-workspace/cmd/ike/cmd_test.glob..func4.1.1()
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/cmd/ike/cmd/install_test.go:39 +0x544
- github.com/maistra/istio-workspace/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000496b40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/test/ginkgo_custom_reporter.go:13
- github.com/maistra/istio-workspace/cmd/ike/cmd_test.TestCmd(0xc000163200)
- /home/bartek/code/golang/src/github.com/maistra/istio-workspace/cmd/ike/cmd/cmd_suite_test.go:28 +0x110
- testing.tRunner(0xc000163200, 0x15f9740)
- /home/bartek/.gvm/gos/go1.12/src/testing/testing.go:865 +0xc0
- created by testing.(*T).Run
- /home/bartek/.gvm/gos/go1.12/src/testing/testing.go:916 +0x357
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement