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
2 changes: 1 addition & 1 deletion chart/byconity/charts/hdfs/templates/namenode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ spec:
defaultMode: 0755
{{- end }}
{{- end }}
{{- with .Values.datanode.securityContext }}
{{- with .Values.namenode.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
12 changes: 6 additions & 6 deletions chart/byconity/charts/hdfs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ namenode:
affinity: {}
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
runAsUser: 1001

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason here?

runAsGroup: 1001
fsGroup: 1001
ports:
http: 9870
https: 9871
Expand Down Expand Up @@ -60,9 +60,9 @@ datanode:
affinity: {}
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
runAsUser: 1001
runAsGroup: 1001
fsGroup: 1001
ports:
http: 9864
https: 9865
Expand Down