feat(k8s-ycl): Release k8s-ycl-1.2.4

This commit is contained in:
Bernd Schorgers 2024-03-12 07:38:44 +01:00
parent 397ed28b60
commit d8c1ef2bbe
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
5 changed files with 132 additions and 66 deletions

View file

@ -2,7 +2,7 @@
apiVersion: v2
description: Kubernetes admission controller to remove CPU limits from Pods.
name: k8s-ycl
version: 1.2.3
version: 1.2.4
appVersion: v0.2.0
kubeVersion: ">=1.22.0-0"
sources:
@ -19,12 +19,12 @@ maintainers:
dependencies:
- name: common
repository: https://bjw-s.github.io/helm-charts
version: 2.6.0
version: 3.0.2
annotations:
artifacthub.io/changes: |-
- kind: changed
description: |
Restructure Helm helpers / includes
Update common library to latest version
artifacthub.io/links: |
- name: "source"
url: "https://github.com/bjw-s/k8s-ycl"

View file

@ -0,0 +1,69 @@
# k8s-ycl
![Version: 1.2.4](https://img.shields.io/badge/Version-1.2.4-informational?style=flat-square) ![AppVersion: v0.2.0](https://img.shields.io/badge/AppVersion-v0.2.0-informational?style=flat-square)
Kubernetes admission controller to remove CPU limits from Pods.
## Maintainers
| Name | Email | Url |
| ---- | ------ | --- |
| bjw-s | <me@bjw-s.dev> | |
## Source Code
* <https://github.com/bjw-s/k8s-ycl>
## Requirements
Kubernetes: `>=1.22.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://bjw-s.github.io/helm-charts | common | 3.0.2 |
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| controllers.main.containers.main.image.pullPolicy | string | `"Always"` | |
| controllers.main.containers.main.image.repository | string | `"ghcr.io/bjw-s/k8s-ycl"` | |
| controllers.main.containers.main.image.tag | string | `"{{ .Chart.AppVersion }}"` | |
| controllers.main.containers.main.probes.liveness.custom | bool | `true` | |
| controllers.main.containers.main.probes.liveness.enabled | bool | `true` | |
| controllers.main.containers.main.probes.liveness.spec.failureThreshold | int | `3` | |
| controllers.main.containers.main.probes.liveness.spec.httpGet.path | string | `"/healthz"` | |
| controllers.main.containers.main.probes.liveness.spec.httpGet.port | int | `8081` | |
| controllers.main.containers.main.probes.liveness.spec.initialDelaySeconds | int | `0` | |
| controllers.main.containers.main.probes.liveness.spec.periodSeconds | int | `10` | |
| controllers.main.containers.main.probes.liveness.spec.timeoutSeconds | int | `1` | |
| controllers.main.containers.main.probes.readiness.custom | bool | `true` | |
| controllers.main.containers.main.probes.readiness.enabled | bool | `true` | |
| controllers.main.containers.main.probes.readiness.spec.failureThreshold | int | `3` | |
| controllers.main.containers.main.probes.readiness.spec.httpGet.path | string | `"/readyz"` | |
| controllers.main.containers.main.probes.readiness.spec.httpGet.port | int | `8081` | |
| controllers.main.containers.main.probes.readiness.spec.initialDelaySeconds | int | `0` | |
| controllers.main.containers.main.probes.readiness.spec.periodSeconds | int | `10` | |
| controllers.main.containers.main.probes.readiness.spec.timeoutSeconds | int | `1` | |
| controllers.main.containers.main.probes.startup.custom | bool | `true` | |
| controllers.main.containers.main.probes.startup.enabled | bool | `true` | |
| controllers.main.containers.main.probes.startup.spec.failureThreshold | int | `30` | |
| controllers.main.containers.main.probes.startup.spec.httpGet.path | string | `"/healthz"` | |
| controllers.main.containers.main.probes.startup.spec.httpGet.port | int | `8081` | |
| controllers.main.containers.main.probes.startup.spec.periodSeconds | int | `10` | |
| controllers.main.strategy | string | `"RollingUpdate"` | |
| persistence.certs.globalMounts[0].path | string | `"/tls"` | |
| persistence.certs.name | string | `"{{ include \"k8s-ycl.servingCertificate\" . }}"` | |
| persistence.certs.type | string | `"secret"` | |
| service.main.controller | string | `"main"` | |
| service.main.nameOverride | string | `"webhook"` | |
| service.main.ports.http.port | int | `9443` | |
| service.main.ports.metrics.port | int | `8080` | |
| service.main.ports.probe.port | int | `8081` | |
| serviceAccount.create | bool | `true` | |
| webhook.ignoreOwnNamespace | bool | `true` | |
| webhook.ignoredNamespaces[0] | string | `"kube-system"` | |
| webhook.path | string | `"/mutate--v1-pod"` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.12.0](https://github.com/norwoodj/helm-docs/releases/v1.12.0)

View file

@ -1,64 +1,2 @@
{{- define "k8s-ycl.hardcodedValues" -}}
controllers:
main:
containers:
main:
probes:
liveness:
enabled: true
custom: true
spec:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness:
enabled: true
custom: true
spec:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
startup:
enabled: true
custom: true
spec:
httpGet:
path: /healthz
port: 8081
failureThreshold: 30
periodSeconds: 10
service:
main:
enabled: true
nameOverride: webhook
ports:
http:
enabled: true
port: 9443
metrics:
enabled: true
port: 8080
probe:
enabled: true
port: 8081
serviceAccount:
create: true
persistence:
certs:
enabled: true
type: secret
name: {{ include "k8s-ycl.servingCertificate" . }}
globalMounts:
- path: /tls
{{- end -}}

View file

@ -0,0 +1,3 @@
{
"$ref": "https://raw.githubusercontent.com/bjw-s/helm-charts/common-3.0.2/charts/library/common/values.schema.json"
}

View file

@ -1,13 +1,69 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/app-template-3.0.2/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
controllers:
main:
strategy: RollingUpdate
containers:
main:
strategy: RollingUpdate
image:
repository: ghcr.io/bjw-s/k8s-ycl
tag: "{{ .Chart.AppVersion }}"
pullPolicy: Always
probes:
liveness:
enabled: true
custom: true
spec:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness:
enabled: true
custom: true
spec:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
startup:
enabled: true
custom: true
spec:
httpGet:
path: /healthz
port: 8081
failureThreshold: 30
periodSeconds: 10
persistence:
certs:
type: secret
name: >-
{{ include "k8s-ycl.servingCertificate" . }}
globalMounts:
- path: /tls
service:
main:
controller: main
nameOverride: webhook
ports:
http:
port: 9443
metrics:
port: 8080
probe:
port: 8081
serviceAccount:
create: true
webhook:
path: /mutate--v1-pod