helm/amazon-ec2-metadata-mock/templates/deployment.linux.yaml [94:160]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        {{- end }}
        env:
        {{- if .Values.configMap }}
        - name: AEMM_CONFIG_FILE
          value: {{ with $file := .Values.configMapFileName | default "aemm-config.json" }} {{ printf "/%s/%s" "config" $file }} {{ end }} 
        {{- end }}
        - name: AEMM_SERVER_HOSTNAME # override hostname in order to listen on all available interfaces e.g. ClusterIP
          value: {{ .Values.aemm.server.hostname | default "" | quote }}
        {{- if .Values.aemm.mockDelaySec }}
        - name: AEMM_MOCK_DELAY_SEC
          value: {{ .Values.aemm.mockDelaySec | quote }}
        {{- end }}
        {{- if .Values.aemm.mockTriggerTime }}
        - name: AEMM_MOCK_TRIGGER_TIME
          value: {{ .Values.aemm.mockTriggerTime | quote }}
        {{- end }}
        {{- if .Values.aemm.mockIPCount }}
        - name: AEMM_MOCK_IP_COUNT
          value: {{ .Values.aemm.mockIPCount | quote }}
        {{- end }}
        {{- if .Values.aemm.imdsv2 }}
        - name: AEMM_IMDSV2
          value: {{ .Values.aemm.imdsv2 | quote }}
        {{- end }}
        {{- if .Values.aemm.rebalanceDelaySec }}
        - name: AEMM_REBALANCE_DELAY_SEC
          value: {{ .Values.aemm.rebalanceDelaySec | quote }}
        {{- end }}
        {{- if .Values.aemm.rebalanceTriggerTime }}
        - name: AEMM_REBALANCE_TRIGGER_TIME
          value: {{ .Values.aemm.rebalanceTriggerTime | quote }}
        {{- end }}
        {{- if .Values.aemm.events.code }}
        - name: AEMM_EVENTS_CODE
          value: {{ .Values.aemm.events.code | quote }}
        {{- end }}
        {{- if .Values.aemm.events.notAfter }}
        - name: AEMM_EVENTS_NOT_AFTER
          value: {{ .Values.aemm.events.notAfter | quote }}
        {{- end }}
        {{- if .Values.aemm.events.notBefore }}
        - name: AEMM_EVENTS_NOT_BEFORE
          value: {{ .Values.aemm.events.notBefore | quote }}
        {{- end }}
        {{- if .Values.aemm.events.notBeforeDeadline }}
        - name: AEMM_EVENTS_NOT_BEFORE_DEADLINE
          value: {{ .Values.aemm.events.notBeforeDeadline | quote }}
        {{- end }}
        {{- if .Values.aemm.events.state }}
        - name: AEMM_EVENTS_STATE
          value: {{ .Values.aemm.events.state | quote }}
        {{- end }}
        {{- if .Values.aemm.spot.action }}
        - name: AEMM_SPOT_ACTION
          value: {{ .Values.aemm.spot.action | quote }}
        {{- end }}
        {{- if .Values.aemm.spot.time }}
        - name: AEMM_SPOT_TIME
          value: {{ .Values.aemm.spot.time | quote }}
        {{- end }}
        {{- if .Values.aemm.spot.rebalanceRecTime }}
        - name: AEMM_SPOT_REBALANCE_REC_TIME
          value: {{ .Values.aemm.spot.rebalanceRecTime | quote }}
        {{- end }}
        resources:
          {{- toYaml .Values.resources | nindent 12 }}
{{- end -}}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



helm/amazon-ec2-metadata-mock/templates/deployment.windows.yaml [79:145]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        {{- end }}
        env:
        {{- if .Values.configMap }}
        - name: AEMM_CONFIG_FILE
          value: {{ with $file := .Values.configMapFileName | default "aemm-config.json" }} {{ printf "/%s/%s" "config" $file }} {{ end }} 
        {{- end }}
        - name: AEMM_SERVER_HOSTNAME # override hostname in order to listen on all available interfaces e.g. ClusterIP
          value: {{ .Values.aemm.server.hostname | default "" | quote }}
        {{- if .Values.aemm.mockDelaySec }}
        - name: AEMM_MOCK_DELAY_SEC
          value: {{ .Values.aemm.mockDelaySec | quote }}
        {{- end }}
        {{- if .Values.aemm.mockTriggerTime }}
        - name: AEMM_MOCK_TRIGGER_TIME
          value: {{ .Values.aemm.mockTriggerTime | quote }}
        {{- end }}
        {{- if .Values.aemm.mockIPCount }}
        - name: AEMM_MOCK_IP_COUNT
          value: {{ .Values.aemm.mockIPCount | quote }}
        {{- end }}
        {{- if .Values.aemm.imdsv2 }}
        - name: AEMM_IMDSV2
          value: {{ .Values.aemm.imdsv2 | quote }}
        {{- end }}
        {{- if .Values.aemm.rebalanceDelaySec }}
        - name: AEMM_REBALANCE_DELAY_SEC
          value: {{ .Values.aemm.rebalanceDelaySec | quote }}
        {{- end }}
        {{- if .Values.aemm.rebalanceTriggerTime }}
        - name: AEMM_REBALANCE_TRIGGER_TIME
          value: {{ .Values.aemm.rebalanceTriggerTime | quote }}
        {{- end }}
        {{- if .Values.aemm.events.code }}
        - name: AEMM_EVENTS_CODE
          value: {{ .Values.aemm.events.code | quote }}
        {{- end }}
        {{- if .Values.aemm.events.notAfter }}
        - name: AEMM_EVENTS_NOT_AFTER
          value: {{ .Values.aemm.events.notAfter | quote }}
        {{- end }}
        {{- if .Values.aemm.events.notBefore }}
        - name: AEMM_EVENTS_NOT_BEFORE
          value: {{ .Values.aemm.events.notBefore | quote }}
        {{- end }}
        {{- if .Values.aemm.events.notBeforeDeadline }}
        - name: AEMM_EVENTS_NOT_BEFORE_DEADLINE
          value: {{ .Values.aemm.events.notBeforeDeadline | quote }}
        {{- end }}
        {{- if .Values.aemm.events.state }}
        - name: AEMM_EVENTS_STATE
          value: {{ .Values.aemm.events.state | quote }}
        {{- end }}
        {{- if .Values.aemm.spot.action }}
        - name: AEMM_SPOT_ACTION
          value: {{ .Values.aemm.spot.action | quote }}
        {{- end }}
        {{- if .Values.aemm.spot.time }}
        - name: AEMM_SPOT_TIME
          value: {{ .Values.aemm.spot.time | quote }}
        {{- end }}
        {{- if .Values.aemm.spot.rebalanceRecTime }}
        - name: AEMM_SPOT_REBALANCE_REC_TIME
          value: {{ .Values.aemm.spot.rebalanceRecTime | quote }}
        {{- end }}
        resources:
          {{- toYaml .Values.resources | nindent 12 }}
{{- end -}}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



