-
Notifications
You must be signed in to change notification settings - Fork 3
/
k8_secret.yaml
31 lines (31 loc) · 1.07 KB
/
k8_secret.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Secrets + env vars to pass to the k8s pod
# This is the k8s equivalent of the local .env file.
apiVersion: v1
kind: Secret
metadata:
name: dqmsecret
namespace: dqm
type: Opaque
data:
# Remember that, before applying this file with kubectl,
# you will need to base64-encode the values and replace them
# with the encoded ones. E.g, "ENV: production" must
# be replaced with "ENV: cHJvZHVjdGlvbg=="
# To encode it:
#
# echo -n production | base64
#
# Note the "-n" which prevents echo from printing
# a new line character.
ENV: production
POSTGRES_HOST: postgres
POSTGRES_PRODUCTION_DB_NAME: postgres_production
POSTGRES_PLAYBACK_DB_NAME: postgres
DQM_FFF_SECRET: CHANGEME
DQM_CR_USERNAMES: CHANGEME
GRABBER_DEBUG: False
SERVER_DEBUG: False
SERVER_FFF_MACHINE: bu-c2f11-13-01
CMSWEB_FRONTEND_PROXY_URL: https://cmsweb.cern.ch/dqm/dqm-square-origin
FFF_PRODUCTION_MACHINES: bu-c2f11-09-01;fu-c2f11-11-01;fu-c2f11-11-02;fu-c2f11-11-03;fu-c2f11-11-04
FFF_PLAYBACK_MACHINES: bu-c2f11-13-01;fu-c2f11-15-01;fu-c2f11-15-02;fu-c2f11-15-03;fu-c2f11-15-04