Skip to content

Commit

Permalink
Update Helm release etcd to v10
Browse files Browse the repository at this point in the history
Signed-off-by: Renovate Bot <[email protected]>
  • Loading branch information
vshn-renovate committed Sep 12, 2024
1 parent 6c5d105 commit 8b5e03e
Show file tree
Hide file tree
Showing 7 changed files with 90 additions and 13 deletions.
2 changes: 1 addition & 1 deletion class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ parameters:
charts:
etcd:
source: https://charts.bitnami.com/bitnami
version: "9.1.0"
version: "10.2.16"

helm_release_name: ${_instance}
helm_values:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
labels:
app.kubernetes.io/component: etcd
app.kubernetes.io/instance: etcd
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: etcd
app.kubernetes.io/version: 3.5.16
helm.sh/chart: etcd-10.2.16
name: etcd
namespace: syn-etcd
spec:
egress:
- {}
ingress:
- ports:
- port: 2379
- port: 2380
podSelector:
matchLabels:
app.kubernetes.io/component: etcd
app.kubernetes.io/instance: etcd
app.kubernetes.io/name: etcd
policyTypes:
- Ingress
- Egress
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
labels:
app.kubernetes.io/component: etcd
app.kubernetes.io/instance: etcd
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: etcd
helm.sh/chart: etcd-9.1.0
app.kubernetes.io/version: 3.5.16
helm.sh/chart: etcd-10.2.16
name: etcd
namespace: syn-etcd
spec:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v1
automountServiceAccountToken: false
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/instance: etcd
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: etcd
app.kubernetes.io/version: 3.5.16
helm.sh/chart: etcd-10.2.16
name: etcd
namespace: syn-etcd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ metadata:
app.kubernetes.io/instance: etcd
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: etcd
helm.sh/chart: etcd-9.1.0
app.kubernetes.io/version: 3.5.16
helm.sh/chart: etcd-10.2.16
name: etcd
namespace: syn-etcd
spec:
Expand All @@ -26,7 +27,8 @@ spec:
app.kubernetes.io/instance: etcd
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: etcd
helm.sh/chart: etcd-9.1.0
app.kubernetes.io/version: 3.5.16
helm.sh/chart: etcd-10.2.16
spec:
affinity:
nodeAffinity: null
Expand All @@ -36,10 +38,12 @@ spec:
- podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/component: etcd
app.kubernetes.io/instance: etcd
app.kubernetes.io/name: etcd
topologyKey: kubernetes.io/hostname
weight: 1
automountServiceAccountToken: false
containers:
- env:
- name: BITNAMI_DEBUG
Expand Down Expand Up @@ -99,10 +103,11 @@ spec:
image: docker.io/bitnami/etcd:3.5.16-debian-12-r0
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
command:
- /opt/bitnami/scripts/etcd/healthcheck.sh
failureThreshold: 5
httpGet:
path: /livez
port: 2379
scheme: HTTPS
initialDelaySeconds: 60
periodSeconds: 30
successThreshold: 1
Expand All @@ -125,13 +130,34 @@ spec:
successThreshold: 1
timeoutSeconds: 5
resources:
limits: {}
requests: {}
limits:
cpu: 375m
ephemeral-storage: 2Gi
memory: 384Mi
requests:
cpu: 250m
ephemeral-storage: 50Mi
memory: 256Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
readOnlyRootFilesystem: true
runAsGroup: 1001
runAsNonRoot: true
runAsUser: 1001
seLinuxOptions: {}
seccompProfile:
type: RuntimeDefault
volumeMounts:
- mountPath: /opt/bitnami/etcd/conf/
name: empty-dir
subPath: app-conf-dir
- mountPath: /tmp
name: empty-dir
subPath: tmp-dir
- mountPath: /bitnami/etcd
name: data
- mountPath: /opt/bitnami/etcd/certs/token/
Expand All @@ -145,8 +171,13 @@ spec:
readOnly: true
securityContext:
fsGroup: 1001
serviceAccountName: default
fsGroupChangePolicy: Always
supplementalGroups: []
sysctls: []
serviceAccountName: etcd
volumes:
- emptyDir: {}
name: empty-dir
- name: etcd-jwt-token
secret:
defaultMode: 256
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ metadata:
annotations:
service.alpha.kubernetes.io/tolerate-unready-endpoints: 'true'
labels:
app.kubernetes.io/component: etcd
app.kubernetes.io/instance: etcd
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: etcd
helm.sh/chart: etcd-9.1.0
app.kubernetes.io/version: 3.5.16
helm.sh/chart: etcd-10.2.16
name: etcd-headless
namespace: syn-etcd
spec:
Expand All @@ -21,6 +23,7 @@ spec:
targetPort: peer
publishNotReadyAddresses: true
selector:
app.kubernetes.io/component: etcd
app.kubernetes.io/instance: etcd
app.kubernetes.io/name: etcd
type: ClusterIP
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
apiVersion: v1
kind: Service
metadata:
annotations: null
labels:
app.kubernetes.io/component: etcd
app.kubernetes.io/instance: etcd
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: etcd
helm.sh/chart: etcd-9.1.0
app.kubernetes.io/version: 3.5.16
helm.sh/chart: etcd-10.2.16
name: etcd
namespace: syn-etcd
spec:
Expand All @@ -20,6 +21,7 @@ spec:
port: 2380
targetPort: peer
selector:
app.kubernetes.io/component: etcd
app.kubernetes.io/instance: etcd
app.kubernetes.io/name: etcd
sessionAffinity: None
Expand Down

0 comments on commit 8b5e03e

Please sign in to comment.