-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
None
-
None
-
None
-
None
As a platform operator, I want to configure the shared ingress HAProxy image via an environment variable, so that I can update the image without modifying HyperShift operator code.
Context:
Add support for the IMAGE_SHARED_INGRESS_HAPROXY environment variable to override the hardcoded shared ingress HAProxy image. This includes adding the constant definition and updating the shared ingress router code to use the environment variable.
Tasks:
- Add SharedIngressHAProxyEnvVar = "IMAGE_SHARED_INGRESS_HAPROXY" constant to support/images/envvars.go
- Create GetSharedIngressHAProxyImage() function that checks the env var and falls back to the default
- Update hypershift-operator/controllers/sharedingress/router.go to use the new function instead of the hardcoded Image constant
- Ensure the image is resolved at the appropriate time (initialization vs runtime)
Acceptance Criteria:
- Constant is defined following existing naming conventions in support/images/envvars.go
- Function returns env var value when set, default hardcoded image when not set
- Shared ingress router deployment uses the env var when set
- Default behavior unchanged when env var is not set
- No breaking changes to existing deployments
- Follows existing patterns from other IMAGE_* environment variables