Files
helm-charts/cyberchef/templates/cyberchef.deployment.yaml
T
jklein 45a764cb46 Update cyberchef application version to 11.4.0
Major jump 10.22.1 -> 11.4.0: the upstream image switched to
nginxinc/nginx-unprivileged (serving port 80 -> 8080, pid/temp dirs
under /tmp). Adjust container port, writable-volume mounts and the
pod security context (sysctl net.ipv4.ip_unprivileged_port_start no
longer needed). Chart major bump 4.1.0 -> 5.0.0 accordingly.
2026-08-22 09:09:40 +02:00

48 lines
1.8 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-deployment
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}-deployment
spec:
replicas: {{ include "cyberchef.replicas" (dict "scaleDown" .Values.scaleDown "replicas" .Values.cyberchef.replicas) }}
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Chart.Name }}-deployment
template:
metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-deployment
labels:
app: {{ .Release.Name }}-{{ .Chart.Name }}-deployment
spec:
automountServiceAccountToken: false
securityContext:
{{- toYaml .Values.cyberchef.securityContext.pod | nindent 8 }}
containers:
- name: {{ .Release.Name }}-{{ .Chart.Name }}-deployment
image: "ghcr.io/gchq/cyberchef:{{ .Chart.AppVersion }}"
imagePullPolicy: IfNotPresent
securityContext:
{{- toYaml .Values.cyberchef.securityContext.container | nindent 12 }}
volumeMounts:
# nginx-unprivileged keeps its pid file and temp/cache dirs under
# /tmp, which needs to be writable with a read-only root filesystem.
- name: tmp
mountPath: /tmp
ports:
- containerPort: 8080
protocol: TCP
name: http
livenessProbe:
{{- toYaml .Values.cyberchef.livenessProbe | nindent 12 }}
readinessProbe:
{{- toYaml .Values.cyberchef.readinessProbe | nindent 12 }}
startupProbe:
{{- toYaml .Values.cyberchef.startupProbe | nindent 12 }}
resources:
{{- include "cyberchef.resources" .Values.cyberchef.resources | nindent 12 }}
volumes:
- name: tmp
emptyDir: {}
restartPolicy: Always