~sbaildon/cluster

ref: d5bafcbdd667dcd0ba9a319a007930ba265d7347 cluster/projects/crave_supply/app.yaml -rw-r--r-- 4.8 KiB
d5bafcbdSean Baildon postmark config 4 months ago
                                                                                
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
apiVersion: apps/v1
kind: Deployment
metadata:
  name: crave
  labels:
    app: crave
spec:
  selector:
    matchLabels:
      app: crave
  replicas: 1
  strategy:
    type: RollingUpdate
  template:
    metadata:
      namespace: crave
      labels:
        app: crave
    spec:
      containers:
        - name: crave
          image: registry.baildon.co/crave:d22bbad
          ports:
            - name: auth
              containerPort: 4000
              protocol: TCP
            - name: dashboard
              containerPort: 4001
              protocol: TCP
            - name: webhooks
              containerPort: 4002
              protocol: TCP
            - name: app
              containerPort: 4003
              protocol: TCP
          env:
            - name: MIX_ENV
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: mix_env
            - name: YEMMA_WEB_SECRET_KEY_BASE
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: yemma_web_secret_key_base
            - name: YEMMA_WEB_DOMAIN
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: yemma_web_domain
            - name: YEMMA_WEB_PORT
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: yemma_web_port
            - name: YEMMA_DATABASE_URL
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: yemma_database_url
            - name: YEMMA_DATABASE_POOL_SIZE
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: yemma_database_pool_size
            - name: CRAVE_SUPPLY_DATABASE_URL
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: crave_supply_database_url
            - name: CRAVE_SUPPLY_DATABASE_POOL_SIZE
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: crave_supply_database_pool_size
            - name: CLIENT_DASHBOARD_SECRET_KEY_BASE
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: client_dashboard_secret_key_base
            - name: CLIENT_DASHBOARD_PORT
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: client_dashboard_port
            - name: CLIENT_DASHBOARD_DOMAIN
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: client_dashboard_domain
            - name: STRIPE_PUBLISHABLE_KEY
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: stripe_publishable_key
            - name: STRIPE_SECRET_KEY
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: stripe_secret_key
            - name: STRIPE_SIGNING_SECRET
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: stripe_signing_secret
            - name: WEBHOOKS_SECRET_KEY_BASE
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: webhooks_secret_key_base
            - name: WEBHOOKS_DOMAIN
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: webhooks_domain
            - name: WEBHOOKS_PORT
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: webhooks_port
            - name: CRAVE_SUPPLY_WEB_SECRET_KEY_BASE
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: crave_supply_web_secret_key_base
            - name: CRAVE_SUPPLY_WEB_DOMAIN
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: crave_supply_web_domain
            - name: CRAVE_SUPPLY_WEB_PORT
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: crave_supply_web_port
            - name: NODE_ENV
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: node_env
            - name: YEMMA_POSTMARK_API_TOKEN
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: yemma_postmark_api_token
            - name: CRAVE_SUPPLY_POSTMARK_API_TOKEN
              valueFrom:
                secretKeyRef:
                  name: crave-config
                  key: crave_supply_postmark_api_token