Templatize l7 rc

This commit is contained in:
Prashanth Balasubramanian
2016-04-04 17:28:52 -07:00
parent 2ec06f8d4a
commit b066cb5357
4 changed files with 18 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
{% set kube_uid = "" -%}
{% if pillar['kube_uid'] is defined -%}
{% set kube_uid = pillar['kube_uid'] %}
{% endif -%}
apiVersion: v1
kind: ReplicationController
metadata:
@@ -65,4 +70,5 @@ spec:
memory: 50Mi
args:
- --default-backend-service=kube-system/default-http-backend
- --sync-period=300s
- --sync-period=60s
- --cluster-uid={{kube_uid}}