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

install: Add Peer Service on Install #809

Merged

Conversation

nathanjsweet
Copy link
Member

If the Peer Service file is present it should be installed.

Signed-off-by: Nate Sweet nathanjsweet@pm.me

If the Peer Service file is present it should be installed.

Signed-off-by: Nate Sweet <nathanjsweet@pm.me>
switch {
case versioncheck.MustCompile(">1.11.0")(ciliumVer):
svcFilename = "templates/cilium-agent/peer-service.yaml"
case versioncheck.MustCompile(">1.9.0")(ciliumVer):
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need this for v1.10? isn't this only for v1.12 or later?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, we are backporting the peer service. The function will still work (just return a nil service) even if the file is not present or empty).

Copy link
Member

Choose a reason for hiding this comment

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

@nathanjsweet @michi-covalent this is not in the right place, it should be in the installer of hubble-relay here. This also needs to be uninstalled, so that we clean up when hubble is removed which should be done here

@michi-covalent michi-covalent merged commit 3e99cf3 into master Apr 25, 2022
@michi-covalent michi-covalent deleted the pr/nathanjsweet/add-peer-service-to-installation branch April 25, 2022 18:24
@maintainer-s-little-helper maintainer-s-little-helper bot added ready-to-merge This PR has passed all tests and received consensus from code owners to merge. labels Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants