stakater / Reloader

A Kubernetes controller to watch changes in ConfigMap and Secrets and do rolling upgrades on Pods with their associated Deployment, StatefulSet, DaemonSet and DeploymentConfig – [✩Star] if you're using it!

Home Page:https://docs.stakater.com/reloader/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] helm labels and annotations are added to k8s manifests built with kustomize

shepely opened this issue · comments

Describe the bug

When rendering/deploying k8s resources for Reloader with kustomize, helm labels and annotations are being added to the k8s manifests. This can be misleading.

To Reproduce

kustomize build deployments/kubernetes

Expected behavior
Helm labels and annotations are not added, when using kustomize with Reloader.

Screenshots
image

Environment

  • Operator Version: 1.0.54
  • Kubernetes/OpenShift Version: v1.26.6-gke.1700
  • kustomize version: v5.1.1

hi @shepely , we welcome PRs if you'd like to resolve this issue