Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use standard meshconfig defaults in galley #16270

Merged
merged 3 commits into from
Aug 17, 2019

Conversation

howardjohn
Copy link
Member

For some reason galley is using its own special MeshConfig, that is
different than Helm/what pilot uses, leading to inconsistent config.
This changes it to use the standard defaults in pkg/config/mesh.

[x] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@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 Aug 14, 2019
@istio-testing istio-testing added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 14, 2019
@yxue
Copy link
Member

yxue commented Aug 14, 2019

Do you need to delete galley/pkg/config/meshcfg/defaults.go?

@howardjohn
Copy link
Member Author

howardjohn commented Aug 14, 2019

Do you need to delete galley/pkg/config/meshcfg/defaults.go?

what... why does galley have two different mesh config defaults?? and they are both wrong?

Good catch

@ozevren
Copy link
Contributor

ozevren commented Aug 14, 2019

Galley had its own defaults because, the alternative was to create yet another dependency on Pilot from Galley. It is used mostly for Ingress handling. It looks like Nathan's refactoring changes allows Galley to depend on the common mesh code now, so removing the defaults now makes sense. Thanks for taking care of this.

@ozevren
Copy link
Contributor

ozevren commented Aug 14, 2019

Please also update the one in galley/pkg/config as well. That is an off-by-default config processing pipeline.

Thanks

For some reason galley is using its own special MeshConfig, that is
different than Helm/what pilot uses, leading to inconsistent config.
This changes it to use the standard defaults in pkg/config/mesh.
@howardjohn
Copy link
Member Author

Galley had its own defaults because, the alternative was to create yet another dependency on Pilot from Galley. It is used mostly for Ingress handling. It looks like Nathan's refactoring changes allows Galley to depend on the common mesh code now, so removing the defaults now makes sense. Thanks for taking care of this.

Makes sense, glad we moved it out then! I just updated the other one. Not sure if it is correct with changes to ingressClass/ingressControllerMode?

@howardjohn howardjohn force-pushed the galley/normal-default-mesh branch from 0d4ef80 to 5546970 Compare August 14, 2019 23:15
@howardjohn
Copy link
Member Author

/retest

@rshriram
Copy link
Member

/cherrypick release-1.3

@istio-testing
Copy link
Collaborator

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

In response to this:

/cherrypick release-1.3

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.

@rshriram
Copy link
Member

/test istio-pilot-e2e-envoyv2-v1alpha3-master

@howardjohn
Copy link
Member Author

/retest

@istio-testing
Copy link
Collaborator

@rshriram: new pull request created: #16361

In response to this:

/cherrypick release-1.3

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
area/config 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.

8 participants