You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
Is this a BUG REPORT or FEATURE REQUEST?: BUG REPORT
/kind bug
What happened:
Reported this in #ksonnet slack. but opening a bug so this doesn't get lost. We are very interested in the upcoming drop-in yaml feature coming in 1.10. Our hope is that developers can drop in complete k8s deployment/service YAMLs in the components directory, and parameterize the image name and have this parameter overridden at an environment level. This minimizes the amount of jsonnet/ksonnet knowledge, which is a barrier for adoption for our developers.
When building tip of master to try out the feature, it seems parameters does not work with drop-in yamls. See the following:
$ ls components/
kube-ops-view-deploy.yaml kube-ops-view-svc.yaml params.libsonnet
$ ks component list
COMPONENT
=========
kube-ops-view-deploy
kube-ops-view-svc
$ ks param set kube-ops-view-deploy image hjacobs/kube-ops-view:0.7.1
$ cat components/params.libsonnet
{
global: {
},
components: {
"kube-ops-view-deploy-0": {
image: "hjacobs/kube-ops-view:0.7.1",
},
},
}
$ ks param list
COMPONENT INDEX PARAM VALUE
========= ===== ===== =====