-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f419367
commit 1b4ec77
Showing
13 changed files
with
164 additions
and
165 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
charts/helm-release-cleaner/Chart.yaml → charts/release-cleaner/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
apiVersion: v2 | ||
description: A Helm chart for Helm Charts to clean up the releases installed in the declared namespaces | ||
name: helm-release-cleaner | ||
name: release-cleaner | ||
type: application | ||
maintainers: | ||
- name: amartingarcia | ||
email: [email protected] | ||
url: https://github.com/devops-ia | ||
version: 1.1.1 | ||
version: 1.0.0 | ||
appVersion: 1.0.0 | ||
home: https://github.com/devops-ia/helm-charts/tree/main/charts/helm-release-cleaner | ||
home: https://github.com/devops-ia/helm-charts/tree/main/charts/release-cleaner | ||
sources: | ||
- https://devops-ia.github.io/helm-charts | ||
keywords: | ||
- helm-release-cleaner | ||
- release-cleaner | ||
- helm | ||
- kubernetes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# release-cleaner | ||
|
||
A Helm chart for Helm Charts to clean up the releases installed in the declared namespaces | ||
|
||
## Maintainers | ||
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| amartingarcia | <[email protected]> | <https://github.com/devops-ia> | | ||
|
||
## Prerequisites | ||
|
||
* Helm 3+ | ||
|
||
## Add repository | ||
|
||
```console | ||
helm repo add devops-ia https://devops-ia.github.io/helm-charts | ||
helm repo update | ||
``` | ||
|
||
## Install Helm chart | ||
|
||
```console | ||
helm install [RELEASE_NAME] devops-ia/release-cleaner | ||
``` | ||
|
||
This install all the Kubernetes components associated with the chart and creates the release. | ||
|
||
_See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation._ | ||
|
||
## Uninstall Helm chart | ||
|
||
```console | ||
# Helm | ||
helm uninstall [RELEASE_NAME] | ||
``` | ||
|
||
This removes all the Kubernetes components associated with the chart and deletes the release. | ||
|
||
_See [helm uninstall](https://helm.sh/docs/helm/helm_uninstall/) for command documentation._ | ||
|
||
## Configuration | ||
|
||
See [Customizing the chart before installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing). To see all configurable options with comments: | ||
|
||
```console | ||
helm show values devops-ia/release-cleaner | ||
``` | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| affinity | object | `{}` | Assign custom affinity rules | | ||
| fullnameOverride | string | `""` | Provide a name to substitute for the full names of resources | | ||
| image | object | `{"pullPolicy":"IfNotPresent","repository":"devopsiaci/release-cleaner","tag":"latest"}` | Image of replika deployment | | ||
| imagePullSecrets | list | `[]` | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images | | ||
| nameOverride | string | `""` | Provide a name in place of replika | | ||
| namespacesClean | string | `"default"` | Text string with the namespace names where the cleaner will work If none is specified, by default it will be executed in the default namespace Example: "default, monitoring" | | ||
| nodeSelector | object | `{}` | Define which Nodes the Pods are scheduled on | | ||
| releasesExclude | object | `{"enabled":false,"releases":["my-release"]}` | Exclusion of releases List of releases to be excluded by the cleaner | | ||
| replicaCount | int | `1` | Provide desired replicas | | ||
| resources | object | `{}` | Resource limits & requests | | ||
| schedule | string | `"5 * * * *"` | Schedule job | | ||
| tolerations | list | `[]` | Pods tolerations | |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
labels: | ||
{{- include "release-cleaner.labels" . | nindent 4 }} | ||
name: {{ include "release-cleaner.name" . }} | ||
namespace: {{ .Values.namespace }} |
Oops, something went wrong.