# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS" # SPDX-License-Identifier: Apache-2.0 --- architecture: {{ if gt .Values.replicas.memcached 1 }}"high-availability"{{ else }}"standalone"{{ end }} containerSecurityContext: allowPrivilegeEscalation: false capabilities: drop: - "ALL" enabled: true privileged: false runAsUser: 1001 runAsGroup: 1001 runAsNonRoot: true seccompProfile: type: "RuntimeDefault" readOnlyRootFilesystem: true seLinuxOptions: {{ .Values.seLinuxOptions.memcached | toYaml | nindent 4 }} global: imagePullSecrets: {{ .Values.global.imagePullSecrets | toYaml | nindent 4 }} image: registry: {{ .Values.global.imageRegistry | default .Values.images.memcached.registry | quote }} repository: {{ .Values.images.memcached.repository | quote }} tag: {{ .Values.images.memcached.tag | quote }} pullPolicy: {{ .Values.global.imagePullPolicy | quote }} replicaCount: {{ .Values.replicas.memcached }} resources: {{ .Values.resources.memcached | toYaml | nindent 2 }} serviceAccount: create: true ...