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
d0644492
Unverified
Commit
d0644492
authored
Oct 24, 2019
by
Erik Wilson
Committed by
GitHub
Oct 24, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #942 from erikwilson/fix-no-flannel
Remove trailing whitespace trimming from containerd template
parents
0843a3f1
aed163b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
templates.go
pkg/agent/templates/templates.go
+3
-3
No files found.
pkg/agent/templates/templates.go
View file @
d0644492
...
...
@@ -25,17 +25,17 @@ const ContainerdConfigTemplate = `
disable_cgroup = true
disable_apparmor = true
restrict_oom_score_adj = true
{{
end -
}}
{{
end
}}
{{- if .NodeConfig.AgentConfig.PauseImage }}
sandbox_image = "{{ .NodeConfig.AgentConfig.PauseImage }}"
{{
end -
}}
{{
end
}}
{{- if not .NodeConfig.NoFlannel }}
[plugins.cri.cni]
bin_dir = "{{ .NodeConfig.AgentConfig.CNIBinDir }}"
conf_dir = "{{ .NodeConfig.AgentConfig.CNIConfDir }}"
{{
end -
}}
{{
end
}}
[plugins.cri.containerd.runtimes.runc]
runtime_type = "io.containerd.runc.v2"
...
...
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