You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by zh...@apache.org on 2023/06/25 01:20:51 UTC
[apisix-helm-chart] branch master updated: feat: add security context for ingress container (#564)
This is an automated email from the ASF dual-hosted git repository.
zhangjintao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-helm-chart.git
The following commit(s) were added to refs/heads/master by this push:
new 6c51011 feat: add security context for ingress container (#564)
6c51011 is described below
commit 6c51011921d7c9437767b4959ad7e1084cbb7f90
Author: ikatlinsky <il...@gmail.com>
AuthorDate: Sun Jun 25 03:20:46 2023 +0200
feat: add security context for ingress container (#564)
Co-authored-by: Katlinsky, Ilya <i....@itransition.com>
---
charts/apisix-ingress-controller/templates/deployment.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/charts/apisix-ingress-controller/templates/deployment.yaml b/charts/apisix-ingress-controller/templates/deployment.yaml
index ba73b48..df0337d 100644
--- a/charts/apisix-ingress-controller/templates/deployment.yaml
+++ b/charts/apisix-ingress-controller/templates/deployment.yaml
@@ -75,6 +75,8 @@ spec:
- ingress
- --config-path
- /ingress-apisix/conf/config.yaml
+ securityContext:
+ {{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports: