Changeset View
Changeset View
Standalone View
Standalone View
swh/templates/graphql/deployment.yaml
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | spec: | ||||
value: {{ $.Values.sentry.environment }} | value: {{ $.Values.sentry.environment }} | ||||
- name: SWH_MAIN_PACKAGE | - name: SWH_MAIN_PACKAGE | ||||
value: swh.graphql | value: swh.graphql | ||||
- name: SWH_SENTRY_DSN | - name: SWH_SENTRY_DSN | ||||
valueFrom: | valueFrom: | ||||
secretKeyRef: | secretKeyRef: | ||||
name: graphql-sentry-secrets | name: graphql-sentry-secrets | ||||
key: sentry-dsn | key: sentry-dsn | ||||
# 'name' secret must exist & include key "host" | # 'name' secret should exist & include key "host" | ||||
optional: false | # if the setting doesn't exist, sentry pushes will be disabled | ||||
optional: true | |||||
{{ end }} | {{ end }} | ||||
volumeMounts: | volumeMounts: | ||||
- name: config | - name: config | ||||
mountPath: /etc/swh/config.yml | mountPath: /etc/swh/config.yml | ||||
subPath: config.yml | subPath: config.yml | ||||
readOnly: true | readOnly: true | ||||
volumes: | volumes: | ||||
- name: config | - name: config | ||||
configMap: | configMap: | ||||
name: graphql | name: graphql | ||||
defaultMode: 0444 | defaultMode: 0444 | ||||
{{ end }} | {{ end }} |