aboutsummaryrefslogtreecommitdiff
path: root/deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/legacy-noname.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/legacy-noname.libsonnet
parentRelease 1.0.1 (diff)
remove tanka vendoring
Diffstat (limited to 'deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/legacy-noname.libsonnet')
-rw-r--r--deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/legacy-noname.libsonnet51
1 files changed, 0 insertions, 51 deletions
diff --git a/deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/legacy-noname.libsonnet b/deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/legacy-noname.libsonnet
deleted file mode 100644
index 388a10b..0000000
--- a/deploy/vendor/github.com/grafana/jsonnet-libs/ksonnet-util/legacy-noname.libsonnet
+++ /dev/null
@@ -1,51 +0,0 @@
-// legacy-noname.libsonnet provides two-way compatibility, in k8s-alpha many new() functions have a mandatory name
-// argument while they are absent in ksonnet-lib. `noNewEmptyNameMixin` allows us to make the argument optional in
-// either situation.
-function(noNewEmptyNameMixin) {
- core+: { v1+: {
- persistentVolumeClaim+: noNewEmptyNameMixin,
- } },
- extensions+: {
- v1beta1+: {
- ingress+: noNewEmptyNameMixin,
- },
- },
- networking+: {
- v1beta1+: {
- ingress+: noNewEmptyNameMixin,
- },
- },
- batch+: {
- v1+: {
- job+: noNewEmptyNameMixin,
- },
- v1beta1+: {
- job+: noNewEmptyNameMixin,
- },
- },
- local rbacPatch = {
- role+: noNewEmptyNameMixin,
- clusterRole+: noNewEmptyNameMixin,
- roleBinding+: noNewEmptyNameMixin,
- clusterRoleBinding+: noNewEmptyNameMixin,
- },
- rbac+: {
- v1+: rbacPatch,
- v1beta1+: rbacPatch,
- },
- policy+: { v1beta1+: {
- podDisruptionBudget+: noNewEmptyNameMixin,
- podSecurityPolicy+: noNewEmptyNameMixin,
- } },
- storage+: { v1+: {
- storageClass+: noNewEmptyNameMixin,
- } },
-
- scheduling+: { v1beta1+: {
- priorityClass+: noNewEmptyNameMixin,
- } },
- admissionregistration+: { v1beta1+: {
- mutatingWebhookConfiguration+: noNewEmptyNameMixin,
- validatingWebhookConfiguration+: noNewEmptyNameMixin,
- } },
-}