Skip to content

Commit

Permalink
Update Privileged Options
Browse files Browse the repository at this point in the history
  • Loading branch information
nissim committed Mar 25, 2019
1 parent 8b38675 commit 69984e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/templates/gate-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ spec:
- name: gate
image: "{{ .Values.imageCredentials.repositoryUriPrefix }}/{{ .Values.gate.image.repository }}:{{ .Values.gate.image.tag }}"
imagePullPolicy: "{{ .Values.gate.image.pullPolicy }}"
{{- if .Values.privileged }}
securityContext:
privileged: {{ .Values.privileged }}
{{- end }}
env:
- name: SCALOCK_GATEWAY_PUBLIC_IP
value: {{ .Values.gate.publicIP | default "aqua-gateway-svc" }}
Expand Down
4 changes: 4 additions & 0 deletions server/templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ spec:
- name: web
image: "{{ .Values.imageCredentials.repositoryUriPrefix }}/{{ .Values.web.image.repository }}:{{ .Values.web.image.tag }}"
imagePullPolicy: "{{ .Values.web.image.pullPolicy }}"
{{- if .Values.privileged }}
securityContext:
privileged: {{ .Values.privileged }}
{{- end }}
env:
- name: SCALOCK_DBUSER
value: {{ .Values.db.external.enabled | ternary .Values.db.external.user "postgres" }}
Expand Down

0 comments on commit 69984e1

Please sign in to comment.