pulumi-kubernetes
pulumi-kubernetes copied to clipboard
[WIP] Upgrade to Kubernetes v1.25.0
This is currently tracking 1.25.0-rc.0
Does the PR have any schema changes?
Found 12 breaking changes: Type "kubernetes:batch/v1beta1:CronJobSpec" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointPatch" missing property "hints" Type "kubernetes:batch/v1beta1:CronJobStatus" missing property "lastSuccessfulTime" Type "kubernetes:batch/v1beta1:CronJobStatusPatch" missing property "lastSuccessfulTime" Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatusPatch" missing property "conditions" Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatus" missing property "conditions" Type "kubernetes:discovery.k8s.io/v1beta1:Endpoint" missing property "hints" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHintsPatch" missing Type "kubernetes:discovery.k8s.io/v1beta1:ForZone" missing Type "kubernetes:discovery.k8s.io/v1beta1:ForZonePatch" missing Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHints" missing Type "kubernetes:batch/v1beta1:CronJobSpecPatch" missing property "timeZone"
New resources:
kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRkubernetes:networking.k8s.io/v1alpha1:ClusterCIDRListkubernetes:networking.k8s.io/v1alpha1:ClusterCIDRPatch
It looks like there are a few breaking changes we'll need to look into. We should have until the final release on August 23 to get this fixed.
Yeah some of the changes look a bit fishy. We do have time here.
This is why I wanted to get a WIP open to surface the issues :)
Does the PR have any schema changes?
Found 12 breaking changes: Type "kubernetes:discovery.k8s.io/v1beta1:ForZonePatch" missing Type "kubernetes:batch/v1beta1:CronJobSpecPatch" missing property "timeZone" Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatusPatch" missing property "conditions" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointPatch" missing property "hints" Type "kubernetes:batch/v1beta1:CronJobSpec" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:ForZone" missing Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatus" missing property "conditions" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHintsPatch" missing Type "kubernetes:batch/v1beta1:CronJobStatusPatch" missing property "lastSuccessfulTime" Type "kubernetes:batch/v1beta1:CronJobStatus" missing property "lastSuccessfulTime" Type "kubernetes:discovery.k8s.io/v1beta1:Endpoint" missing property "hints" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHints" missing
New resources:
kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRkubernetes:networking.k8s.io/v1alpha1:ClusterCIDRListkubernetes:networking.k8s.io/v1alpha1:ClusterCIDRPatch
I took a look at the breaking changes and found the following:
- EndpointHints" missing - This "beta" resource was removed, so no action needed.
- ForZone missing - This "beta" resource was removed, so no action needed.
- missing property "conditions" - This was removed from a "beta" API, so no action needed.
- missing property "timeZone" - This was an "alpha" feature that was removed, so no action needed.
- missing property "lastSuccessfulTime" - This was removed from a "beta" API, so no action needed.
- missing property "hints" - This was removed from a "beta" API, so no action needed.
Since all of these changes affect either alpha or beta APIs, and don't appear to be core features, I don't think we need to do anything special to work around for this release.
This is great news @lblackstone - thanks for looking into this :)
Does the PR have any schema changes?
Found 12 breaking changes: Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatus" missing property "conditions" Type "kubernetes:batch/v1beta1:CronJobSpec" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:ForZone" missing Type "kubernetes:batch/v1beta1:CronJobStatus" missing property "lastSuccessfulTime" Type "kubernetes:discovery.k8s.io/v1beta1:ForZonePatch" missing Type "kubernetes:discovery.k8s.io/v1beta1:EndpointPatch" missing property "hints" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHints" missing Type "kubernetes:discovery.k8s.io/v1beta1:Endpoint" missing property "hints" Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatusPatch" missing property "conditions" Type "kubernetes:batch/v1beta1:CronJobStatusPatch" missing property "lastSuccessfulTime" Type "kubernetes:batch/v1beta1:CronJobSpecPatch" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHintsPatch" missing
New resources:
kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRkubernetes:networking.k8s.io/v1alpha1:ClusterCIDRListkubernetes:networking.k8s.io/v1alpha1:ClusterCIDRPatch
Does the PR have any schema changes?
Found 12 breaking changes: Type "kubernetes:batch/v1beta1:CronJobStatusPatch" missing property "lastSuccessfulTime" Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatusPatch" missing property "conditions" Type "kubernetes:batch/v1beta1:CronJobSpecPatch" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHintsPatch" missing Type "kubernetes:discovery.k8s.io/v1beta1:ForZone" missing Type "kubernetes:discovery.k8s.io/v1beta1:ForZonePatch" missing Type "kubernetes:batch/v1beta1:CronJobStatus" missing property "lastSuccessfulTime" Type "kubernetes:batch/v1beta1:CronJobSpec" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:Endpoint" missing property "hints" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointPatch" missing property "hints" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHints" missing Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatus" missing property "conditions"
New resources:
kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRkubernetes:networking.k8s.io/v1alpha1:ClusterCIDRListkubernetes:networking.k8s.io/v1alpha1:ClusterCIDRPatch
Does the PR have any schema changes?
Found 12 breaking changes: Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatus" missing property "conditions" Type "kubernetes:discovery.k8s.io/v1beta1:ForZone" missing Type "kubernetes:batch/v1beta1:CronJobSpec" missing property "timeZone" Type "kubernetes:batch/v1beta1:CronJobStatusPatch" missing property "lastSuccessfulTime" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHints" missing Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHintsPatch" missing Type "kubernetes:discovery.k8s.io/v1beta1:Endpoint" missing property "hints" Type "kubernetes:batch/v1beta1:CronJobStatus" missing property "lastSuccessfulTime" Type "kubernetes:batch/v1beta1:CronJobSpecPatch" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:ForZonePatch" missing Type "kubernetes:discovery.k8s.io/v1beta1:EndpointPatch" missing property "hints" Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatusPatch" missing property "conditions"
New resources:
kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRkubernetes:networking.k8s.io/v1alpha1:ClusterCIDRListkubernetes:networking.k8s.io/v1alpha1:ClusterCIDRPatch