Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xray] Allow setting extra SecurityContext settings #1764

Closed
wants to merge 4 commits into from
Closed
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: 2 additions & 0 deletions stable/xray/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# JFrog Xray Chart Changelog
All changes to this chart will be documented in this file.

## [103.71.7] - May 19, 2023
* Allow setting extra SecurityContext

## [103.73.8] - Apr 07, 2023
* Adding vm memory memoryHighWatermark field and scheduler field for Rabbitmq Chart
Expand Down
1 change: 1 addition & 0 deletions stable/xray/templates/xray-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ spec:
{{- if .Values.common.fsGroupChangePolicy }}
fsGroupChangePolicy: {{ .Values.common.fsGroupChangePolicy }}
{{- end }}
{{ tpl (toYaml .Values.common.extraSecurityContext) . | nindent 8 }}
{{- if .Values.common.topologySpreadConstraints }}
topologySpreadConstraints:
{{ tpl (toYaml .Values.common.topologySpreadConstraints) . | indent 8 }}
Expand Down
7 changes: 7 additions & 0 deletions stable/xray/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,13 @@ common:
xrayGroupId: 1035
# fsGroupChangePolicy: "Always"

# Set extra security context options
extraSecurityContext:
# For example disable ipv6 inside the pod
# sysctls:
# - name: net.ipv6.conf.all.disable_ipv6
# value: "1"

# Spread Xray pods evenly across your nodes or some other topology
topologySpreadConstraints: []
# - maxSkew: 1
Expand Down