- volumes:
- - name: oru-app-config-volume
- configMap:
- name: oru-app-configmap
- items:
- - key: o-ru-to-o-du-map.txt
- path: o-ru-to-o-du-map.txt
+ {{- if .Values.global.aafEnabled }}
+ serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . ) }}
+ {{- end }}
+ volumes:
+ {{- if .Values.global.aafEnabled }}
+ {{ include "common.certInitializer.volumes" . | nindent 6 }}
+ {{- end }}
+ - name: oru-app-config-volume
+ configMap:
+ name: oru-app-configmap
+ items:
+ - key: o-ru-to-o-du-map.txt
+ path: o-ru-to-o-du-map.txt