Skip to content

Feature Request: Allow overriding the oauth2-proxy repository URL in Operator config (Air-Gapped environment support) #490

@Krutskik

Description

@Krutskik

Is your feature request related to a problem? Please describe.

Currently, the "theia-cloud-operator" hardcodes the "quay.io/oauth2-proxy/oauth2-proxy" registry inside the "templateDeployment.yaml" resource file. Users can only configure the version via "oAuth2ProxyVersion".

This approach prevents deploying Theia Cloud in strictly isolated, air-gapped, or corporate networks where downloading from external registries like "quay.io" is forbidden, and all images must be pulled from a private local registry (e.g., Nexus, Artifactory).

Describe the solution you'd like

Please introduce a new configuration parameter in the operator helm settings (e.g., "oAuth2ProxyImage" or "oAuth2ProxyRegistry") to allow overriding the entire image path, not just its version tag.

For example, in "templateDeployment.yaml", change:
"image: quay.io/oauth2-proxy/oauth2-proxy:${oAuth2ProxyVersion}"
to something like:
"image: ${oAuth2ProxyRegistry}/${oAuth2ProxyImageName}:${oAuth2ProxyVersion}"

Describe alternatives you've considered

No alternatives

Cluster provider

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions