Skip to content

Helm Operator: Is it possible to ignore reconcilliation for specific deployed resources? #6934

@jlopes-randoli

Description

@jlopes-randoli

Type of question

General operator-related help

Question

What did you do?

I have an operator that I am currently building using the helm chart conversion functionality in the operator-sdk chart.

What did you expect to see?

I have a ConfigMap in one of my sub-charts that i want to be deployed by the operator but I don't want to be constantly updated and reconciled by the Operator. This is because our main application that is deployed by the Operator modifies that ConfigMap as part of it's functionality.

What did you see instead? Under which circumstances?

Under normal functionality using our Helm Chart, the ConfigMap is deployed, but our application is able to modify it and function properly. Using the Operator solution, whenever we modify that ConfigMap, it gets automatically reset by the Operator reconcilliation. Is there a way to turn off this logic specifically for this resource?

Environment

Operator type:

/language helm

Kubernetes cluster type:

OpenShift 4.17

$ operator-sdk version

v1.38.0

$ go version (if language is Go)

N/A

$ kubectl version

Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.0", GitCommit:"b46a3f887ca979b1a5d14fd39cb1af43e7e5d12d", GitTreeState:"clean", BuildDate:"2022-12-08T19:58:30Z", GoVersion:"go1.19.4", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"30", GitVersion:"v1.30.11", GitCommit:"2923986f090bc719c0222d96de0bc4c83bede985", GitTreeState:"clean", BuildDate:"2025-04-01T21:05:04Z", GoVersion:"go1.22.12 (Red Hat 1.22.12-1.el9_5) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    language/helmIssue is related to a Helm operator project

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions