escape liquid curly braces
This commit is contained in:
@@ -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:
|
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`
|
{% assign dns_replicas = "{{ pillar['dns_replicas'] }}" %}
|
||||||
- replace `{% raw %}{{ pillar['dns_domain'] }}{% endraw %}` with `cluster.local.`
|
{% 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.
|
- 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:
|
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:
|
To do this automatically:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user