cloudoperators / greenhouse

Cloud operations platform
Apache License 2.0
8 stars 1 forks source link

🐛 [BUG] - service proxy plugin has fixed container registry and tag #125

Open IvoGoman opened 2 months ago

IvoGoman commented 2 months ago

Priority

(Low) Something is a little off

Description

The ServiceProxyReconciler automatically deploys a service-proxy Plugin for each organization. The chart defines defaults for the image repository and tag. Currently the reconciler overwrites the tag with the git version of the current deployed version of Greenhouse and it is not possible to configure the registry.

https://github.com/cloudoperators/greenhouse/blob/381ec74519a570a699c0009cbd312de5df919327/pkg/controllers/organization/service_proxy_controller.go#L89-L92

It should be possible to configure these values in the greenhouse manager deployment, to enable using alternative registries to pull the container image from.

Reproduction steps

1. Deploy a new version of Greenhouse
2. ServiceProxyReconciler updates the Plugins with the lastest git version
3. service-proxy pods cannot pull the image

Manifests

No response

Screenshots

No response