Skip to content

Commit

Permalink
Merge pull request #80 from fairfaxmedia/fix/kafdrop
Browse files Browse the repository at this point in the history
[kafdrop] Fix application failure
  • Loading branch information
mikelorant authored Aug 31, 2023
2 parents dc527b9 + cad7806 commit b489857
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion stable/kafdrop/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
appVersion: 3.30.0
description: A Helm chart for Kafdrop
name: kafdrop
version: 0.2.0
version: 0.2.1
7 changes: 1 addition & 6 deletions stable/kafdrop/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,13 @@ spec:
{{- end }}
spec:
automountServiceAccountToken: false
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
containers:
- name: {{ .Chart.Name }}
securityContext:
capabilities:
drop:
- all
readOnlyRootFilesystem: true
readOnlyRootFilesystem: false
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
envFrom:
Expand Down
7 changes: 5 additions & 2 deletions stable/kafdrop/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ spec:
http:
paths:
- path: {{ $ingressPath }}
pathType: Prefix
backend:
serviceName: {{ $fullName }}
servicePort: http
service:
name: {{ $fullName }}
port:
number: 80
{{- end }}
{{- end }}

0 comments on commit b489857

Please sign in to comment.