- Dec 13, 2017
-
-
Jessica Yuen authored
Currently, if we run `param set guestbook-ui foo-bar x`, The jsonnet snippet will write: `foo-bar: "x"`. However, this is incorrect jsonnet syntax. This commit will fix this issue, to instead write `"foo-bar": "x"`. Also updates the `Get...` Param functions to return non-quoted identifiers for prettier display. Signed-off-by:
Jessica Yuen <im.jessicayuen@gmail.com>
-
- Nov 15, 2017
-
-
Jessica Yuen authored
As part of the environments feature, we want to be able to deploy to a specific cluster given the environment's URI. We cross-check against kubecfg for this URI's location. For fail-safe comparison, we probably want to normalize these URIs.
-
- Nov 13, 2017
-
-
Jessica Yuen authored
A bug existed where if `param set` was called for the same param twice, a duplicate entry was created for the component. This only occured where the component name contained a special character.
-
- Nov 10, 2017
-
-
Alex Clemmer authored
Historically, every time we've needed to write out something tabular, we've hand-rolled an ad hoc padded row writer. Yes, in each case. Such is #startuplife. The third time we did this we wrote this with bugs, and so now we are rewriting it in a general, tested function, and transitioning all places where we call this to use this function.
-
- Nov 08, 2017
-
-
Jessica Yuen authored
Currently, if a component name contains a special character, ex: foo-bar, this translates to the jsonnet identifier: foo-bar, which is invalid syntax. This change will quote component names where there are special characters.
-
- Nov 04, 2017
-
-
Jessica Yuen authored
Parameters are the customizable fields defining ksonnet components. For example, replica count, component name, or deployment image. Parameters are also able to be defined separately across environments. Meaning, this supports features to allow a "development" environment to only run a single replication instance for it's components, whereas allowing a "production" environment to run more replication instances to meet heavier production load demands. 'ks param set' is defined as follows: 'ks param set <component-name> <param-key> <param-value>' Examples: Updates the replica count of the 'guestbook' component to 4. 'ks param set guestbook replicas 4' Updates the replica count of the 'guestbook' component to 2 for the environment 'dev' 'ks param set guestbook replicas 2 --env=dev'
-
- Jun 30, 2017
-
-
Angus Lees authored
Fixes #35
-
- May 12, 2017
-
-
Angus Lees authored
Basic skeleton. Can evaluate jsonnet and show the output as yaml or json .. and that's about it.
-