fix: vendor observability charts
Deploy Cluster / Terraform (push) Waiting to run
Deploy Cluster / Ansible (push) Blocked by required conditions

This commit is contained in:
2026-05-04 10:49:46 +00:00
parent f5473a9bec
commit a04b8ad865
325 changed files with 46640 additions and 40 deletions
@@ -0,0 +1,33 @@
{{/*
memcached StatefulSet
Params:
ctx = . context
memcacheConfig = cache config
valuesSection = name of the section in values.yaml
component = name of the component
valuesSection and component are specified separately because helm prefers camelcase for naming convetion and k8s components are named with snake case.
*/}}
{{- define "loki.memcached.pdb" -}}
{{ with $.memcacheConfig }}
{{- if and .enabled -}}
{{- if gt (int .replicas) 1 }}
apiVersion: {{ include "loki.pdb.apiVersion" $.ctx }}
kind: PodDisruptionBudget
metadata:
name: {{ include "loki.resourceName" (dict "ctx" $.ctx "component" $.component "suffix" .suffix) }}
namespace: {{ include "loki.namespace" $.ctx }}
labels:
{{- include "loki.selectorLabels" $.ctx | nindent 4 }}
app.kubernetes.io/component: "memcached-{{ $.component }}{{ include "loki.memcached.suffix" .suffix }}"
spec:
selector:
matchLabels:
{{- include "loki.selectorLabels" $.ctx | nindent 6 }}
app.kubernetes.io/component: "memcached-{{ $.component }}{{ include "loki.memcached.suffix" .suffix }}"
{{- with .maxUnavailable }}
maxUnavailable: {{ . }}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}