Skip to content

Commit

Permalink
Add config volumes and containers to gateways (istio#7654)
Browse files Browse the repository at this point in the history
* add configVolumes to gateway pods

* add additionalContainers to the gateway
  • Loading branch information
vadimeisenbergibm authored and rshriram committed Aug 7, 2018
1 parent 0e1ef3a commit c3d749f
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ spec:
mountPath: {{ .mountPath | quote }}
readOnly: true
{{- end }}
{{- if $spec.additionalContainers }}
{{ toYaml $spec.additionalContainers | indent 8 }}
{{- end }}
volumes:
- name: istio-certs
secret:
Expand All @@ -117,6 +120,12 @@ spec:
secretName: {{ .secretName | quote }}
optional: true
{{- end }}
{{- range $spec.configVolumes }}
- name: {{ .name }}
configMap:
name: {{ .configMapName | quote }}
optional: true
{{- end }}
affinity:
{{- include "nodeaffinity" $ | indent 6 }}
---
Expand Down

0 comments on commit c3d749f

Please sign in to comment.