gianlucam76 / k8s-cleaner

Cleaner is a Kubernetes controller that identifies unused or unhealthy resources, helping you maintain a streamlined and efficient Kubernetes cluster. It provides flexible scheduling, label filtering, Lua-based selection criteria, resource removal or update and notifications via Slack, Webex and Discord. it can also automate clusters operations.
https://projectsveltos.github.io/sveltos/
Apache License 2.0
313 stars 18 forks source link

Create a Helm chart #85

Closed hamza-m-masood closed 5 months ago

hamza-m-masood commented 5 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Please create a helm chart for this operator so it is easier for users to install and maintain.

gianlucam76 commented 5 months ago

There is already an Helm chart (though probably we don't have in the README)

@oliverbaehler added it.

https://github.com/gianlucam76/k8s-cleaner/tree/main/charts/k8s-cleaner

hamza-m-masood commented 5 months ago

Ah thanks! @gianlucam76 Is the chart currently hosted on any chart repository?

gianlucam76 commented 5 months ago

I will let @oliverbaehler answer that (I don't want to risk giving an incorrect answer)

hamza-m-masood commented 5 months ago

@oliverbaehler I see from the log output of the github actions that the helm repo is this: oci://ghcr.io/gianlucam76/charts/k8s-cleaner

But I am not able to run helm repo add using this link. Is there a link I could use helm repo add or helm pull with? I need such a link so I can integrate this operator in our CI pipeline. Thanks.

oliverbaehler commented 5 months ago
helm install k8s-cleaner oci://ghcr.io/gianlucam76/charts/k8s-cleaner --version 0.4.0   -n k8s-cleaner --create-namespace

@gianlucam76 btw on the repo you can enable packages on the repo. Then the chart package it will be displayed on the right site of the repository