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

Set operator name of 'KudoOperator' tasks for dependencies #1560

Merged
merged 7 commits into from Jun 18, 2020

Conversation

nfnt
Copy link
Member

@nfnt nfnt commented Jun 12, 2020

What this PR does / why we need it:
Package dependencies can reference operator packages from local files or arbitrary URLs. KUDO's controller doesn't know about the origin of packages once they have been resolved. But it needs to resolve instances from KudoOperator tasks. To solve this, the Package and OperatorName of these tasks are updated with the operator name before they are applied on a cluster.

Package dependencies can reference operator packages from local files or arbitrary URLs. KUDO's controller doesn't know about the origin of packages once they have been resolved. But it needs to resolve instances from 'KudoOperator' tasks. To solve this, the 'Package' and 'OperatorName' of these tasks are updated with the operator name before they are applied on a cluster.

Signed-off-by: Jan Schlicht <jan@d2iq.com>
Jan Schlicht added 3 commits June 12, 2020 11:46
Signed-off-by: Jan Schlicht <jan@d2iq.com>
Signed-off-by: Jan Schlicht <jan@d2iq.com>
Signed-off-by: Jan Schlicht <jan@d2iq.com>
pkg/kudoctl/packages/install/package.go Outdated Show resolved Hide resolved
pkg/kudoctl/packages/install/package.go Outdated Show resolved Hide resolved
Jan Schlicht and others added 3 commits June 18, 2020 13:40
Signed-off-by: Jan Schlicht <jan@d2iq.com>

Co-authored-by: Aleksey Dukhovniy <adukhovniy@mesosphere.io>
Signed-off-by: Aleksey Dukhovniy <alex.dukhovniy@googlemail.com>
Signed-off-by: Jan Schlicht <jan@d2iq.com>
Copy link
Contributor

@zen-dog zen-dog left a comment

Choose a reason for hiding this comment

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

Nice!

@nfnt nfnt merged commit 9db03a9 into master Jun 18, 2020
@nfnt nfnt deleted the nfnt/update-ov-deps branch June 18, 2020 12:21
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