Changeset View
Changeset View
Standalone View
Standalone View
swh/templates/storage-replayer/deployment.yaml
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | spec: | ||||
args: | args: | ||||
- -c | - -c | ||||
- /opt/swh/entrypoint.sh | - /opt/swh/entrypoint.sh | ||||
env: | env: | ||||
- name: STATSD_HOST | - name: STATSD_HOST | ||||
value: {{ $.Values.statsdExternalHost | default "prometheus-statsd-exporter" }} | value: {{ $.Values.statsdExternalHost | default "prometheus-statsd-exporter" }} | ||||
- name: STATSD_PORT | - name: STATSD_PORT | ||||
value: {{ $.Values.statsdPort | default "9125" | quote }} | value: {{ $.Values.statsdPort | default "9125" | quote }} | ||||
- name: SWH_SENTRY_ENVIRONMENT | |||||
value: {{ $.Values.sentry.environment }} | |||||
- name: SWH_MAIN_PACKAGE | |||||
value: swh.storage | |||||
- name: SWH_SENTRY_DSN | |||||
valueFrom: | |||||
secretKeyRef: | |||||
name: storage-replayer-sentry-secrets | |||||
key: sentry-dsn | |||||
# 'name' secret must exist & include key "host" | |||||
optional: true | |||||
imagePullPolicy: Always | imagePullPolicy: Always | ||||
volumeMounts: | volumeMounts: | ||||
- name: configuration | - name: configuration | ||||
mountPath: /etc/swh | mountPath: /etc/swh | ||||
volumes: | volumes: | ||||
- name: configuration | - name: configuration | ||||
emptyDir: {} | emptyDir: {} | ||||
- name: configuration-template | - name: configuration-template | ||||
configMap: | configMap: | ||||
name: storage-replayer-configuration-{{ $deployment }}-template | name: storage-replayer-configuration-{{ $deployment }}-template | ||||
items: | items: | ||||
- key: "config.yml.template" | - key: "config.yml.template" | ||||
path: "config.yml.template" | path: "config.yml.template" | ||||
{{ end }} | {{ end }} | ||||
{{- end -}} | {{- end -}} |