dragonflydb / dragonfly-operator

A Kubernetes operator to install and manage Dragonfly instances.
https://www.dragonflydb.io/docs/managing-dragonfly/operator/installation
Apache License 2.0
132 stars 28 forks source link

[Bug] Helm chart update error #220

Closed danilrwx closed 1 month ago

danilrwx commented 2 months ago

Error

With default values and flux update failed from 1.1.5

Warning UpgradeFailed 100s helm-controller Helm upgrade failed for release dragonfly-operator/dragonfly-operator with chart dragonfly-operator@1.1.6+30ca05d11880: error while running post render on files: map[string]interface {}(nil): yaml: unmarshal errors: line 15: mapping key "app.kubernetes.io/instance" already defined at line 9

Way to reproduce

Run helm template -f values.yaml . from the root of the chart folder and notice repetitive labels in deployment resource.

Places where I found duplicates

  1. ClusterRole: release-name-dragonfly-operator-metrics-reader
  2. ClusterRole: release-name-dragonfly-operator-proxy-role
Abhra303 commented 2 months ago

Thanks for reporting! Opened a PR to fix :)

xlejakx commented 2 months ago

same problem, same error