aboutsummaryrefslogtreecommitdiff
path: root/deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/k-compat.libsonnet
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2021-06-05 00:11:00 +0200
committerMax Audron <audron@cocaine.farm>2021-06-05 00:11:00 +0200
commitacc28a198d38be468ca5cb7962a4c4b11a8e7e67 (patch)
tree838195c62ff95058b2895c708639ca532be550ec /deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/k-compat.libsonnet
parentRelease 1.0.1 (diff)
remove tanka vendoring
Diffstat (limited to 'deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/k-compat.libsonnet')
-rw-r--r--deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/k-compat.libsonnet22
1 files changed, 0 insertions, 22 deletions
diff --git a/deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/k-compat.libsonnet b/deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/k-compat.libsonnet
deleted file mode 100644
index 65b5b6e..0000000
--- a/deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/k-compat.libsonnet
+++ /dev/null
@@ -1,22 +0,0 @@
-// k-compat.libsonnet provides a compatibility layer between k8s-alpha and ksonnet-lib. As ksonnet-lib has been
-// abandoned, we consider it deprecated. This layer will generate a deprecation warning to those that still use it.
-local k = import 'k.libsonnet';
-
-k
-+ (
- if std.objectHas(k, '__ksonnet')
- then
- std.trace(
- 'Deprecated: ksonnet-lib has been abandoned, please consider using https://github.com/jsonnet-libs/k8s-alpha.',
- (import 'legacy-types.libsonnet')
- + (import 'legacy-custom.libsonnet')
- + (import 'legacy-noname.libsonnet')({
- new(name=''):: super.new() + (if name != '' then super.mixin.metadata.withName(name) else {}),
- })
- )
- else
- (import 'legacy-subtypes.libsonnet')
- + (import 'legacy-noname.libsonnet')({
- new(name=''):: super.new(name),
- })
-)