aboutsummaryrefslogtreecommitdiff
path: root/deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/kausal.libsonnet
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/kausal.libsonnet')
-rw-r--r--deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/kausal.libsonnet29
1 files changed, 0 insertions, 29 deletions
diff --git a/deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/kausal.libsonnet b/deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/kausal.libsonnet
deleted file mode 100644
index 6a6f149..0000000
--- a/deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/kausal.libsonnet
+++ /dev/null
@@ -1,29 +0,0 @@
-// kausal.libsonnet provides a backwards compatible way as many libraries leverage kausal.libsonnet.
-// Ideally util.libsonnet is consumed separately.
-
-(import 'grafana.libsonnet')
-+ {
- local this = self,
- _config+:: {
- enable_rbac: true,
- enable_pod_priorities: false,
- namespace: error 'Must define a namespace',
- },
-
- util+::
- (import 'util.libsonnet').withK(this)
- + {
- rbac(name, rules)::
- if $._config.enable_rbac
- then super.rbac(name, rules, $._config.namespace)
- else {},
- namespacedRBAC(name, rules)::
- if $._config.enable_rbac
- then super.namespacedRBAC(name, rules, $._config.namespace)
- else {},
- podPriority(p):
- if $._config.enable_pod_priorities
- then super.podPriority(p)
- else {},
- },
-}