This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
ks param list
: ERROR retrieve values for mixin.spec.template.spec.hostNetwork: can't handle type bool #438
Description
Is this a BUG REPORT or FEATURE REQUEST?: BUG REPORT
/kind bug
What happened:
ks param list
is failing with error: ERROR retrieve values for mixin.spec.template.spec.hostNetwork: can't handle type bool
when my drop-in yaml has spec.template.spec.hostNetwork set:
$ cat app.yaml
apiVersion: 0.1.0
environments:
prod:
destination:
namespace: kube-ops-view
server: https://192.168.64.31:8443
k8sVersion: v1.9.4
path: prod
kind: ksonnet.io/app
name: kube-ops-view
registries:
incubator:
gitVersion:
commitSha: 40285d8a14f1ac5787e405e1023cf0c07f6aa28c
refSpec: master
protocol: github
uri: github.com/ksonnet/parts/tree/master/incubator
version: 0.0.1
$ ls lib/
v1.9.4
$ cat components/params.libsonnet
{
global: {
},
components: {
// Component-level parameters, defined initially from 'ks prototype use ...'
// Each object below should correspond to a component in the components/ directory
"kube-ops-view-deploy-0": {
},
},
}
$ cat components/kube-ops-view-deploy.yaml
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: kube-ops-view-deploy
spec:
selector:
matchLabels:
app: kube-ops-view
template:
metadata:
labels:
app: kube-ops-view
spec:
hostNetwork: true
containers:
- image: hjacobs/kube-ops-view:latest
name: kube-ops-view
What you expected to happen:
The deployment spec is valid, so I expect there to be no errors.
How to reproduce it (as minimally and precisely as possible): See above
Environment:
ks version
):$ ks version
ksonnet version: 0.10.0-alpha.1
jsonnet version: v0.10.0
client-go version: 1.8
kubectl version
):$ kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-27T00:13:02Z", GoVersion:"go1.9.4", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"", Minor:"", GitVersion:"v1.9.4", GitCommit:"bee2d1505c4fe820744d26d41ecd3fdd4a3d6546", GitTreeState:"clean", BuildDate:"2018-03-21T21:48:36Z", GoVersion:"go1.9.1", Compiler:"gc", Platform:"linux/amd64"}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4