https://pulumi.com logo
#announcements
Title
# announcements
b

bitter-dentist-28132

09/19/2019, 5:18 PM
^ does it use the new `apiVersion`s for ingress/deployment?
c

cool-egg-852

09/19/2019, 5:40 PM
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

gorgeous-egg-16927

09/19/2019, 6:05 PM
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

bitter-dentist-28132

09/19/2019, 6:51 PM
so I guess to the default for e.g.
k8s.apps.v1.Deployment
is the deprecated
apiVersion
?
g

gorgeous-egg-16927

09/19/2019, 6:54 PM
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

bitter-dentist-28132

09/19/2019, 7:12 PM
that's odd... i'm seeing the deprecation message for
k8s.apps.v1.Deployment
(i'm on a v1.15 cluster fwiw)
c

cool-egg-852

09/19/2019, 7:21 PM
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

bitter-dentist-28132

09/19/2019, 7:22 PM
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

cool-egg-852

09/19/2019, 7:22 PM
Yes exactly
I get the same thing for some helm charts too like cert-manager