[etcd] Update etcd application (fix resources and headless services)

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
This commit is contained in:
Andrei Kvapil
2025-06-27 13:53:47 +02:00
parent 792f6b4af8
commit a5ff9bf65b
5 changed files with 12 additions and 13 deletions

View File

@@ -3,4 +3,4 @@ name: etcd
description: Storage for Kubernetes clusters
icon: /logos/etcd.svg
type: application
version: 2.8.0
version: 2.9.0

View File

@@ -6,9 +6,7 @@ metadata:
spec:
driver: etcd
endpoints:
{{- range $i := until (int $.Values.replicas) }}
- etcd-{{ $i }}.etcd-headless.{{ $.Release.Namespace }}.svc:2379
{{- end }}
- etcd.{{ $.Release.Namespace }}.svc:2379
tlsConfig:
certificateAuthority:
certificate:
@@ -47,4 +45,4 @@ metadata:
name: etcd-client-tls
annotations:
helm.sh/hook: pre-install
helm.sh/resource-policy: keep
helm.sh/resource-policy: keep

View File

@@ -47,7 +47,7 @@ spec:
containerPort: 2381
protocol: TCP
{{- with .Values.resources }}
resources: {{- toYaml . | nindent 10 }}
resources: {{- include "cozy-lib.resources.sanitize" (list . $) | nindent 10 }}
{{- end }}
topologySpreadConstraints:
- maxSkew: 1
@@ -152,6 +152,8 @@ spec:
- "signing"
- "key encipherment"
dnsNames:
- etcd
- etcd.{{ $.Release.Namespace }}.svc
{{- range $i := until (int $.Values.replicas) }}
- etcd-{{ $i }}
- etcd-{{ $i }}.etcd-headless
@@ -186,6 +188,8 @@ spec:
- "signing"
- "key encipherment"
dnsNames:
- etcd
- etcd.{{ $.Release.Namespace }}.svc
{{- range $i := until (int $.Values.replicas) }}
- etcd-{{ $i }}
- etcd-{{ $i }}.etcd-headless

View File

@@ -10,9 +10,5 @@ replicas: 3
## @param resources Resources
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 100m
memory: 512Mi
cpu: 4
memory: 1Gi

View File

@@ -12,7 +12,8 @@ etcd 2.5.0 24fa7222
etcd 2.6.0 8c460528
etcd 2.6.1 45a7416c
etcd 2.7.0 632224a3
etcd 2.8.0 HEAD
etcd 2.8.0 4369b031
etcd 2.9.0 HEAD
info 1.0.0 93bdf411
info 1.0.1 632224a3
info 1.1.0 HEAD