You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "pod-monitoring-role" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata;
Describe the bug
There are two issues as below:
We are currently creating "pod-monitoring-role" ClusterRole to be able to run helm chart test container with necessary access. However, we don't need to create the ClusterRole every time we deploy the chart.
Therefore, "pod-monitoring-role" ClusterRole needs to be deployed only once as shared resource. Ideally, we should also be able to remove after helm chart test is executed.
Besides the shared GatewayClass also exhibit the same issue and therefore needs to be installed as shared resource.
Describe the expected behavior
A user should be able to deploy the helm chart to multiple namespaces
Whole JUnit/CLI Logs
helm install fst-namespace-test2 -n fst-lenin2 hedera-network
Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: ClusterRole "pod-monitoring-role" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "fst-namespace-test2": current value is "fst-namespace-test"; annotation validation error: key "meta.helm.sh/release-namespace" must equal "fst-lenin2": current value is "fst-lenin"
Additional Context
No response
The content you are editing has changed. Please copy your edits and refresh the page.
The text was updated successfully, but these errors were encountered:
leninmehedy
added
Bug
A error that causes the feature to behave differently than what was expected based on design docs
Pending Triage
New issue that needs to be triaged by the team
labels
Sep 18, 2023
leninmehedy
changed the title
Charts[Tester] Cannot install chart because of ClusterRole pod-monitor-role
Charts[Tester] Cannot Install Chart In A New Namespace Because of Previous ClusterRole pod-monitor-role
Sep 19, 2023
leninmehedy
changed the title
Charts[Tester] Cannot Install Chart In A New Namespace Because of Previous ClusterRole pod-monitor-role
Charts[Tester] Unable to install chart in a new namespace
Sep 19, 2023
leninmehedy
changed the title
Charts[Tester] Unable to install chart in a new namespace
Charts[Gateway] Unable to install chart in a new namespace
Sep 19, 2023
Bill of Materials or CLI Version
No response
Execution Environment
JUnit Extensions
Slf4j Logging Implementation
None
To Reproduce
It errors with message:
Describe the bug
There are two issues as below:
Therefore, "pod-monitoring-role" ClusterRole needs to be deployed only once as shared resource. Ideally, we should also be able to remove after helm chart test is executed.
GatewayClass
also exhibit the same issue and therefore needs to be installed as shared resource.Describe the expected behavior
A user should be able to deploy the helm chart to multiple namespaces
Whole JUnit/CLI Logs
Additional Context
No response
Tasks
The text was updated successfully, but these errors were encountered: