Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use $.core.v1.envVar #2460

Merged
merged 1 commit into from
Aug 7, 2020
Merged

refactor: use $.core.v1.envVar #2460

merged 1 commit into from
Aug 7, 2020

Conversation

Duologic
Copy link
Member

@Duologic Duologic commented Aug 3, 2020

What this PR does / why we need it:
container.envType comes from the deprecated ksonnet library, the newer and way better ;-) library refered to as
k8s-alpha promotes this to a first class citizen as core.v1.envVar.

This will drop support for the ksonnet library but allows us to remove some backwards compatibily support in k8s-alpha.

Checklist

  • Documentation added
  • Tests updated

@owen-d owen-d merged commit c4fb17f into master Aug 7, 2020
@owen-d owen-d deleted the duologic/refer_to_envVar branch August 7, 2020 00:47
@lucasclerissepro
Copy link

lucasclerissepro commented Aug 13, 2020

Please update the installation process for Loki using Tanka as the current version of Tanka installs the Ksonnet library and not K8s-alpha.

For anyone encoutering the issue, the content of lib/k.libsonnet has to be changed to

(import "github.com/jsonnet-libs/k8s-alpha/1.18/main.libsonnet") + (import "github.com/jsonnet-libs/k8s-alpha/1.18/extensions/kausal-shim.libsonnet")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants