Skip to content

Commit

Permalink
test: Clean up hubble-ui clusterrole
Browse files Browse the repository at this point in the history
Tests can fail with following error if previously
installed cilium resources exist -

`Error: rendered manifests contain a resource that already exists.
Unable to continue with install: ClusterRole
"hubble-ui" in namespace "" exists and cannot be imported into the
current release: invalid ownership metadata;
`

Signed-off-by: Aditi Ghag <aditi@cilium.io>
  • Loading branch information
aditighag authored and kkourt committed Oct 26, 2021
1 parent 7db6998 commit 3e3df33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers/kubectl.go
Original file line number Diff line number Diff line change
Expand Up @@ -4404,7 +4404,7 @@ func (kub *Kubectl) CleanupCiliumComponents() {
"daemonset": "cilium cilium-node-init",
"deployment": "cilium-operator hubble-relay",
"clusterrolebinding": "cilium cilium-operator hubble-relay",
"clusterrole": "cilium cilium-operator hubble-relay",
"clusterrole": "cilium cilium-operator hubble-relay hubble-ui",
"serviceaccount": "cilium cilium-operator hubble-relay",
"service": "cilium-agent hubble-metrics hubble-relay",
"secret": "hubble-relay-client-certs hubble-server-certs hubble-ca-secret",
Expand Down

0 comments on commit 3e3df33

Please sign in to comment.