- 02 Jul, 2018 2 commits
-
-
bryanl authored
Signed-off-by:
bryanl <bryanliles@gmail.com>
-
bryanl authored
Signed-off-by:
bryanl <bryanliles@gmail.com>
-
- 28 Jun, 2018 1 commit
-
-
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 9 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
-
Oren Shomron authored
This change adds version-mapped package support to environments. An environment can specify the specific version of a package to consume - and multiple, side-by-side versions of a package can be installed in the package cache. Closes #631 Closes #651 * Deprecate GitVersion from LibraryConfig * pkg.Descriptor.Part -> pkg.Descriptor.Name * Add Version, Path to PackageManager. * Composed package structs * Revendoring - Tailor import path to environment's packages, allow version-free import strings * Skip unversioned packages when revendoring * Allow injection of custom importers into jsonnet.VM wrapper * Allow passing VMOpts to VM via Evaluate* * Add versioned package evaluation test * Allow versioned packages to fall back to unversioned paths * Fix DefaultInstallChecker shadowed variable when looking up environment packages * Test skipping of missing paths in revendorPackages * Tweak CacheDependency->ResolveLibrary interface - onFile paths should always be relative to the registry root * Ensure 0.2.0 version is output when re-writing app.yaml Signed-off-by:
Oren Shomron <shomron@gmail.com>
-
Bryan Liles authored
Update ksonnet-lib to support conditionals in object keys
-
Bryan Liles authored
param set should understand module dot paths
-
bryanl authored
* updates ksonnet-lib to 0.1.9 Fixes #637 Signed-off-by:
bryanl <bryanliles@gmail.com>
-
Bryan Liles authored
Check if environment exists before removing
-
bryanl authored
Fixes #642 Signed-off-by:
bryanl <bryanliles@gmail.com>
-
- 26 Jun, 2018 5 commits
-
-
GuessWhoSamFoo authored
Signed-off-by:
GuessWhoSamFoo <sfoohei@gmail.com>
-
GuessWhoSamFoo authored
Signed-off-by:
GuessWhoSamFoo <sfoohei@gmail.com>
-
GuessWhoSamFoo authored
Signed-off-by:
GuessWhoSamFoo <sfoohei@gmail.com>
-
Sam Foo authored
Add modules to concepts.md
-
GuessWhoSamFoo authored
Signed-off-by:
GuessWhoSamFoo <sfoohei@gmail.com>
-
- 25 Jun, 2018 3 commits
-
-
Bryan Liles authored
Retry apply if conflict is detected
-
bryanl authored
When applying objects to a cluster, there a small chance that a conflict could arise. Instead of failing instantly, sleep for one second, and retry up to five times. Fixes #619 Signed-off-by:
bryanl <bryanliles@gmail.com>
-
GuessWhoSamFoo authored
Signed-off-by:
GuessWhoSamFoo <sfoohei@gmail.com>
-
- 24 Jun, 2018 2 commits
-
-
Bryan Liles authored
Add `lib` to jsonnet path
-
bryanl authored
Fixes #646 Signed-off-by:
bryanl <bryanliles@gmail.com>
-
- 21 Jun, 2018 1 commit
-
-
Bryan Liles authored
Rename EnvironmentSpec[s] -> EnvironmentConfig[s]
-
- 20 Jun, 2018 6 commits
-
-
Bryan Liles authored
move/upgrade ks lib location
-
Bryan Liles authored
Add generators for all mocks
-
bryanl authored
Fixes #605 Signed-off-by:
bryanl <bryanliles@gmail.com>
-
Oren Shomron authored
Signed-off-by:
Oren Shomron <shomron@gmail.com>
-
bryanl authored
Moving generated ksonnet lib from lib/<verson> to lib/ksonnet-lib/<version>. This change will free up lib to be used for other lib type things. Ksonnet will warn if ksonnet-lib is in the legacy location and the user can use `ks upgrade` to move the files to their new location. Also: * update Makefile to search harder for apimachiner revision Signed-off-by: bryanl bryanliles@gmail.com
-
bryanl authored
Signed-off-by:
bryanl <bryanliles@gmail.com>
-
- 19 Jun, 2018 11 commits
-
-
Oren Shomron authored
Remove defunct --version flag from registry add command
-
Oren Shomron authored
Signed-off-by:
Oren Shomron <shomron@gmail.com>
-
Bryan Liles authored
Updating dependencies
-
Bryan Liles authored
Create package manager for registry
-
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
-
Bryan Liles authored
Remove global client config for init
-
bryanl authored
* Kubernetes deps to 1.10.4 * jsonet-iterator to 1.1.3 Signed-off-by:
bryanl <bryanliles@gmail.com>
-
Derek Wilson authored
enables --api-spec flag to `ks env set` command to enable changing the kubernetes version for an environment Signed-off-by:
Derek Wilson <derek@heptio.com>
-