mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
				synced 2025-10-30 18:28:03 +00:00 
			
		
		
		
	[WIFI-3332] Fix: add securityContext to make mounted volumes accessible by the application user
This commit is contained in:
		| @@ -83,6 +83,11 @@ spec: | ||||
|             {{- toYaml . | nindent 12 }} | ||||
|           {{- end }} | ||||
|  | ||||
|       {{- with .Values.securityContext }} | ||||
|       securityContext: | ||||
|         {{- toYaml . | nindent 8 }} | ||||
|       {{- end }} | ||||
|  | ||||
|       imagePullSecrets: | ||||
|       {{- range $image, $imageValue := .Values.images }} | ||||
|         {{- if $imageValue.regcred }} | ||||
|   | ||||
| @@ -109,6 +109,9 @@ resources: {} | ||||
|   #  cpu: 100m | ||||
|   #  memory: 128Mi | ||||
|  | ||||
| securityContext: | ||||
|   fsGroup: 101 | ||||
|  | ||||
| nodeSelector: {} | ||||
|  | ||||
| tolerations: [] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Dmitry Dunaev
					Dmitry Dunaev