ci: more memcached mem; set securityContext (#7356)

This commit is contained in:
Jennifer Richards 2024-04-23 22:34:24 -03:00 committed by Nicolas Giard
parent 9379bbad7d
commit 2c9c61d878
2 changed files with 14 additions and 10 deletions

View file

@ -31,6 +31,7 @@ spec:
securityContext:
{{- toYaml $podValues.securityContext | nindent 12 }}
image: "{{ $podValues.image.repository }}:{{ default "latest" $podValues.image.tag }}"
args: ["-m", "$(MEMCACHED_MEM_LIMIT)"]
imagePullPolicy: {{ default "IfNotPresent" $podValues.image.imagePullPolicy }}
env:
{{- if .Values.env }}

View file

@ -515,9 +515,6 @@ memcached:
podAnnotations: {}
podLabels: {}
podSecurityContext: {}
# fsGroup: 2000
replicaCount: 1
resources: {}
@ -532,13 +529,17 @@ memcached:
# cpu: 100m
# memory: 128Mi
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
podSecurityContext:
runAsNonRoot: true
runAsUser: 11211
runAsGroup: 11211
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
service:
type: ClusterIP
@ -674,3 +675,5 @@ env:
# Scout configuration
DATATRACKER_SCOUT_KEY: "this-is-the-scout-key"
DATATRACKER_SCOUT_NAME: "StagingDatatracker"
MEMCACHED_MEM_LIMIT: "1024"