Skip to content

Inconsistent environment variable naming: CLUSTER_DOMAIN should be FLAGD_CLUSTER_DOMAIN #794

@kuznero

Description

@kuznero

Problem

The CLUSTER_DOMAIN environment variable introduced in PR #789 does not follow the naming convention used by other flagd-related configuration options in the operator.

Current Behavior

The environment variable for configuring the Kubernetes cluster domain is named CLUSTER_DOMAIN, which is inconsistent with other flagd-related environment variables.

Expected Behavior

All flagd-related configuration options should follow a consistent naming pattern with the FLAGD_ prefix:

  • FLAGD_PROXY_PORT
  • FLAGD_PROXY_IMAGE
  • FLAGD_PROXY_TAG
  • FLAGD_CLUSTER_DOMAIN ← should follow this pattern

Impact

Inconsistent naming makes configuration more confusing and harder to discover. Users expect related options to share a common prefix for easier grouping and documentation.

Solution

Rename the environment variable from CLUSTER_DOMAIN to FLAGD_CLUSTER_DOMAIN in the envconfig.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions