Skip to content

Commit

Permalink
Merge pull request #2365 from darkmuggle/pr/different-templates
Browse files Browse the repository at this point in the history
Bug 1920027: use separate dropin files for kubelet
  • Loading branch information
openshift-merge-robot committed Jan 30, 2021
2 parents aa24386 + 11d4534 commit 3837e38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 8 additions & 0 deletions templates/common/_base/units/kubelet.service-proxy.yaml
@@ -0,0 +1,8 @@
name: kubelet.service
dropins:
- name: 10-mco-default-env.conf
contents: |
{{if .Proxy -}}
[Service]
EnvironmentFile=/etc/mco/proxy.env
{{end -}}
6 changes: 0 additions & 6 deletions templates/common/_base/units/kubelet.service.yaml
@@ -1,11 +1,5 @@
name: kubelet.service
dropins:
- name: 10-mco-default-env.conf
contents: |
{{if .Proxy -}}
[Service]
EnvironmentFile=/etc/mco/proxy.env
{{end -}}
- name: 10-mco-default-madv.conf
contents: |
[Service]
Expand Down

0 comments on commit 3837e38

Please sign in to comment.