Skip to content

Epic: Allow for custom annotations & env variables on K8s Resources for Self-Hosted Installations #10461

Closed
@lucasvaltl

Description

@lucasvaltl

Summary

Allow users to customise to adapt their deployment of self-hosted to the specifics of the environment/cluster it is applied to.

Context

Customers are finding it difficult to sometimes use KOTS because it does not allow them to add custom annotations or env variables to K8s resources. The installer produces a fixed manifest and that then gets applied to the kubernetes cluster. Any changes made forces them to re-apply those changes after an update to Gitpod, which can lead to confusion.

Specific reasons they need to customise / make changes:

  • Annotate service to use internal networking
  • Add an environment variable to S3 when used as a registry storage backend (internal reference)

Value

Allow Kots to work in more setups, because it can be customised to environment specific circumstances.

Acceptance Criteria

  • Customers can add generic annotations and env variables to resources via a configuration field in the KOTS UI.
  • This is well documented in our documentation.

Measurement

  • Even more customers start using kots

Proposed solution

Allow for generic annotations on resources - have a way to set this in the KOTS UI & Installer Config. Then apply together with the installation.

Alternatives considered

  1. Open issues for the missing configuration options customers are doing currently with post-processing and solve this properly
  2. Rely on replicated git-ops flow (requires a feature request from us) for post-processing.

Additional Context

Tasks

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions