mittwald / kubernetes-replicator

Kubernetes controller for synchronizing secrets & config maps across namespaces
Apache License 2.0
886 stars 101 forks source link

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

Closed olga-salesloft closed 1 year ago

olga-salesloft commented 1 year ago

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: