Skip to content

operator: fix 1.25 install#39554

Merged
istio-testing merged 2 commits intoistio:masterfrom
howardjohn:operator/fix-125
Jun 23, 2022
Merged

operator: fix 1.25 install#39554
istio-testing merged 2 commits intoistio:masterfrom
howardjohn:operator/fix-125

Conversation

@howardjohn
Copy link
Copy Markdown
Member

@howardjohn howardjohn commented Jun 22, 2022

There were a few issues here:

  • We always used the old versions for prune, and only sometimes added
    the new ones. This means on 1.25 we get a bunch of errors
  • We never based the version to the helm renderer, so its ignored and we
    always use the old API versions.

This PR fixes both of these. A lot of plumbing to get the version
through

Please provide a description of this PR:

There were a few issues here:
* We always used the old versions for prune, and only sometimes added
  the new ones. This means on 1.25 we get a bunch of errors
* We never based the version to the helm renderer, so its ignored and we
  always use the old API versions.

This PR fixes both of these. A lot of plumbing to get the version
through
@howardjohn howardjohn added the release-notes-none Indicates a PR that does not require release notes. label Jun 22, 2022
@howardjohn howardjohn requested review from a team as code owners June 22, 2022 17:21
@istio-testing istio-testing added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jun 22, 2022
Copy link
Copy Markdown
Contributor

@litong01 litong01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for taking care of these improvements

@howardjohn
Copy link
Copy Markdown
Member Author

/cherrypick release-1.14

We want it there, but should make sure we add postsubmit to that branch as well

@istio-testing
Copy link
Copy Markdown
Collaborator

@howardjohn: once the present PR merges, I will cherry-pick it on top of release-1.14 in a new PR and assign it to you.

Details

In response to this:

/cherrypick release-1.14

We want it there, but should make sure we add postsubmit to that branch as well

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

testReconcileOperator *istiocontrolplane.ReconcileIstioOperator

allNamespacedGVKs = append(helmreconciler.NamespacedResources,
allNamespacedGVKs = append(helmreconciler.NamespacedResources(&version.Info{Major: "1", Minor: "25"}),
Copy link
Copy Markdown
Contributor

@zhlsunshine zhlsunshine Jun 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except here, if minor version 25 can be replaced with other one, could we defined a constant for it, including the change at L#209 in this file ?

@istio-testing
Copy link
Copy Markdown
Collaborator

@howardjohn: new pull request created: #39564

Details

In response to this:

/cherrypick release-1.14

We want it there, but should make sure we add postsubmit to that branch as well

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

howardjohn added a commit to howardjohn/istio that referenced this pull request Jul 12, 2022
* operator: fix 1.25 install

There were a few issues here:
* We always used the old versions for prune, and only sometimes added
  the new ones. This means on 1.25 we get a bunch of errors
* We never based the version to the helm renderer, so its ignored and we
  always use the old API versions.

This PR fixes both of these. A lot of plumbing to get the version
through

* lint

(cherry picked from commit 349c47e)
istio-testing pushed a commit that referenced this pull request Jul 13, 2022
* operator: fix 1.25 install (#39554)

* operator: fix 1.25 install

There were a few issues here:
* We always used the old versions for prune, and only sometimes added
  the new ones. This means on 1.25 we get a bunch of errors
* We never based the version to the helm renderer, so its ignored and we
  always use the old API versions.

This PR fixes both of these. A lot of plumbing to get the version
through

* lint

(cherry picked from commit 349c47e)

* operator: fix remaining issue for 1.25 in cluster controller (#39587)

(cherry picked from commit 89aadd6)

* Fix operator test on 1.25 (#39883)

(cherry picked from commit 686aa16)

* release note
jiangshantao-dbg pushed a commit to istio-mt/istio that referenced this pull request Jun 6, 2025
jiangshantao-dbg added a commit to istio-mt/istio that referenced this pull request Jun 11, 2025
* feat: cherry pick operator: fix 1.25 install (istio#39554) 349c47e

* feat: operator: fix remaining issue for 1.25 in cluster controller (istio#39587) 89aadd6

* feat: ignore replicaCount when autoscale is enabled (istio#36928) 28c8811

* feat: pdb v1 and autoscaler v2

ed2de8c, c3d3d13,
57b90f0

---------

Co-authored-by: jst <jst@meitu.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes-none Indicates a PR that does not require release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants