A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ksonnet/ksonnet/issues/437 below:

ks import -f some-component.yaml does not set component index in components/params.libsonnet · Issue #437 · ksonnet/ksonnet · GitHub

Is this a BUG REPORT or FEATURE REQUEST?: BUG REPORT
/kind bug

What happened:

After importing a yaml using ks import, the params.libsonnet is missing the -X index.

$ ks import -f ~/tmp/kube-ops-view-deploy.yaml
INFO Writing component at '/Users/jsuen/ws/myapps/kube-ops-view/components/kube-ops-view-deploy.yaml'

$ 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": {

    },
  },
}

What you expected to happen:

According to chat with @bryanl, the component name in params.libsonnet should be: "kube-ops-view-deploy-0" instead of "kube-ops-view-deploy"

How to reproduce it (as minimally and precisely as possible): See above

Environment:

$ ks version
ksonnet version: 0.10.0-alpha.1
jsonnet version: v0.10.0
client-go version: 1.8

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