diff --git a/CHANGELOG.md b/CHANGELOG.md index e54e636d..bdf60835 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ We use *breaking* word for marking changes that are not backward compatible (rel ### Changed -- +- [#238](https://github.com/thanos-io/kube-thanos/pull/238) Use relative Jsonnet imports internally ### Added diff --git a/jsonnet/kube-thanos/kube-thanos-compact-shards.libsonnet b/jsonnet/kube-thanos/kube-thanos-compact-shards.libsonnet index 694aacde..2f84249a 100644 --- a/jsonnet/kube-thanos/kube-thanos-compact-shards.libsonnet +++ b/jsonnet/kube-thanos/kube-thanos-compact-shards.libsonnet @@ -1,5 +1,5 @@ -local compactConfigDefaults = import 'kube-thanos/kube-thanos-compact-default-params.libsonnet'; -local compact = import 'kube-thanos/kube-thanos-compact.libsonnet'; +local compactConfigDefaults = import './kube-thanos-compact-default-params.libsonnet'; +local compact = import './kube-thanos-compact.libsonnet'; // These are the defaults for this components configuration. // When calling the function to generate the component's manifest, diff --git a/jsonnet/kube-thanos/kube-thanos-receive-hashrings.libsonnet b/jsonnet/kube-thanos/kube-thanos-receive-hashrings.libsonnet index 97b592a6..34d94ae1 100644 --- a/jsonnet/kube-thanos/kube-thanos-receive-hashrings.libsonnet +++ b/jsonnet/kube-thanos/kube-thanos-receive-hashrings.libsonnet @@ -1,5 +1,5 @@ -local receiveConfigDefaults = import 'kube-thanos/kube-thanos-receive-default-params.libsonnet'; -local receive = import 'kube-thanos/kube-thanos-receive.libsonnet'; +local receiveConfigDefaults = import './kube-thanos-receive-default-params.libsonnet'; +local receive = import './kube-thanos-receive.libsonnet'; // These are the defaults for this components configuration. // When calling the function to generate the component's manifest, diff --git a/jsonnet/kube-thanos/kube-thanos-store-shards.libsonnet b/jsonnet/kube-thanos/kube-thanos-store-shards.libsonnet index 1172cc9c..203b8f0a 100644 --- a/jsonnet/kube-thanos/kube-thanos-store-shards.libsonnet +++ b/jsonnet/kube-thanos/kube-thanos-store-shards.libsonnet @@ -1,5 +1,5 @@ -local storeConfigDefaults = import 'kube-thanos/kube-thanos-store-default-params.libsonnet'; -local store = import 'kube-thanos/kube-thanos-store.libsonnet'; +local storeConfigDefaults = import './kube-thanos-store-default-params.libsonnet'; +local store = import './kube-thanos-store.libsonnet'; // These are the defaults for this components configuration. // When calling the function to generate the component's manifest, diff --git a/jsonnetfile.json b/jsonnetfile.json index 53f3ce5d..d0a74016 100644 --- a/jsonnetfile.json +++ b/jsonnetfile.json @@ -10,5 +10,5 @@ "version": "." } ], - "legacyImports": true + "legacyImports": false }