-
Notifications
You must be signed in to change notification settings - Fork 60
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
✨ Single/Own Namespace Install Mode Support #1724
✨ Single/Own Namespace Install Mode Support #1724
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1724 +/- ##
==========================================
+ Coverage 68.39% 68.43% +0.03%
==========================================
Files 62 63 +1
Lines 5117 5132 +15
==========================================
+ Hits 3500 3512 +12
- Misses 1388 1390 +2
- Partials 229 230 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Wow, I am impressed with how simple that is with the existing code we have. |
@joelanford @perdasilva Are we planning to write a RFC for this feature |
8088b37
to
24d0e36
Compare
24d0e36
to
b1880bb
Compare
b1880bb
to
594c0e4
Compare
df1ec13
to
c13abce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for all the amazing explanations! Your work is truly outstanding—terrific job!
🚀
0635ae8
to
5a566fe
Compare
Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
5a566fe
to
79940bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
a75e794
79940bf
to
a75e794
Compare
Signed-off-by: Per Goncalves da Silva <[email protected]>
a75e794
to
e39a1f5
Compare
/lgtm |
Description
Part of #593
Closes #1751 and #1752
Adds initial implementation of
SingleNamespace
andOwnNamespace
install mode support for registry+v1 bundle behindSingleOwnNamespaceInstallSupport
alpha feature-gate.The user can install a registry+v1 bundle in SingleNamespace or OwnNamespace install mode by setting the watch namespace through the
olm.operatorframework.io/watch-namespace
annotation on the ClusterExtension, as long as the following criteria is met:Single-
and/orOwnNamespace
install modesSingleOwnNamespaceInstallSupport
feature-gate is enabled on the controllerolm.operatorframework.io/watch-namespace
annotation points to a single existing namespaceThe annotation value will determine the install mode:
AllNamespaces
mode.spec.namespace
) in the ClusterExtension: bundle is installed inOwnNamespace
mode (orSingleNamespace
mode ifOwnNamespace
mode is not supported).spec.namespace
) in the ClusterExtension: bundle is installed inSingleNamespace
modeNote: SingleNamespace mode also covers the case where the watchNamespace ==
.spec.namespace
. If the operator only supportsOwnNamespace
install mode, this means it can ONLY watch the install namespace.If the annotation is not present, standard behavior applies:
AllNamespaces
mode.If annotation value is not a valid namespace name the installation will halt with an error.
Notes:
DEMOS
SingleNamespace
OwnNamespace
Reviewer Checklist