diff --git a/mojaloop-simulator/templates/deployment.yaml b/mojaloop-simulator/templates/deployment.yaml index 373a5359c..a2720d079 100644 --- a/mojaloop-simulator/templates/deployment.yaml +++ b/mojaloop-simulator/templates/deployment.yaml @@ -190,6 +190,12 @@ spec: {{- include "mojaloop-simulator.common-labels" $ | nindent 8 }} annotations: checksum/config-rules: {{ $checksumConfigRules }} + # Custom Pod annotations + {{- if $config.config.podAnnotations }} + {{- range $key, $value := $config.config.podAnnotations }} + {{ $key }}: {{ tpl $value $ | quote }} + {{- end }} + {{- end }} spec: initContainers: {{ include "mojaloop-simulator.prependDictToContainerEnv" (dict "containers" $config.config.backend.initContainers "dict" (merge $config.config.backend.env $initContainerEnv)) | indent 6 }} @@ -353,6 +359,12 @@ spec: checksum/config-rules: {{ $checksumConfigRules }} checksum/config-jws-public-keys: {{ $checksumConfigJWSPublicKeys }} checksum/secrets: {{ $checksumConfigSecrets }} + # Custom Pod annotations + {{- if $config.config.podAnnotations }} + {{- range $key, $value := $config.config.podAnnotations }} + {{ $key }}: {{ tpl $value $ | quote }} + {{- end }} + {{- end }} spec: volumes: - name: {{ $fullName }}-thirdparty-sdk-config-volume