You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add ability to pass Capabilities.APIVersions to template and lint #3377
When using the template and lint commands the Capabilities.APIVersions is an empty set because it uses defaults which are currently an empty set. Might be good to provide a set or provide the capability to pass in a set.
Note, lint doesn't let you pass in the version of k8s either. That may also be useful.
Reacted by Matthias van de Meent, Neer Friedman, Alexander Matyushentsev, Tom Wieczorek, ericgriffis, Christopher "Chief" Najewicz, Nik Voss, Ed Lee, Mateusz Gozdek, Helmut and 8 more
I've recently discovered the new helm template command (wooo!)
I've used it to automatically generate some 'default' deployment manifests for cert-manager for users that wish to not use Helm. I've also created a verify script, to ensure these manifests are up to date during our CI process.
We use Capabilities to determine whether to use CRDs or TPRs. We could soon remove that check however, but in the meantime it'd be great if I could do something to make this return true:
{{- if .Capabilities.APIVersions.Has "apiextensions.k8s.io/v1beta1" -}}
Reacted by taemon1337, Neer Friedman, Pablo Castellano, ericgriffis, Nik Voss, azman0101, singalravi, Jhonn Frazão, Helmut, Dean Coakley and 6 more
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale
Activity
munnerz commentedon Jan 24, 2018
I've recently discovered the new
helm templatecommand (wooo!)I've used it to automatically generate some 'default' deployment manifests for cert-manager for users that wish to not use Helm. I've also created a verify script, to ensure these manifests are up to date during our CI process.
We use Capabilities to determine whether to use CRDs or TPRs. We could soon remove that check however, but in the meantime it'd be great if I could do something to make this return true:
{{- if .Capabilities.APIVersions.Has "apiextensions.k8s.io/v1beta1" -}}Merge pull request #276 from munnerz/gen-deploy
fejta-bot commentedon Apr 24, 2018
Issues go stale after 90d of inactivity.
Mark the issue as fresh with
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with
/close.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
fejta-bot commentedon May 24, 2018
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with
/remove-lifecycle rotten.Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with
/close.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale
kramvan1 commentedon Apr 10, 2019
+1
drewwells commentedon Oct 6, 2020
@thomastaylor312 this issue also mentions lint. The PR only addressed template
genofire commentedon Apr 20, 2023
Yes linting is still not solved (but needed)
avneesh91 commentedon Apr 5, 2024
Is there an alternative for this or making link bypass this?
genofire commentedon Jul 9, 2024
there is #10190 but also closed