Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions charts/cloudflare-tunnel-remote/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ spec:
{{- end }}
spec:
serviceAccountName: {{ include "cloudflare-tunnel-remote.fullname" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: cloudflared
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default "latest" }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
command:
- cloudflared
- tunnel
Expand Down
3 changes: 3 additions & 0 deletions charts/cloudflare-tunnel-remote/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ podLabels: {}
podSecurityContext:
runAsNonRoot: true
runAsUser: 65532
sysctls:
- name: net.ipv4.ping_group_range
value: "65532 65532"

# Security items for one container. We lock it down.
securityContext:
Expand Down
3 changes: 3 additions & 0 deletions charts/cloudflare-tunnel/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ podLabels: {}
podSecurityContext:
runAsNonRoot: true
runAsUser: 65532
sysctls:
- name: net.ipv4.ping_group_range
value: "65532 65532"

# Security items for one container. We lock it down.
securityContext:
Expand Down