Skip to content

Use single-namespace Korifi Helm chart #4211

@vkazmin1

Description

@vkazmin1

Hi team,

As we know, Korifi Helm by default creates resources in different namespaces, such as korifi, korifi-gateway or whatever we set as a base namespace in Helm values.yaml

Problem

Korifi deployment under ArgoCD displays OutOfSync state if we do not specify target namespace in ArgoCD Application such as

  destination:
    server: https://kubernetes.default.svc
     namespace: korifi

And vice versa, if we specify target namespace, ArgoCD installs all Helm resources into the target namespace (korifi).

Next, we deploy contour for korifi. Some contour resources run in korifi-gateway namespace, but since we do not declare target namespace in Korifi ArgoCD Application, it doesn't expect to have external resources and complains about desync. It doesn't break anything, we just can't get "all good" state and therefore it's annoying.

Question

The question is - is it critical to apply korifi Ingress, Gateway and ConfigMap in {{ .Release.Namespace }}-gateway (that's what we have in Korifi Helm chart) or we can simply install entire Helm chart in the single namespace avoiding conflicts on korifi level? I'm just not aware if it can break smth inside korifi logic / CRDs level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🧊 Icebox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions