Skip to content

Commit

Permalink
Merge pull request #132 from gianlucam76/v0.9.0
Browse files Browse the repository at this point in the history
Release v0.9.0
  • Loading branch information
gianlucam76 authored Sep 30, 2024
2 parents 8898a62 + e044af4 commit c1bf056
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ARCH ?= $(shell go env GOARCH)
OS ?= $(shell uname -s | tr A-Z a-z)
K8S_LATEST_VER ?= $(shell curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)
export CONTROLLER_IMG ?= $(REGISTRY)/$(IMAGE_NAME)
TAG ?= main
TAG ?= v0.9.0

.PHONY: all
all: build
Expand Down
2 changes: 1 addition & 1 deletion charts/k8s-cleaner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Major Changes to functions are documented with the version affected. **Before up
| controller.image.pullPolicy | string | `"IfNotPresent"` | Controller Image pull policy |
| controller.image.registry | string | `"docker.io"` | Controller Image Registry |
| controller.image.repository | string | `"projectsveltos/k8s-cleaner"` | Controller Image Repository |
| controller.image.tag | string | `"v0.7.0"` | ControllerImage Tag |
| controller.image.tag | string | `"v0.9.0"` | ControllerImage Tag |
| controller.livenessProbe | object | `{"enabled":true,"httpGet":{"path":"/healthz","port":"healthz","scheme":"HTTP"},"initialDelaySeconds":15,"periodSeconds":20}` | Controller LivenessProbe |
| controller.ports[0].containerPort | int | `8443` | |
| controller.ports[0].name | string | `"metrics"` | |
Expand Down
31 changes: 31 additions & 0 deletions charts/k8s-cleaner/crd/apps.projectsveltos.io_cleaners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,31 @@ spec:
- Transform
- Scan
type: string
deleteOptions:
description: |-
DeleteOption is some configuration that modifies options for a delete request.
This will be used only when action is delete
properties:
gracePeriodSeconds:
description: |-
GracePeriodSeconds is the duration in seconds before the object should be
deleted. Value must be non-negative integer. The value zero indicates
delete immediately. If this value is nil, the default grace period for the
specified type will be used.
format: int64
type: integer
propagationPolicy:
description: |-
PropagationPolicy determined whether and how garbage collection will be
performed. Either this field or OrphanDependents may be set, but not both.
The default policy is decided by the existing finalizer set in the
metadata.finalizers and the resource-specific default policy.
Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
allow the garbage collector to delete the dependents in the background;
'Foreground' - a cascading policy that deletes all dependents in the
foreground.
type: string
type: object
notifications:
description: Notification is a list of source of events to evaluate.
items:
Expand Down Expand Up @@ -150,6 +175,12 @@ spec:
Must return struct with field "matching" representing whether
object is a match and an optional "message" field.
type: string
excludeDeleted:
default: true
description: |-
ExcludeDeleted if set (default value), exclude resources marked as
deleted. If set to false, k8s-cleaner will consider also resources marked as deleted.
type: boolean
group:
description: Group of the resource deployed in the Cluster.
type: string
Expand Down
2 changes: 1 addition & 1 deletion charts/k8s-cleaner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ controller:
# -- Controller Image Repository
repository: projectsveltos/k8s-cleaner
# -- ControllerImage Tag
tag: "v0.7.0"
tag: "v0.9.0"
# -- Controller Image pull policy
pullPolicy: IfNotPresent
# -- Controller ARguments
Expand Down
2 changes: 1 addition & 1 deletion config/default/manager_image_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ spec:
spec:
containers:
# Change the value of image field below to your controller image URL
- image: docker.io/projectsveltos/k8s-cleaner:main
- image: docker.io/projectsveltos/k8s-cleaner:v0.9.0
name: controller
2 changes: 1 addition & 1 deletion manifest/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ spec:
- --diagnostics-address=:8443
command:
- /manager
image: docker.io/projectsveltos/k8s-cleaner:main
image: docker.io/projectsveltos/k8s-cleaner:v0.9.0
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down

0 comments on commit c1bf056

Please sign in to comment.