mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 00:27:04 +02:00
feat(k8s-ycl)!: Update common library to v2.0.3 (#190)
Co-authored-by: bjw-s-bot <87358111+bjw-s-bot[bot]@users.noreply.github.com> Co-authored-by: Bernd Schorgers <me@bjw-s.dev>
This commit is contained in:
parent
4fcb160355
commit
b70f74fb14
3 changed files with 53 additions and 45 deletions
|
@ -2,7 +2,7 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
description: Kubernetes admission controller to remove CPU limits from Pods.
|
description: Kubernetes admission controller to remove CPU limits from Pods.
|
||||||
name: k8s-ycl
|
name: k8s-ycl
|
||||||
version: 0.2.1
|
version: 1.0.0
|
||||||
appVersion: v0.1.0
|
appVersion: v0.1.0
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
sources:
|
sources:
|
||||||
|
@ -19,12 +19,12 @@ maintainers:
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://bjw-s.github.io/helm-charts
|
repository: https://bjw-s.github.io/helm-charts
|
||||||
version: 1.5.1
|
version: 2.0.3
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |-
|
artifacthub.io/changes: |-
|
||||||
- kind: fixed
|
- kind: changed
|
||||||
description: |
|
description: |
|
||||||
Set default Deployment update strategy to RollingUpdate
|
Upgrade common library to v2
|
||||||
artifacthub.io/links: |
|
artifacthub.io/links: |
|
||||||
- name: "source"
|
- name: "source"
|
||||||
url: "https://github.com/bjw-s/k8s-ycl"
|
url: "https://github.com/bjw-s/k8s-ycl"
|
||||||
|
|
|
@ -4,6 +4,45 @@
|
||||||
|
|
||||||
{{/* Append the hardcoded settings */}}
|
{{/* Append the hardcoded settings */}}
|
||||||
{{- define "k8s-ycl.hardcodedValues" -}}
|
{{- define "k8s-ycl.hardcodedValues" -}}
|
||||||
|
controllers:
|
||||||
|
main:
|
||||||
|
containers:
|
||||||
|
main:
|
||||||
|
image:
|
||||||
|
tag: {{ default .Chart.AppVersion .Values.controllers.main.containers.main.image.tag }}
|
||||||
|
probes:
|
||||||
|
liveness:
|
||||||
|
enabled: true
|
||||||
|
custom: true
|
||||||
|
spec:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: probe
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 1
|
||||||
|
failureThreshold: 3
|
||||||
|
readiness:
|
||||||
|
enabled: true
|
||||||
|
custom: true
|
||||||
|
spec:
|
||||||
|
httpGet:
|
||||||
|
path: /readyz
|
||||||
|
port: probe
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 1
|
||||||
|
failureThreshold: 3
|
||||||
|
startup:
|
||||||
|
enabled: true
|
||||||
|
custom: true
|
||||||
|
spec:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: probe
|
||||||
|
failureThreshold: 30
|
||||||
|
periodSeconds: 10
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -27,43 +66,12 @@ persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
type: secret
|
type: secret
|
||||||
name: {{ include "k8s-ycl.servingCertificate" . }}
|
name: {{ include "k8s-ycl.servingCertificate" . }}
|
||||||
mountPath: /tls
|
globalMounts:
|
||||||
|
- path: /tls
|
||||||
probes:
|
|
||||||
liveness:
|
|
||||||
enabled: true
|
|
||||||
custom: true
|
|
||||||
spec:
|
|
||||||
httpGet:
|
|
||||||
path: /healthz
|
|
||||||
port: probe
|
|
||||||
initialDelaySeconds: 0
|
|
||||||
periodSeconds: 10
|
|
||||||
timeoutSeconds: 1
|
|
||||||
failureThreshold: 3
|
|
||||||
readiness:
|
|
||||||
enabled: true
|
|
||||||
custom: true
|
|
||||||
spec:
|
|
||||||
httpGet:
|
|
||||||
path: /readyz
|
|
||||||
port: probe
|
|
||||||
initialDelaySeconds: 0
|
|
||||||
periodSeconds: 10
|
|
||||||
timeoutSeconds: 1
|
|
||||||
failureThreshold: 3
|
|
||||||
startup:
|
|
||||||
enabled: true
|
|
||||||
custom: true
|
|
||||||
spec:
|
|
||||||
httpGet:
|
|
||||||
path: /healthz
|
|
||||||
port: probe
|
|
||||||
failureThreshold: 30
|
|
||||||
periodSeconds: 10
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/* Render the templates */}}
|
{{/* Render the templates */}}
|
||||||
{{- $ctx := deepCopy . -}}
|
{{- $ctx := deepCopy . -}}
|
||||||
{{- $_ := include "k8s-ycl.hardcodedValues" . | fromYaml | merge $ctx.Values -}}
|
{{- $_ := include "k8s-ycl.hardcodedValues" . | fromYaml | merge $ctx.Values -}}
|
||||||
|
|
||||||
{{- include "bjw-s.common.loader.all" $ctx }}
|
{{- include "bjw-s.common.loader.all" $ctx }}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
---
|
---
|
||||||
controller:
|
controllers:
|
||||||
replicas: 1
|
main:
|
||||||
strategy: RollingUpdate
|
containers:
|
||||||
|
main:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/bjw-s/k8s-ycl
|
repository: ghcr.io/bjw-s/k8s-ycl
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
||||||
webhook:
|
webhook:
|
||||||
path: /mutate--v1-pod
|
path: /mutate--v1-pod
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue