summary refs log tree commit diff
path: root/k8s
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2015-11-21T19·31+0100
committerVincent Ambo <tazjin@gmail.com>2015-11-21T19·31+0100
commit7458430485a84519bc243eb98e08489ab52d92a0 (patch)
treefb71953d4255b5a7e3c7948a14e517c5b92228e3 /k8s
parent8390d148774ba917fdff5a37095c6816ed6c16ce (diff)
[k8s] Update hitch flags to use PROXY to Varnish
Diffstat (limited to 'k8s')
-rw-r--r--k8s/tazblog-rc.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/k8s/tazblog-rc.yaml b/k8s/tazblog-rc.yaml
index e8d9f8bb428e..4a075a52fa66 100644
--- a/k8s/tazblog-rc.yaml
+++ b/k8s/tazblog-rc.yaml
@@ -1,15 +1,17 @@
 apiVersion: v1
 kind: ReplicationController
 metadata:
-  name: tazblog
+  name: tazblog-5.1
 spec:
   replicas: 2
   selector:
     app: tazblog
+    version: v5.1
   template:
     metadata:
       labels:
         app: tazblog
+        version: v5.1
     spec:
       containers:
         - image: tazjin/tazblog-haskell:master
@@ -27,7 +29,7 @@ spec:
         - image: tazjin/hitch:master
           imagePullPolicy: Always
           name: tazblog-hitch
-          command: ["hitch", "--backend=[127.0.0.1]:6081", "--user=hitch", "/etc/hitch/ssl/tazblog-tls"]
+          command: ["hitch", "--backend=[127.0.0.1]:6083", "--write-proxy", "--user=hitch", "/etc/hitch/ssl/tazblog-tls"]
           ports:
             - containerPort: 8443
           volumeMounts: