From 091f52f90143a433f1488385abd37c3581bed0d4 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Tue, 8 Aug 2017 15:30:34 -0700 Subject: [PATCH] escape liquid curly braces --- docs/getting-started-guides/mesos/index.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/getting-started-guides/mesos/index.md b/docs/getting-started-guides/mesos/index.md index bb189a922a..a01d2efad8 100644 --- a/docs/getting-started-guides/mesos/index.md +++ b/docs/getting-started-guides/mesos/index.md @@ -228,13 +228,16 @@ Note that we have passed these two values already as parameter to the apiserver A template for a replication controller spinning up the pod with the 3 containers can be found at [cluster/addons/dns/kubedns-controller.yaml.in][12] in the repository. The following steps are necessary in order to get a valid replication controller yaml file: -- replace `{% raw %}{{ pillar['dns_replicas'] }}{% endraw %}` with `1` -- replace `{% raw %}{{ pillar['dns_domain'] }}{% endraw %}` with `cluster.local.` +{% assign dns_replicas = "{{ pillar['dns_replicas'] }}" %} +{% assign dns_domain = "{{ pillar['dns_domain'] }}" %} +- replace `{{ dns_replicas }}` with `1` +- replace `{{ dns_domain }}` with `cluster.local.` - add `--kube_master_url=${KUBERNETES_MASTER}` parameter to the kube2sky container command. In addition the service template at [cluster/addons/dns/kubedns-controller.yaml.in][12] needs the following replacement: -- `{% raw %}{{ pillar['dns_server'] }}{% endraw %}` with `10.10.10.10`. +{% assign dns_server = "{{ pillar['dns_server'] }}" %} +- `{{ dns_server }}` with `10.10.10.10`. To do this automatically: