Skip to content

Commit

Permalink
Merge pull request #222 from m-lab/sandbox-pboothe
Browse files Browse the repository at this point in the history
Eliminated a bunch of indirection.
  • Loading branch information
pboothe authored Jun 6, 2019
2 parents 3532ee8 + 82964d0 commit ddc2bdf
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 50 deletions.
8 changes: 0 additions & 8 deletions config/configmaps.jsonnet

This file was deleted.

1 change: 0 additions & 1 deletion k8s/custom-resource-definitions.jsonnet

This file was deleted.

4 changes: 0 additions & 4 deletions k8s/daemonsets.jsonnet

This file was deleted.

9 changes: 0 additions & 9 deletions k8s/daemonsets/core.jsonnet

This file was deleted.

4 changes: 0 additions & 4 deletions k8s/daemonsets/experiments.jsonnet

This file was deleted.

5 changes: 0 additions & 5 deletions k8s/deployments.jsonnet

This file was deleted.

3 changes: 0 additions & 3 deletions k8s/namespaces.jsonnet

This file was deleted.

1 change: 0 additions & 1 deletion k8s/networks.jsonnet

This file was deleted.

7 changes: 0 additions & 7 deletions k8s/roles.jsonnet

This file was deleted.

43 changes: 35 additions & 8 deletions system.jsonnet
Original file line number Diff line number Diff line change
@@ -1,13 +1,40 @@
{
kind: 'List',
apiVersion: 'v1',
items: std.flattenArrays([
import 'config/configmaps.jsonnet',
import 'k8s/custom-resource-definitions.jsonnet',
import 'k8s/daemonsets.jsonnet',
import 'k8s/deployments.jsonnet',
import 'k8s/namespaces.jsonnet',
import 'k8s/networks.jsonnet',
import 'k8s/roles.jsonnet',
items: [
// Configmaps
import 'config/flannel.jsonnet',
import 'config/fluentd.jsonnet',
import 'config/nodeinfo.jsonnet',
import 'config/prometheus.jsonnet',
import 'config/prometheus-synthetic-textfile-metrics.jsonnet',
import 'config/pusher.jsonnet',
// Custom resource definitions
import 'k8s/custom-resource-definitions/network-attachment-definition.jsonnet',
// Daemonsets
import 'k8s/daemonsets/core/cadvisor.jsonnet',
import 'k8s/daemonsets/core/flannel-cloud.jsonnet',
import 'k8s/daemonsets/core/flannel-platform.jsonnet',
import 'k8s/daemonsets/core/fluentd.jsonnet',
import 'k8s/daemonsets/core/host.jsonnet',
import 'k8s/daemonsets/core/node-exporter.jsonnet',
import 'k8s/daemonsets/core/update-agent.jsonnet',
import 'k8s/daemonsets/experiments/bismark.jsonnet',
import 'k8s/daemonsets/experiments/ndt.jsonnet',
// Deployments
import 'k8s/deployments/kube-state-metrics.jsonnet',
import 'k8s/deployments/prometheus.jsonnet',
import 'k8s/deployments/update-operator.jsonnet',
// Namespaces
import 'k8s/namespaces/reboot-operator.jsonnet',
] + std.flattenArrays([
// Networks (which are in array form already).
import 'k8s/networks/networks.jsonnet',
// Roles (which are in array form already).
import 'k8s/roles/container-linux-update-coordinator.jsonnet',
import 'k8s/roles/flannel.jsonnet',
import 'k8s/roles/kube-rbac-proxy.jsonnet',
import 'k8s/roles/kube-state-metrics.jsonnet',
import 'k8s/roles/rbac-prometheus.jsonnet',
]),
}

0 comments on commit ddc2bdf

Please sign in to comment.