Skip to content

Commit

Permalink
Merge pull request #72 from gianlucam76/image-tag
Browse files Browse the repository at this point in the history
Prepare for release v0.4.0
  • Loading branch information
gianlucam76 authored Jun 4, 2024
2 parents 20eb873 + fee69f6 commit c0f0db6
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 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 ?= amd64
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.4.0

.PHONY: all
all: build
Expand Down
4 changes: 2 additions & 2 deletions charts/k8s-cleaner/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: k8s-cleaner
description: "Cleaner identifies, removes, or updates stale/orphaned or unhealthy resources to maintain a clean and efficient Kubernetes cluster"
type: application
# Note: The version is overwritten by the release workflow.
version: 1.0.0
version: 1.4.0
# Note: The version is overwritten by the release workflow.
appVersion: 1.0.0
appVersion: 0.4.0
home: https://github.com/gianlucam76/k8s-cleaner
icon: https://raw.githubusercontent.com/gianlucam76/k8s-cleaner/main/assets/logo.png
keywords:
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 | `"main"` | ControllerImage Tag |
| controller.image.tag | string | `"v0.4.0"` | ControllerImage Tag |
| controller.livenessProbe | object | `{"enabled":true,"httpGet":{"path":"/healthz","port":8081},"initialDelaySeconds":15,"periodSeconds":20}` | Controller LivenessProbe |
| controller.readinessProbe | object | `{"enabled":true,"httpGet":{"path":"/readyz","port":8081},"initialDelaySeconds":5,"periodSeconds":10}` | Controller ReadinessProbe |
| controller.resources | object | `{"limits":{"cpu":"500m","memory":"128Mi"},"requests":{"cpu":"10m","memory":"64Mi"}}` | Controller Resources |
Expand Down
3 changes: 3 additions & 0 deletions charts/k8s-cleaner/crd/apps.projectsveltos.io_cleaners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ spec:
- type
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
resourcePolicySet:
description: ResourcePolicySet identifies a group of resources
properties:
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: "main"
tag: "v0.4.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: projectsveltos/k8s-cleaner:main
- image: projectsveltos/k8s-cleaner:v0.4.0
name: controller
2 changes: 1 addition & 1 deletion manifest/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ spec:
- --metrics-bind-address=127.0.0.1:8080
command:
- /manager
image: projectsveltos/k8s-cleaner:main
image: projectsveltos/k8s-cleaner:v0.4.0
livenessProbe:
httpGet:
path: /healthz
Expand Down

0 comments on commit c0f0db6

Please sign in to comment.