grafana / helm-charts

Apache License 2.0
1.61k stars 2.24k forks source link

Changing namespace as its pod is storing in default namespace #3305

Closed arpitmishra-eaton closed 2 weeks ago

arpitmishra-eaton commented 2 weeks ago

Hi Team- we are unable to change the default namespace by defining the namespace in yaml files. (attached as txt extension) its always deploying in "default namespace" and throw the below issue.

Error 1: Error: Unable to continue with install: ServiceAccount "ldtest" in namespace "loadtestapi" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-namespace" must equal "loadtestsapi": current value is "default" helm.go:84: [debug] ServiceAccount "ldtest" in namespace "loadtestapi" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-namespace" must equal "loadtestsapi": current value is "default" Unable to continue with install

Could you please help me to change the namespace? _helper.txt chart.txt deploy.txt rbac.txt service.txt value.txt