dist/kubernetes: provide basic ksonnet setup for heroes cluster.

This commit is contained in:
Jimmy Berry 2018-09-06 00:02:39 -05:00
parent 72b518b8ad
commit 35836073be
7 changed files with 43 additions and 0 deletions

4
dist/kubernetes/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
/lib
/.ksonnet/registries
/app.override.yaml
/.ks_environment

11
dist/kubernetes/app.yaml vendored Normal file
View File

@ -0,0 +1,11 @@
apiVersion: 0.2.0
environments:
heroes:
destination:
namespace: osrt
server: https://caasp-master.infra.opensuse.org:6443
k8sVersion: v1.8.0
path: heroes
kind: ksonnet.io/app
name: openSUSE-release-tools
version: 0.0.1

View File

@ -0,0 +1,6 @@
{
global: {
},
components: {
},
}

View File

@ -0,0 +1,3 @@
local components = std.extVar("__ksonnet/components");
components + {
}

View File

@ -0,0 +1,2 @@
{
}

View File

@ -0,0 +1,4 @@
local base = import "base.libsonnet";
base + {
}

View File

@ -0,0 +1,13 @@
local params = std.extVar("__ksonnet/params");
local globals = import "globals.libsonnet";
local envParams = params + {
components+: {
},
};
{
components: {
[x]: envParams.components[x] + globals,
for x in std.objectFields(envParams.components)
},
}