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

added hostNetwork option for controllerManager and Audit helm templates #1098

Conversation

im-nonedone
Copy link
Contributor

@im-nonedone im-nonedone commented Jan 28, 2021

Signed-off-by: Nandan Sadineni snvnandan@gmail.com

What this PR does / why we need it:

This enables adding hostNetwork option for controllerManager and audit deployments in helm charts. This is needed for deployments where pod and control plane networks are different. This enhancement will enable deploying those pods in the underlying host network enabling communication between pod and control plane.

Which issue(s) this PR fixes:
Fixes #1091

Signed-off-by: Nandan Sadineni <snvnandan@gmail.com>
Signed-off-by: Nandan Sadineni <snvnandan@gmail.com>
@codecov-io
Copy link

Codecov Report

Merging #1098 (42a2b2e) into master (b19fc37) will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1098      +/-   ##
==========================================
+ Coverage   48.05%   48.08%   +0.02%     
==========================================
  Files          62       62              
  Lines        4274     4274              
==========================================
+ Hits         2054     2055       +1     
  Misses       1964     1964              
+ Partials      256      255       -1     
Flag Coverage Δ
unittests 48.08% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...onstrainttemplate/constrainttemplate_controller.go 56.49% <0.00%> (+0.32%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b19fc37...42a2b2e. Read the comment docs.

@im-nonedone
Copy link
Contributor Author

@ritazh can I get a review on this, please?

Copy link
Member

@ritazh ritazh left a comment

Choose a reason for hiding this comment

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

LGTM

@im-nonedone Thanks for your contribution!

Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

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

LGTM

@ritazh ritazh merged commit c099e03 into open-policy-agent:master Jan 29, 2021
@vrokida
Copy link

vrokida commented Mar 16, 2021

Hello !

What version is this available this feature/fix in?

@maxsmythe
Copy link
Contributor

It doesn't look like this has been released as-of-yet. @ritazh time to cut a new release?

@ritazh
Copy link
Member

ritazh commented Mar 16, 2021

Sure. Tagging this for release v3.3.1. We can discuss when to cut it during the community call.

@ritazh ritazh added this to the v3.3.1 milestone Mar 16, 2021
@ritazh ritazh modified the milestones: v3.3.1, v3.4.0 Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable deployments to use hostNetwork
5 participants