^ does it use the new `apiVersion`s for ingress/de...
# announcements
b
^ does it use the new `apiVersion`s for ingress/deployment?
c
Unless I’m misunderstanding your question, that’s on you to make the change to.
Pulumi has supported it for as long as I can remember. If you are asking about the auto aliasing, I don’t recall a PR being merged in for that request yet.
I know there was an open issue about it.
g
Right, the SDK will continue to support any apiVersion of the k8s resources. It’s up to the user to use a supported version depending on the cluster they’re targeting
I’ve been improving related error messages as well, so it should be clear if you are using a deprecated or removed apiVersion and how to fix.
🍺 1
^ This is for a 1.16 cluster. You’ll get a deprecation warning rather than an error for previous versions.
👍 1
b
so I guess to the default for e.g.
k8s.apps.v1.Deployment
is the deprecated
apiVersion
?
g
I’m not sure I understand the question. The SDK includes
k8s.apps.v1.Deployment
as well as older versions like
k8s.extensions.v1beta1.Deployment
. Only the older versions cause the deprecation warnings
b
that's odd... i'm seeing the deprecation message for
k8s.apps.v1.Deployment
(i'm on a v1.15 cluster fwiw)
c
Right, and you will. It will just be a warning not an error.
It’s warning you that with 1.16 and newer, your stuff will break.
b
ohhhh wait, it's saying that for the mongo chart, not my actual deployments. that's my bad, the mongo chart must be using the deprecated one.
c
Yes exactly
I get the same thing for some helm charts too like cert-manager