Fix sed transformation for new kube-dns yaml

This commit is contained in:
Dr. Stefan Schimanski 2016-06-01 12:53:34 +02:00
parent ea07d310d1
commit 391ff02e4c
2 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ spec:
timeoutSeconds: 5 timeoutSeconds: 5
args: args:
# command = "/kube-dns" # command = "/kube-dns"
- --domain=$DNS_DOMAIN}}. - --domain=$DNS_DOMAIN.
- --dns-port=10053 - --dns-port=10053
ports: ports:
- containerPort: 10053 - containerPort: 10053
@ -106,7 +106,7 @@ spec:
cpu: 10m cpu: 10m
memory: 20Mi memory: 20Mi
args: args:
- -cmd=nslookup kubernetes.default.svc.$DNS_DOMAIN}} 127.0.0.1 >/dev/null - -cmd=nslookup kubernetes.default.svc.$DNS_DOMAIN 127.0.0.1 >/dev/null
- -port=8080 - -port=8080
ports: ports:
- containerPort: 8080 - containerPort: 8080

View File

@ -1,4 +1,4 @@
s/__PILLAR__DNS__SERVER__/$DNS_SERVER_IP/g s/__PILLAR__DNS__SERVER__/$DNS_SERVER_IP/g
s/__PILLAR__DNS__REPLICAS__/$DNS_REPLICAS/g s/__PILLAR__DNS__REPLICAS__/$DNS_REPLICAS/g
s/__PILLAR__DNS__DOMAIN__/$DNS_DOMAIN}}/g s/__PILLAR__DNS__DOMAIN__/$DNS_DOMAIN/g
s/__MACHINE_GENERATED_WARNING__/Warning: This is a file generated from the base underscore template file: __SOURCE_FILENAME__/g s/__MACHINE_GENERATED_WARNING__/Warning: This is a file generated from the base underscore template file: __SOURCE_FILENAME__/g