Skip to content

Conversation

stevenctl
Copy link
Contributor

  • prow: update default image to 1.24.0
  • wait for token data to be available
  • fix lint and release note
  • unit test coverage

…stio#38885)

* prow: update default image to 1.24.0

Change-Id: I5b8732367af80a948f857a71d14102ca0549436b

* wait for token data to be available

Change-Id: I1e91d11ade8f053ee05a962372357a5b40627fd5

* fix test

Change-Id: Ide970ec6dac60b1020adeeed5955bb5dcf0f69cd

* fix lint and release note

Change-Id: I8527d0325527899ab20dcf3b01c642c3dac94907

* remove go install

Change-Id: I248c3464b478c179f7e9b9a999de42121f88d5e1

* handle err

Change-Id: If0496c54b12105110ec93841961c40dd8d11fb49

* unit test coverage

Change-Id: I7756310338deb98f9284976cdd11f254424a45a3
@stevenctl stevenctl requested a review from a team May 18, 2022 16:47
@istio-testing istio-testing added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 18, 2022
@stevenctl
Copy link
Contributor Author

/retest

@GregHanson GregHanson mentioned this pull request May 18, 2022
return client.CoreV1().Secrets(opt.Namespace).Create(ctx, &v1.Secret{
log.Infof("Creating token secret for service account %q", serviceAccount.Name)
secretName := tokenSecretName(serviceAccount.Name)
return client.Kube().CoreV1().Secrets(opt.Namespace).Create(ctx, &v1.Secret{
Copy link
Member

Choose a reason for hiding this comment

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

@stevenctl does this client.CoreV1().Secrets -> client.Kube().CoreV1().Secrets work as expected without the underlying change to pkg/kube/client.go from the original PR?
https://github.com/istio/istio/pull/38789/files#diff-137bba79988de442c1fde0fc29520d6d7e5a5239ceac82f5439a5bf513ebb2d4

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, I think https://github.com/istio/istio/pull/38789/files#diff-137bba79988de442c1fde0fc29520d6d7e5a5239ceac82f5439a5bf513ebb2d4L111

Line 111 in the "before" part of the diff already had the Kube() method returning the embedded client.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So no behavior change.

@GregHanson
Copy link
Member

resolves #38987

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

4 participants