Closed danfinn closed 10 months ago
--namespace
should not be set and cluster-wide RBAC is deployedHere is what got created by the helm chart:
kubectl get sa kube-cleanup-operator -o yaml
apiVersion: v1
kind: ServiceAccount
metadata:
annotations:
meta.helm.sh/release-name: kube-cleanup-operator
meta.helm.sh/release-namespace: kube-cleanup
creationTimestamp: "2023-09-29T17:53:24Z"
labels:
app.kubernetes.io/instance: kube-cleanup-operator
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: kube-cleanup-operator
helm.sh/chart: kube-cleanup-operator-1.0.4
name: kube-cleanup-operator
namespace: kube-cleanup
resourceVersion: "333606738"
uid: d9e9abe4-8b74-493c-a0e4-dce4616b3cc0
That seems to be it. I don't see a clusterrole or clusterrolebinding. Is something needed to tell the helm chart to create those?
how do you install the app, which chart do you use with which values?
closing this, we decided not to use it.
Just recently installed your helm chart, pretty much as is but had to add a nodeSelector because we also have windows nodes. Other than that I didn't change any values. I'm getting the following errors:
Couple of questions:
1) What is missing that's not allowing it to list pods? 2) Why is the default to run in legacy mode if it's deprecated? 3) How do I tell it to monitor all namespaces, it's not clear from the docs?