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

feat(deploy/kubernetes) - add ability for sidecars to be applied by canonical name #1141

Merged
merged 4 commits into from
Jan 8, 2019

Conversation

perek
Copy link
Contributor

@perek perek commented Jan 7, 2019

Background
When using HA mode the sidecar support is hard to configure due to the differing service names. Since the configuration is done per deployment this makes managing multiple sidecars unwieldy.

Change
Add a check for canonical name of the base service if a service specific config is not supplied.
The configuration works as follows:
Check for Service Name configs (spin-clouddriver)
-> if not set check the canonical name (clouddriver)
-> done

Test
Compiled and ran tests, there are no tests for this particular module, cut a custom build and applied changes via service name and canonical name

@perek perek changed the title feat(kube) - add ability for sidecars to be applied by canonical name feat(deploy/kubernetes) - add ability for sidecars to be applied by canonical name Jan 7, 2019
@spinnakerbot
Copy link
Contributor

The following commits need their title changed:

  • fcb8e2b: Add required changes for grouping on canonical name

  • c77eaeb: Fix jinja to allow empty lists

  • d9a403a: Remove unused comment

Please format your commit title into the form:

<type>(<scope>): <subject>, e.g. fix(kubernetes): address NPE in status check

This allows us to easily generate changelogs & determine semantic version numbers when cutting releases. You can read more about commit conventions here.

Copy link
Member

@lwander lwander left a comment

Choose a reason for hiding this comment

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

LGTM, sorry for the style nitpicks -- we're working to get those automated

@lwander lwander merged commit 2aaed59 into spinnaker:master Jan 8, 2019
dbyron0 pushed a commit to dbyron0/halyard that referenced this pull request Jan 8, 2019
…anonical name (spinnaker#1141)

* Add required changes for grouping on canonical name

* Fix jinja to allow empty lists

* Remove unused comment

* Address style comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants