-
Notifications
You must be signed in to change notification settings - Fork 7
Add ODG controller #411
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
base: master
Are you sure you want to change the base?
Add ODG controller #411
Conversation
import odg_operator.odg_model as odgm | ||
|
||
|
||
ci.log.configure_default_logging() |
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.
I would prefer to new code to avoid dependencies to ci.*
packages. esp. sth. basic like logging we should rather define locally (esp. considering that we might see a different logging infrastructure for ODG - e.g. conveying logs to some service, rather than (only) printing to stdout).
218d87a
to
484d21a
Compare
odg_operator/odg_controller.py
Outdated
logger.info(f'{event["type"]} "{odg_name}" in "{metadata["namespace"]}"') | ||
|
||
requested_extension_definitions = [ | ||
find_extension_definition( |
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.
In order to support external extension definitions as well, we have to specify a fallback here in case the extension is not find in "our" definitions.
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.
so we would need something like:
dependencies:
- name: custom-extension
type: custom
component_name: my-custom.component.foo
component_version: 0.1.0
artefact_name: my-artefact
- name: delivery-service
type: supported
wdyt?
1f189d5
to
1fb1b1a
Compare
Reconciles ODG resources in mODG-root cluster and creates ODG-Extension resources (via gardener-resource-manager).
1fb1b1a
to
9b20804
Compare
Reconciles ODG resources in mODG-root cluster and creates ODG-Extension resources (via gardener-resource-manager).
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: