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

Nginx-Ingress - Provide possibility to disable everything at root level - with corresponding possibility to enable at path level #164

Merged

Conversation

kylehodgetts
Copy link
Contributor

@kylehodgetts kylehodgetts commented Sep 15, 2021

Changes

Ambassador

Move path disabled checkout outside of the sub options look up. If a
path has no kusk settings and thus enabled by default, kusk would skip
it and not include it in the generated resources. This commit fixes this

Nginx-Ingress

Support disabled option resolution using the semantics where lower level
disabled settings (Path > Global) take precendence. This is not
implemented for operations as the nginx-ingress generator doesn't
support operation level settings

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

Kyle Hodgetts added 2 commits September 15, 2021 17:42
path has no kusk settings and thus enabled by default, kusk would skip
it and not include it in the generated resources. This commit fixes this
disabled settings (Path > Global) take precendence. This is not
implemented for operations as the nginx-ingress generator doesn't
support operation level settings
Tarick
Tarick previously approved these changes Sep 16, 2021
… checking rest of the kusk options when deciding whether or not to split into separate resources. This is to prevent an operation which is explicitely enabled being skipped because its corresponding path is disabled.
@kylehodgetts kylehodgetts merged commit e53ce05 into main Sep 16, 2021
@kylehodgetts kylehodgetts deleted the kylehodgetts/enhancement/148-hide-properties-default branch September 16, 2021 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants