Skip to content

Commit 7019817

Browse files
Fix security context for openshift
Signed-off-by: Arnob kumar saha <arnob@appscode.com>
1 parent 0ff65a8 commit 7019817

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

charts/service-gateway-presets/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ chart:
145145
name: service-gateway
146146
namespace: ace
147147
createNamespace: true
148-
version: "v2026.1.15"
148+
version: "v2026.2.16"
149149
sourceRef:
150150
kind: HelmRepository
151151
name: appscode-charts-oci

charts/service-gateway/templates/gateway/gw.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ spec:
4949
app: {{ include "tenant.name" . }}-gw-seed-backend
5050
spec:
5151
serviceAccountName: {{ include "tenant.name" . }}-gw-seed-backend
52-
{{- if eq "true" ( include "distro.openshift" . ) }}
53-
securityContext:
54-
{{- toYaml (omit .Values.podSecurityContext "runAsUser" "runAsGroup" "fsGroup" "supplementalGroups") | nindent 8 }}
55-
{{- else }}
56-
securityContext:
57-
{{- toYaml .Values.podSecurityContext | nindent 8 }}
58-
{{- end }}
5952
containers:
6053
- image: "{{ .Values.echoserver.image }}:{{ .Values.echoserver.tag }}"
6154
imagePullPolicy: IfNotPresent

0 commit comments

Comments
 (0)