Skip to content

fix: homerun-base-stack and homerun-iot-stack namespace/resource conflict #41

@patrick-hermann-sva

Description

@patrick-hermann-sva

Bug

apps/homerun-base-stack and apps/homerun-iot-stack both declare:

  • A Namespace named homerun
  • A HelmRepository named homerun in the homerun namespace

If both are applied by Flux on the same cluster, there will be duplicate resource conflicts.

Context

The two stacks appear to be designed for co-deployment (IoT stack extends the base stack). The homerun-iot-stack should not re-declare resources already created by homerun-base-stack.

Fix Options

  1. Remove duplicate resources from homerun-iot-stack/requirements.yaml and document that it depends on homerun-base-stack being applied first
  2. Merge both stacks into a single component with optional releases
  3. Use Flux dependsOn in the IoT stack's Kustomization to ensure ordering

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