- 06 Jul, 2018 2 commits
-
-
Sam Foo authored
* Explicitly skipRoot if cmd is version Signed-off-by:
GuessWhoSamFoo <sfoohei@gmail.com> * Catch case for help flags; rename ErrNotInApp Signed-off-by:
GuessWhoSamFoo <sfoohei@gmail.com> * Refactored skipRoot logic; wrapped error message Signed-off-by:
GuessWhoSamFoo <sfoohei@gmail.com> * Added tests; change back to original ErrNotInApp Signed-off-by:
GuessWhoSamFoo <sfoohei@gmail.com> * Address cases without cmd;fix test param Signed-off-by:
GuessWhoSamFoo <sfoohei@gmail.com>
-
Bryan Liles authored
Add environment directory to jsonnet path before eval
-
- 05 Jul, 2018 3 commits
-
-
bryanl authored
Signed-off-by:
bryanl <bryanliles@gmail.com>
-
Bryan Liles authored
Create module when child exists
-
Sam Foo authored
Update environment cli docs to remove old metadata cache structure
-
- 04 Jul, 2018 2 commits
-
-
Bryan Liles authored
Use full module name when evaluating environment parameters
-
GuessWhoSamFoo authored
Signed-off-by:
GuessWhoSamFoo <sfoohei@gmail.com>
-
- 03 Jul, 2018 11 commits
-
-
Oren Shomron authored
Remove verbose 'app called' debug messages
-
Oren Shomron authored
Signed-off-by:
Oren Shomron <shomron@gmail.com>
-
Bryan Liles authored
Create prototypes for helm packages
-
bryanl authored
Signed-off-by:
bryanl <bryanliles@gmail.com>
-
bryanl authored
* create helm prototype * `ks registry add` can add helm registries Signed-off-by:
bryanl <bryanliles@gmail.com>
-
bryanl authored
Signed-off-by:
bryanl <bryanliles@gmail.com>
-
bryanl authored
Given the following modules: ``` $ ks module list 108ms Sun Jul 1 10:26:38 2018 MODULE ====== / nested nested2 ``` When listing parameters, use the full component name ``` $ ks param list --env default 109ms Sun Jul 1 10:26:43 2018 COMPONENT PARAM VALUE ========= ===== ===== nested.ds containerPort 80 nested.ds image "gcr.io/heptio-images/ks-guestbook-demo:0.1" nested.ds name "ds" nested.ds replicas 1 nested.ds servicePort 80 nested.ds type "ClusterIP" nested2.ds containerPort 80 nested2.ds image "gcr.io/heptio-images/ks-guestbook-demo:0.1" nested2.ds name "ds" nested2.ds replicas 1 nested2.ds servicePort 80 nested2.ds type "ClusterIP" ``` Signed-off-by:
bryanl <bryanliles@gmail.com>
-
bryanl authored
To remove the chance for ambiguous environment parameters, use the full module name when evaluating environment parameters. For example: Given two modules, nested and nested2, and they both have a component named `deployment`, when setting environment parameters for enviromnet `nested2` component `deployment`, the ksonnet user will have to set the parameters like: `ks param set nested2.deployment replicas 3` Signed-off-by:
bryanl <bryanliles@gmail.com>
-
Bryan Liles authored
Update ksonnet-lib printer to 0.1.10 to handle unescaping newlines
-
bryanl authored
Allow creation of module `a` when module `a.b` previously exists. Changes module finding to look for `params.libsonnet` instead of the module directory. Signed-off-by:
bryanl <bryanliles@gmail.com>
-
Bryan Liles authored
Support environment arguments in module parameters
-
- 02 Jul, 2018 6 commits
-
-
Oren Shomron authored
ks upgrade relocates vendored packages to versioned paths
-
bryanl authored
Signed-off-by:
bryanl <bryanliles@gmail.com>
-
bryanl authored
Signed-off-by:
bryanl <bryanliles@gmail.com>
-
bryanl authored
Signed-off-by:
bryanl <bryanliles@gmail.com>
-
bryanl authored
Signed-off-by:
bryanl <bryanliles@gmail.com>
-
Oren Shomron authored
Example: vendor/<registry>/<pkg> -> vendor/<registry>/<pkg>@<version> Closes #663 Signed-off-by:
Oren Shomron <shomron@gmail.com>
-
- 01 Jul, 2018 3 commits
-
-
Bryan Liles authored
Bump go-jsonnet version
-
Stephane Tang authored
Signed-off-by:
Stephane Tang <hi@stang.sh>
-
Stephane Tang authored
Signed-off-by:
Stephane Tang <hi@stang.sh>
-
- 30 Jun, 2018 1 commit
-
-
Sam Foo authored
Fix root command parsing behavior to support flags prior to command name
-
- 29 Jun, 2018 4 commits
-
-
Oren Shomron authored
Closes #657 Signed-off-by:
Oren Shomron <shomron@gmail.com>
-
Derek Wilson authored
Using ServerVersion (/version k8s REST API endpoint) instead of useing OpenAPISchema (/openapi/v2 endpoint) for version because openshift stores its own version data in Info.Version rather than the k8s version. Signed-off-by:
Derek Wilson <derek@heptio.com>
-
Bryan Liles authored
When listing packages, include version
-
bryanl authored
``` ➜ ksapp2 ks pkg list REGISTRY NAME VERSION INSTALLED ======== ==== ======= ========= incubator apache master incubator efk master incubator mariadb master incubator memcached master incubator mongodb master incubator mysql master incubator nginx master incubator node master incubator postgres master incubator redis master incubator tomcat master ``` And after installing a package: ``` ➜ ksapp2 ks pkg list --installed REGISTRY NAME VERSION INSTALLED ======== ==== ======= ========= incubator apache master * ``` Signed-off-by:
bryanl <bryanliles@gmail.com>
-
- 28 Jun, 2018 5 commits
-
-
Bryan Liles authored
Use values file for prototype use/preview
-
Oren Shomron authored
pkg install honors versions when checking for conflicts
-
Oren Shomron authored
This commit allows installing a package when a different version is already installed. Currently, if the package is installed globally (the only option) - it will overwrite the previous version reference. A followup change will allow installing into environments to work around this limitation. Part of #660 Also: * Add PackageManager.IsInstalled - fuzzy-match installation check for packages, without parsing their manifests Signed-off-by:
Oren Shomron <shomron@gmail.com>
-
bryanl authored
This change introduces a values file to be used when setting prototype values for the use and preview commands. The format of the file is Jsonnet that returns an object. Notes: * if values are added to the file and aren't consumed by prototype, they are ignored. Signed-off-by:
bryanl <bryanliles@gmail.com>
-
bryanl authored
It is possible that a user might want to use environment parameters (namespace or server) in their parameters. This would not work with ksonnet for two reasons: 1. ksonnet didn't provide external variables with those settings 1. params.libsonnet was evaluated as an object This change adds support for these two items. ``` bash-3.2$ ks param list COMPONENT PARAM VALUE ========= ===== ===== ds arr [1, 2, 3, 4] ds containerPort 80 ds image 'gcr.io/heptio-images/ks-guestbook-demo:0.1' ds name 'ds' ds namespace '' ds obj { a: 'b' } ds replicas 1 ds server '' ds servicePort 80 ds type 'ClusterIP' bash-3.2$ ks param list --env default COMPONENT PARAM VALUE ========= ===== ===== ds arr [1, 2, 3, 4] ds containerPort 80 ds image 'gcr.io/heptio-images/ks-guestbook-demo:0.1' ds name 'ds' ds namespace 'default' ds obj { a: 'b' } ds replicas 1 ds server 'https://localhost:6443' ds servicePort 80 ds type 'ClusterIP' ``` An example parameters file that produces the preceeding output: ```js local env = std.extVar("__ksonnet/environments"); { global: { }, components: { ds: { containerPort: 80, image: "gcr.io/heptio-images/ks-guestbook-demo:0.1", name: "ds", replicas: 1, servicePort: 80, type: "ClusterIP", namespace: env.namespace, server: env.server, obj: {a:"b"}, arr: [1,2,3,4], }, }, } ``` * note: params files aren't currently generated with the `env` local. Signed-off-by:
bryanl <bryanliles@gmail.com>
-
- 27 Jun, 2018 3 commits
-
-
Bryan Liles authored
Add docker image resolver to `param set`
-
bryanl authored
Adds an image resolve to param set. eg: `ks param set deployment image foo/bar:latest` uses the docker registry to find the manifest reference for `foo/bar:latest`. It then sets this value instead. Support is at the component and environment level. Fixes #569 Signed-off-by:
bryanl <bryanliles@gmail.com>
-
Oren Shomron authored
Add versioned, environment-scoped package support
-