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

feat(helm): add support for NetworkPolicies in v2 Helm chart #3164

Merged
merged 5 commits into from
Aug 14, 2023

Conversation

tongpu
Copy link
Contributor

@tongpu tongpu commented Jul 25, 2023

Closes #3160

What this PR does / why we need it:

Adds support for NetworkPolicies to ASO v2 Helm chart

Special notes for your reviewer:

How does this PR make you feel:
gif

If applicable:

  • this PR contains documentation
  • this PR contains tests

@tongpu
Copy link
Contributor Author

tongpu commented Jul 25, 2023

@microsoft-github-policy-service agree company="Adfinis"

@tongpu tongpu force-pushed the feat/networkpolicies-v2-chart branch from b765eb0 to 92165f2 Compare July 25, 2023 20:44
Copy link
Member

@matthchr matthchr left a comment

Choose a reason for hiding this comment

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

Small comment, but other than that looks good to me.

We need to add another label to the pod as well, but we'll do that out of band. I'll file a separate issue for it.

@matthchr
Copy link
Member

@tongpu is this still something you're driving? If not we can probably take it over and get it merged. Let us know.

@tongpu
Copy link
Contributor Author

tongpu commented Aug 11, 2023

@tongpu is this still something you're driving? If not we can probably take it over and get it merged. Let us know.

I've lost track of it as life was rather busy recently. I'll push the proposed changes by next week the latest.

@tongpu tongpu force-pushed the feat/networkpolicies-v2-chart branch from 0e0b4df to 291a9a3 Compare August 11, 2023 13:39
@tongpu
Copy link
Contributor Author

tongpu commented Aug 11, 2023

@matthchr Thanks for the reminder. I've pushed the remaining changes and I think the PR should be ready now.

@matthchr
Copy link
Member

/ok-to-test sha=291a9a3

# Destination CIDR for talking to the Kubernetes API
kubernetesApiCIDR: 0.0.0.0/0
# Destination CIDR for talking to MySQL servers
kubernetesApiCIDR: 0.0.0.0/0
Copy link
Member

Choose a reason for hiding this comment

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

copy/paste error (caught by CI): This should be mysqlCIDR, and the one below postgresqlCIDR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed. One should not commit on a Friday afternoon.

@matthchr
Copy link
Member

/ok-to-test sha=be6ebf1

protocol: TCP
to:
- ipBlock:
cidr: {{ .Values.networkpolicies.kubernetesApiCIDR }}
Copy link
Member

Choose a reason for hiding this comment

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

Ahh, I missed CI was also having issue with networkpolicies vs networkPolicies.

It's supposed to be networkPolicies but a few of these here have a lowercase p

@matthchr
Copy link
Member

/ok-to-test sha=11672eb

2 similar comments
@matthchr
Copy link
Member

/ok-to-test sha=11672eb

@matthchr
Copy link
Member

/ok-to-test sha=11672eb

@matthchr
Copy link
Member

/ok-to-test sha=94ffb6f

@matthchr
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@matthchr
Copy link
Member

live mysql test timed out.. retrying

@matthchr
Copy link
Member

/ok-to-test sha=94ffb6f

Copy link
Member

@matthchr matthchr left a comment

Choose a reason for hiding this comment

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

Doh, forgot to approve earlier.

@matthchr matthchr merged commit f2c8825 into Azure:main Aug 14, 2023
@matthchr
Copy link
Member

Thanks for the contribution @tongpu!

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

Successfully merging this pull request may close these issues.

Add support for NetworkPolicy to the v2 chart
2 participants