Update Jsonnet lib to work with latest Tanka version #487
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The default k8s library used by Tanka was changed in grafana/tanka#563. This meant the k8s instructions didn't work with the latest version of Tanka (v0.20); I was seeing an error like:
This PR updates the carbon-relay-ng jsonnet lib so it'll work with the updated k8s library, and also makes a small update to the k8s doc.
Testing
Followed the k8s instructions to set up the Tanka environment, ran
tk show environments/default
, which worked after I'd made changes to the jsonnet library.