Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

[NOT TESTED] Support running as init container #9

Closed
wants to merge 1 commit into from
Closed

[NOT TESTED] Support running as init container #9

wants to merge 1 commit into from

Conversation

klausenbusk
Copy link
Contributor

It make more sense to run the installation as a init container,
instant of installing and then sleeping forever.

The old behavior is still supported by setting:
CNI_INSTALL_TYPE=container

Require k8s 1.6<

Fix #8


I'm not sure if this should be opt-in or opt-out? Any input?

It make more sense to run the installation as a init container,
instant of installing and then sleeping forever.

The old behavior is still supported by setting:
CNI_INSTALL_TYPE=container

Require k8s 1.6<

Fix #8
@dixudx
Copy link

dixudx commented Dec 3, 2017

lgtm

valueFrom:
configMapKeyRef:
name: kube-flannel-cfg
key: cni-conf.json
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this block of yaml isn't valid. You want

env:
  - name: CNI_NETWORK_CONFIG
    valueFrom:
      configMapKeyRef:
        name: kube-flannel-cfg
        key: cni-conf.json

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use init container to install binaries
3 participants