Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow write cni log dir #1571

Merged
merged 2 commits into from
Oct 20, 2021
Merged

Conversation

mgleung
Copy link
Contributor

@mgleung mgleung commented Oct 18, 2021

Description

Fixes an error where the CNI logs are not allowed to be written to the host in privileged mode since the volume is mounted as read only.

Also adds the appropriate volumes and mounts to allow for non-privileged Calico to also write logs to files on the host. (requires projectcalico/node#1265 )

For PR author

  • Tests for change.
  • If changing pkg/apis/, run make gen-files
  • If changing versions, run make gen-versions

For PR reviewers

A note for code reviewers - all pull requests must have the following:

  • Milestone set according to targeted release.
  • Appropriate labels:
    • kind/bug if this is a bugfix.
    • kind/enhancement if this is a a new feature.
    • enterprise if this PR applies to Calico Enterprise only.

@mgleung mgleung merged commit ca50227 into tigera:master Oct 20, 2021
@mgleung mgleung deleted the allow-write-cni-log-dir branch October 20, 2021 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants