Skip to content

Commit

Permalink
fix uds socket (istio#12688)
Browse files Browse the repository at this point in the history
* uds fix

* readonly
  • Loading branch information
quanjielin authored and wenchenglu committed Mar 22, 2019
1 parent ffba22a commit 8f42a40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ spec:
volumeMounts:
{{- if $.Values.global.sds.enabled }}
- name: sdsudspath
mountPath: /var/run/sds
mountPath: /var/run/sds/uds_path
readOnly: true
{{- if $.Values.global.sds.useTrustworthyJwt }}
- name: istio-token
mountPath: /var/run/secrets/tokens
Expand Down Expand Up @@ -243,7 +244,8 @@ spec:
{{- if $.Values.global.sds.enabled }}
- name: sdsudspath
hostPath:
path: /var/run/sds
path: /var/run/sds/uds_path
type: Socket
{{- if $.Values.global.sds.useTrustworthyJwt }}
- name: istio-token
projected:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,9 @@ data:
readOnly: true
{{- end }}
{{- if .Values.global.sds.enabled }}
- mountPath: /var/run/sds
- mountPath: /var/run/sds/uds_path
name: sds-uds-path
readOnly: true
{{- if .Values.global.sds.useTrustworthyJwt }}
- mountPath: /var/run/secrets/tokens
name: istio-token
Expand Down Expand Up @@ -277,7 +278,8 @@ data:
{{- if .Values.global.sds.enabled }}
- name: sds-uds-path
hostPath:
path: /var/run/sds
path: /var/run/sds/uds_path
type: Socket
{{- if .Values.global.sds.useTrustworthyJwt }}
- name: istio-token
projected:
Expand Down

0 comments on commit 8f42a40

Please sign in to comment.