Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
391ff02e
Commit
391ff02e
authored
Jun 01, 2016
by
Dr. Stefan Schimanski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sed transformation for new kube-dns yaml
parent
ea07d310
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
skydns-rc.yaml.sed
cluster/saltbase/salt/kube-dns/skydns-rc.yaml.sed
+2
-2
transforms2sed.sed
cluster/saltbase/salt/kube-dns/transforms2sed.sed
+2
-1
No files found.
cluster/saltbase/salt/kube-dns/skydns-rc.yaml.sed
View file @
391ff02e
...
...
@@ -73,7 +73,7 @@ spec:
t
i
meoutSeconds: 5
a
rgs:
# command = "/kube-dns"
-
--
d
om
a
in=$DNS_DOMAIN
}}
.
-
--
d
om
a
in=$DNS_DOMAIN.
-
--
dns
-
port=10053
ports:
-
containerPort: 10053
...
...
@@ -106,7 +106,7 @@ spec:
cpu
:
10
m
memor
y
:
20Mi
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
ports
:
-
c
ontainerPort: 8080
...
...
cluster/saltbase/salt/kube-dns/transforms2sed.sed
View file @
391ff02e
s
/
__PILLAR__DNS__SERVER__
/
$DNS_SERVER_IP
/
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
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment