mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
[etcd] Update etcd application (fix resources and headless services)
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -10,9 +10,5 @@ replicas: 3
|
||||
|
||||
## @param resources Resources
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 512Mi
|
||||
cpu: 4
|
||||
memory: 1Gi
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user