mittwald/kubernetes-replicator

Secrets has been deployed with khelm and ArgoCD wants to delete it

Closed this issue · 0 comments

Describe the bug
I've added secret resources with khelm and deployed it with helm ArgoCD. But ArgoCD complains, here is the error:

This resource is not present in the application's source. It will be deleted from Kubernetes if the prune option is enabled during sync

To Reproduce
I deployed khelm

apiVersion: khelm.mgoltzsche.github.com/v2
kind: ChartRenderer

and generated secret.

Expected behavior
The secrets has been deployed but the app is out of sync and wants to delete it on next sync.
I don't see any place in values.yaml where I can identify secret resources.

Is there any way to define secrets in values file?

Environment:

  • Kubernetes version: 1.25
  • kubernetes-replicator version: 2.9.1