Skip to content

[Bug]: Creation of Lease in helm chart is superfluous and creates warning in ArgoCD #7573

Open
@hafe

Description

@hafe

Version

4.0.1

What Kubernetes platforms are you running on?

Kind

Steps to reproduce

Deploy NIC using the Helm chart, leader election enabled with an ArgoCD application.

ArgoCD will forever show a warning "ExcludedResourceWarning Resource coordination.k8s.io/Lease mylease is excluded in the settings" and ArgoCD will not create/refuse the Lease resource.

It seems to be consensus that Lease resources should be created in runtime and not by manifests. A simple test deploying the helm chart in kind reveals that the Lease object is already created in runtime by NIC! So I suggest to remove the Lease from the helm chart.

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue reporting a potential bug

    Type

    No type

    Projects

    Status

    Prioritized backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions