Changeset - c375e6df78dd
[Not reviewed]
0 1 0
James Polley - 6 years ago 2018-06-24 12:04:31
jp@jamezpolley.com
Add DEV_MODE setting for DEV_MODE instances
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
k8s/deployment_template.jsonnet
Show inline comments
...
 
@@ -87,24 +87,28 @@ function (slug) {
 
                      {
 
                        "name": "GOOGLE_APPLICATION_CREDENTIALS",
 
                        "value": "/dev/null"
 
                      },
 
                      {
 
                        "name": "STRIPE_PUBLIC_KEY",
 
                        "value": "5CEA51A5-A613-4AEF-A9FB-D0A57D77C13B"
 
                      },
 
                      {
 
                        "name": "STRIPE_SECRET_KEY",
 
                        "value": "5CEA51A5-A613-4AEF-A9FB-D0A57D77C13B"
 
                      },
 
                      {
 
                        "name": "SYMPOSION_DEV_MODE",
 
                        "value": "LAPTOP"
 
                      },
 
                    ],
 
                    "image": "asia.gcr.io/linuxconfsydney/symposion_app_2019_dev:" + slug,
 
                    "imagePullPolicy": "Always",
 
                    "livenessProbe": {
 
                      "failureThreshold": 3,
 
                      "httpGet": {
 
                        "path": "/admin/login/",
 
                        "port": 8000,
 
                        "scheme": "HTTP"
 
                      },
 
                      "initialDelaySeconds": 120,
 
                      "periodSeconds": 10,
0 comments (0 inline, 0 general)