ci: more memcached mem; set securityContext (#7356)
This commit is contained in:
parent
9379bbad7d
commit
2c9c61d878
|
@ -31,6 +31,7 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml $podValues.securityContext | nindent 12 }}
|
{{- toYaml $podValues.securityContext | nindent 12 }}
|
||||||
image: "{{ $podValues.image.repository }}:{{ default "latest" $podValues.image.tag }}"
|
image: "{{ $podValues.image.repository }}:{{ default "latest" $podValues.image.tag }}"
|
||||||
|
args: ["-m", "$(MEMCACHED_MEM_LIMIT)"]
|
||||||
imagePullPolicy: {{ default "IfNotPresent" $podValues.image.imagePullPolicy }}
|
imagePullPolicy: {{ default "IfNotPresent" $podValues.image.imagePullPolicy }}
|
||||||
env:
|
env:
|
||||||
{{- if .Values.env }}
|
{{- if .Values.env }}
|
||||||
|
|
|
@ -515,9 +515,6 @@ memcached:
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
|
|
||||||
podSecurityContext: {}
|
|
||||||
# fsGroup: 2000
|
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
|
@ -532,13 +529,17 @@ memcached:
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
# memory: 128Mi
|
# memory: 128Mi
|
||||||
|
|
||||||
securityContext: {}
|
podSecurityContext:
|
||||||
# capabilities:
|
runAsNonRoot: true
|
||||||
# drop:
|
runAsUser: 11211
|
||||||
# - ALL
|
runAsGroup: 11211
|
||||||
# readOnlyRootFilesystem: true
|
|
||||||
# runAsNonRoot: true
|
securityContext:
|
||||||
# runAsUser: 1000
|
allowPrivilegeEscalation: false
|
||||||
|
capabilities:
|
||||||
|
drop:
|
||||||
|
- ALL
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
@ -674,3 +675,5 @@ env:
|
||||||
# Scout configuration
|
# Scout configuration
|
||||||
DATATRACKER_SCOUT_KEY: "this-is-the-scout-key"
|
DATATRACKER_SCOUT_KEY: "this-is-the-scout-key"
|
||||||
DATATRACKER_SCOUT_NAME: "StagingDatatracker"
|
DATATRACKER_SCOUT_NAME: "StagingDatatracker"
|
||||||
|
|
||||||
|
MEMCACHED_MEM_LIMIT: "1024"
|
||||||
|
|
Loading…
Reference in a new issue