Skip to content

Support file mount to SDS migration#20511

Merged
istio-testing merged 3 commits intoistio:masterfrom
howardjohn:pilot/smooth-sds-upgrade
Jan 27, 2020
Merged

Support file mount to SDS migration#20511
istio-testing merged 3 commits intoistio:masterfrom
howardjohn:pilot/smooth-sds-upgrade

Conversation

@howardjohn
Copy link
Copy Markdown
Member

@howardjohn howardjohn commented Jan 24, 2020

Currently SDS is a global setting. In pilot-agent we configure metadata
to declare we are supporting SDS, but we ignore it in pilot. This checks
that metadata in Pilot. We also stop using "1" and use a proper bool.

Fixes #20497

@howardjohn howardjohn requested review from a team as code owners January 24, 2020 22:39
@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Jan 24, 2020
@istio-testing istio-testing added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 24, 2020
@howardjohn howardjohn added this to the 1.5 milestone Jan 24, 2020
@howardjohn
Copy link
Copy Markdown
Member Author

/cherrypick release-1.5

@istio-testing
Copy link
Copy Markdown
Collaborator

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

Details

In response to this:

/cherrypick release-1.5

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like SdsUdsPath is still being used from mesh config - Should that also be taken from metadata?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We don't have it in the metadata, so we don't really have a choice here since we cannot go back in time to old versions and add it - this is primarily about supporting upgrade from 1.4 -> 1.5. Should it have been done originally? probably. But I think now we have deprecated the mesh config field and will just use a hardcoded value

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I see. Makes sense.

Copy link
Copy Markdown
Member

@sdake sdake left a comment

Choose a reason for hiding this comment

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

lgtm from an env-wg perspective. Leave final review to networking team.

Currently SDS is a global setting. In pilot-agent we configure metadata
to declare we are supporting SDS, but we ignore it in pilot. This checks
that metadata in Pilot. We also stop using "1" and use a proper bool.
@howardjohn
Copy link
Copy Markdown
Member Author

/cherrypick release-1.5

@istio-testing
Copy link
Copy Markdown
Collaborator

@howardjohn: new pull request created: #20959

Details

In response to this:

/cherrypick release-1.5

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. 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.

1.4 -> 1.5 upgrade broken by SDS

7 participants