mirror of
https://github.com/open-webui/helm-charts
synced 2025-06-26 18:16:14 +00:00
feat(websocket): fix labels and port and remove security contexts
This commit is contained in:
parent
added76a4c
commit
9b13a7e2af
@ -16,25 +16,27 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "websocket.redis.selectorLabels" . | nindent 4 }}
|
{{- include "websocket.redis.selectorLabels" . | nindent 6 }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
{{- include "websocket.redis.labels" . | nindent 4 }}
|
{{- include "websocket.redis.labels" . | nindent 8 }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.websocket.redis.name }}
|
- name: {{ .Values.websocket.redis.name }}
|
||||||
image: "{{ .Values.websocket.redis.image.repository }}:{{ .Values.websocket.redis.image.tag }}"
|
image: "{{ .Values.websocket.redis.image.repository }}:{{ .Values.websocket.redis.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.websocket.redis.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.websocket.redis.image.pullPolicy }}
|
||||||
|
{{- with .Values.websocket.redis.command }}
|
||||||
|
command:
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.websocket.redis.args }}
|
||||||
|
args:
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.websocket.redis.port }}
|
containerPort: {{ .Values.websocket.redis.service.containerPort }}
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
capabilities:
|
|
||||||
drop:
|
|
||||||
- ALL
|
|
||||||
readOnlyRootFilesystem: true
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
@ -54,6 +54,10 @@ websocket:
|
|||||||
repository: redis
|
repository: redis
|
||||||
tag: 7.4.2-alpine3.21
|
tag: 7.4.2-alpine3.21
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
# -- Redis command
|
||||||
|
command: []
|
||||||
|
# -- Redis arguments
|
||||||
|
args: []
|
||||||
# -- Redis service
|
# -- Redis service
|
||||||
service:
|
service:
|
||||||
# -- Redis container/target port
|
# -- Redis container/target port
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user