Tags: aws/amazon-network-policy-controller-k8s
Tags
Bump github.com/spf13/pflag from 1.0.5 to 1.0.6 (#160) Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.5 to 1.0.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/spf13/pflag/releases">github.com/spf13/pflag's releases</a>.</em></p> <blockquote> <h2>v1.0.6</h2> <h2>What's Changed</h2> <ul> <li>Add exported functions to preserve <code>pkg/flag</code> compatibility by <a href="https://github.com/mckern"><code>@mckern</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/220">spf13/pflag#220</a></li> <li>remove dead code for checking error nil by <a href="https://github.com/yashbhutwala"><code>@yashbhutwala</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/282">spf13/pflag#282</a></li> <li>Add IPNetSlice and unit tests by <a href="https://github.com/rpothier"><code>@rpothier</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/170">spf13/pflag#170</a></li> <li>allow for blank ip addresses by <a href="https://github.com/duhruh"><code>@duhruh</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/316">spf13/pflag#316</a></li> <li>add github actions by <a href="https://github.com/sagikazarmark"><code>@sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/419">spf13/pflag#419</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/mckern"><code>@mckern</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/220">spf13/pflag#220</a></li> <li><a href="https://github.com/yashbhutwala"><code>@yashbhutwala</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/282">spf13/pflag#282</a></li> <li><a href="https://github.com/rpothier"><code>@rpothier</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/170">spf13/pflag#170</a></li> <li><a href="https://github.com/duhruh"><code>@duhruh</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/316">spf13/pflag#316</a></li> <li><a href="https://github.com/sagikazarmark"><code>@sagikazarmark</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/419">spf13/pflag#419</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/spf13/pflag/compare/v1.0.5...v1.0.6">https://github.com/spf13/pflag/compare/v1.0.5...v1.0.6</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/spf13/pflag/commit/5ca813443bd2a4d9f46a253ea0407d23b3790713"><code>5ca8134</code></a> Merge pull request <a href="https://redirect.github.com/spf13/pflag/issues/419">#419</a> from spf13/ci</li> <li><a href="https://github.com/spf13/pflag/commit/100ab0eb250792014fc1594d94f7fb5c5f0dee37"><code>100ab0e</code></a> disable unsupported dependency graph for now</li> <li><a href="https://github.com/spf13/pflag/commit/a0f4ddd9fe01ac8fece07be6e3f3ae5dcd7ceec0"><code>a0f4ddd</code></a> fix govet</li> <li><a href="https://github.com/spf13/pflag/commit/f48cbd1964b57ff7c17e2f233feb49c03efe6417"><code>f48cbd1</code></a> add github actions</li> <li><a href="https://github.com/spf13/pflag/commit/d5e0c0615acee7028e1e2740a11102313be88de1"><code>d5e0c06</code></a> allow for blank ip addresses (<a href="https://redirect.github.com/spf13/pflag/issues/316">#316</a>)</li> <li><a href="https://github.com/spf13/pflag/commit/85dd5c8bc61cfa382fecd072378089d4e856579d"><code>85dd5c8</code></a> Add IPNetSlice and unit tests (<a href="https://redirect.github.com/spf13/pflag/issues/170">#170</a>)</li> <li><a href="https://github.com/spf13/pflag/commit/6971c29c4a22981adeaee7f4b437c0cffe08c031"><code>6971c29</code></a> remove dead code for checking error nil (<a href="https://redirect.github.com/spf13/pflag/issues/282">#282</a>)</li> <li><a href="https://github.com/spf13/pflag/commit/81378bbcd8a1005f72b1e8d7579e5dd7b2d612ab"><code>81378bb</code></a> Add exported functions to preserve <code>pkg/flag</code> compatibility (<a href="https://redirect.github.com/spf13/pflag/issues/220">#220</a>)</li> <li>See full diff in <a href="https://github.com/spf13/pflag/compare/v1.0.5...v1.0.6">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
disable some expensive logs (#157) <!-- Thanks for sending a pull request! Here are some tips for you: 1. Ensure you have added the unit tests for your changes. 2. Ensure you have included output of manual testing done in the Testing section. 3. Ensure number of lines of code for new or existing methods are within the reasonable limit. 4. Ensure your change works on existing clusters after upgrade. --> **What type of PR is this?** <!-- Add one of the following: bug cleanup documentation feature --> cleanup **Which issue does this PR fix**: **What does this PR do / Why do we need it**: We need disable some expensive logs if they are not very helpful. **If an issue # is not available please add steps to reproduce and the controller logs**: **Testing done on this change**: <!-- output of manual testing/integration tests results and also attach logs showing the fix being resolved --> **Automation added to e2e**: <!-- List the e2e tests you added as part of this PR. If no, create an issue with enhancement/testing label --> **Will this PR introduce any new dependencies?**: <!-- e.g. new K8s API --> **Will this break upgrades or downgrades. Has updating a running cluster been tested?**: **Does this PR introduce any user-facing change?**: <!-- If yes, a release note update is required: Enter your extended release note in the block below. If the PR requires additional actions from users switching to the new release, include the string "action required". --> ```release-note ``` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
update dependencies (#156) <!-- Thanks for sending a pull request! Here are some tips for you: 1. Ensure you have added the unit tests for your changes. 2. Ensure you have included output of manual testing done in the Testing section. 3. Ensure number of lines of code for new or existing methods are within the reasonable limit. 4. Ensure your change works on existing clusters after upgrade. --> **What type of PR is this?** update go, client-go, k8s api, and controller-runtime versions <!-- Add one of the following: bug cleanup documentation feature --> **Which issue does this PR fix**: **What does this PR do / Why do we need it**: we need to keep key dependencies updated. **If an issue # is not available please add steps to reproduce and the controller logs**: **Testing done on this change**: <!-- output of manual testing/integration tests results and also attach logs showing the fix being resolved --> **Automation added to e2e**: <!-- List the e2e tests you added as part of this PR. If no, create an issue with enhancement/testing label --> **Will this PR introduce any new dependencies?**: <!-- e.g. new K8s API --> **Will this break upgrades or downgrades. Has updating a running cluster been tested?**: **Does this PR introduce any user-facing change?**: <!-- If yes, a release note update is required: Enter your extended release note in the block below. If the PR requires additional actions from users switching to the new release, include the string "action required". --> ```release-note ``` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#106) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/stretchr/testify/releases">github.com/stretchr/testify's releases</a>.</em></p> <blockquote> <h2>v1.9.0</h2> <h2>What's Changed</h2> <ul> <li>Fix Go modules version by <a href="https://github.com/SuperQ"><code>@SuperQ</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1394">stretchr/testify#1394</a></li> <li>Document that require is not safe to call in created goroutines by <a href="https://github.com/programmer04"><code>@programmer04</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1392">stretchr/testify#1392</a></li> <li>Remove myself from MAINTAINERS.md by <a href="https://github.com/mvdkleijn"><code>@mvdkleijn</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1367">stretchr/testify#1367</a></li> <li>Correct spelling/grammar by <a href="https://github.com/echarrod"><code>@echarrod</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1389">stretchr/testify#1389</a></li> <li>docs: Update URLs in README by <a href="https://github.com/davidjb"><code>@davidjb</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1349">stretchr/testify#1349</a></li> <li>Update mockery link to Github Pages in README by <a href="https://github.com/LandonTClipp"><code>@LandonTClipp</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1346">stretchr/testify#1346</a></li> <li>docs: Fix typos in tests and comments by <a href="https://github.com/alexandear"><code>@alexandear</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1410">stretchr/testify#1410</a></li> <li>CI: tests from go1.17 by <a href="https://github.com/SuperQ"><code>@SuperQ</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1409">stretchr/testify#1409</a></li> <li>Fix adding ? when no values passed by <a href="https://github.com/lesichkovm"><code>@lesichkovm</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1320">stretchr/testify#1320</a></li> <li>codegen: use standard header for generated files by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1406">stretchr/testify#1406</a></li> <li>mock: AssertExpectations log reason only on failure by <a href="https://github.com/hikyaru-suzuki"><code>@hikyaru-suzuki</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1360">stretchr/testify#1360</a></li> <li>assert: fix flaky TestNeverTrue by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1417">stretchr/testify#1417</a></li> <li>README: fix typos "set up" vs "setup" by <a href="https://github.com/ossan-dev"><code>@ossan-dev</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1428">stretchr/testify#1428</a></li> <li>mock: move regexp compilation outside of <code>Called</code> by <a href="https://github.com/aud10slave"><code>@aud10slave</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/631">stretchr/testify#631</a></li> <li>assert: refactor internal func getLen() by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1445">stretchr/testify#1445</a></li> <li>mock: deprecate type AnythingOfTypeArgument (<a href="https://redirect.github.com/stretchr/testify/issues/1434">#1434</a>) by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1441">stretchr/testify#1441</a></li> <li>Remove no longer needed assert.canConvert by <a href="https://github.com/alexandear"><code>@alexandear</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1470">stretchr/testify#1470</a></li> <li>assert: ObjectsAreEqual: use time.Equal for time.Time types by <a href="https://github.com/tscales"><code>@tscales</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1464">stretchr/testify#1464</a></li> <li>Bump actions/checkout from 3 to 4 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1466">stretchr/testify#1466</a></li> <li>Bump actions/setup-go from 3.2.0 to 4.1.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1451">stretchr/testify#1451</a></li> <li>fix: make EventuallyWithT concurrency safe by <a href="https://github.com/czeslavo"><code>@czeslavo</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1395">stretchr/testify#1395</a></li> <li>assert: fix httpCode and HTTPBody occur panic when http.Handler read Body by <a href="https://github.com/hidu"><code>@hidu</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1484">stretchr/testify#1484</a></li> <li>assert.EqualExportedValues: fix handling of arrays by <a href="https://github.com/zrbecker"><code>@zrbecker</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1473">stretchr/testify#1473</a></li> <li>.github: use latest Go versions by <a href="https://github.com/kevinburkesegment"><code>@kevinburkesegment</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1489">stretchr/testify#1489</a></li> <li>assert: Deprecate EqualExportedValues by <a href="https://github.com/HaraldNordgren"><code>@HaraldNordgren</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1488">stretchr/testify#1488</a></li> <li>suite: refactor test assertions by <a href="https://github.com/alexandear"><code>@alexandear</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1474">stretchr/testify#1474</a></li> <li>suite: fix SetupSubTest and TearDownSubTest execution order by <a href="https://github.com/linusbarth"><code>@linusbarth</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1471">stretchr/testify#1471</a></li> <li>docs: Fix deprecation comments for http package by <a href="https://github.com/alexandear"><code>@alexandear</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1335">stretchr/testify#1335</a></li> <li>Add map support doc comments to Subset and NotSubset by <a href="https://github.com/jedevc"><code>@jedevc</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1306">stretchr/testify#1306</a></li> <li>TestErrorIs/TestNotErrorIs: check error message contents by <a href="https://github.com/craig65535"><code>@craig65535</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1435">stretchr/testify#1435</a></li> <li>suite: fix subtest names (fix <a href="https://redirect.github.com/stretchr/testify/issues/1501">#1501</a>) by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1504">stretchr/testify#1504</a></li> <li>assert: improve unsafe.Pointer tests by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1505">stretchr/testify#1505</a></li> <li>assert: simplify isNil implementation by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1506">stretchr/testify#1506</a></li> <li>assert.InEpsilonSlice: fix expected/actual order and other improvements by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1483">stretchr/testify#1483</a></li> <li>Fix dependency cycle with objx <a href="https://redirect.github.com/stretchr/testify/issues/1292">#1292</a> by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1453">stretchr/testify#1453</a></li> <li>mock: refactor TestIsArgsEqual by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1444">stretchr/testify#1444</a></li> <li>mock: optimize argument matching checks by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1416">stretchr/testify#1416</a></li> <li>assert: fix TestEventuallyTimeout by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1412">stretchr/testify#1412</a></li> <li>CI: add go 1.21 in GitHub Actions by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1450">stretchr/testify#1450</a></li> <li>suite: fix recoverAndFailOnPanic to report test failure at the right location by <a href="https://github.com/dolmen"><code>@dolmen</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1502">stretchr/testify#1502</a></li> <li>Update maintainers by <a href="https://github.com/brackendawson"><code>@brackendawson</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1533">stretchr/testify#1533</a></li> <li>assert: Fix EqualValues to handle overflow/underflow by <a href="https://github.com/arjunmahishi"><code>@arjunmahishi</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1531">stretchr/testify#1531</a></li> <li>assert: better formatting for Len() error by <a href="https://github.com/kevinburkesegment"><code>@kevinburkesegment</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1485">stretchr/testify#1485</a></li> <li>Ensure AssertExpectations does not fail in skipped tests by <a href="https://github.com/ianrose14"><code>@ianrose14</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1331">stretchr/testify#1331</a></li> <li>suite: fix deadlock in suite.Require()/Assert() by <a href="https://github.com/arjunmahishi"><code>@arjunmahishi</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1535">stretchr/testify#1535</a></li> <li>Revert "assert: ObjectsAreEqual: use time.Equal for time.Time type" by <a href="https://github.com/brackendawson"><code>@brackendawson</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1537">stretchr/testify#1537</a></li> <li>[chore] Add issue templates by <a href="https://github.com/arjunmahishi"><code>@arjunmahishi</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1538">stretchr/testify#1538</a></li> <li>Update the build status badge by <a href="https://github.com/brackendawson"><code>@brackendawson</code></a> in <a href="https://redirect.github.com/stretchr/testify/pull/1540">stretchr/testify#1540</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/stretchr/testify/commit/bb548d0473d4e1c9b7bbfd6602c7bf12f7a84dd2"><code>bb548d0</code></a> Merge pull request <a href="https://redirect.github.com/stretchr/testify/issues/1552">#1552</a> from stretchr/dependabot/go_modules/github.com/stret...</li> <li><a href="https://github.com/stretchr/testify/commit/814075f391adffd2bf2b5110a74c51827ba132c4"><code>814075f</code></a> build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2</li> <li><a href="https://github.com/stretchr/testify/commit/e0456122451b1839c8d58d32df6364e4d0f0a709"><code>e045612</code></a> Merge pull request <a href="https://redirect.github.com/stretchr/testify/issues/1339">#1339</a> from bogdandrutu/uintptr</li> <li><a href="https://github.com/stretchr/testify/commit/5b6926d686d412518f50e888b9ae9b938355e011"><code>5b6926d</code></a> Merge pull request <a href="https://redirect.github.com/stretchr/testify/issues/1385">#1385</a> from hslatman/not-implements</li> <li><a href="https://github.com/stretchr/testify/commit/9f97d67703eff02136d487e6c907e76fdea31a8b"><code>9f97d67</code></a> Merge pull request <a href="https://redirect.github.com/stretchr/testify/issues/1550">#1550</a> from stretchr/release-notes</li> <li><a href="https://github.com/stretchr/testify/commit/bcb0d3fe49ff300fb78288cc144bc61a881f58ec"><code>bcb0d3f</code></a> Include the auto-release notes in releases</li> <li><a href="https://github.com/stretchr/testify/commit/fb770f8238261aa22f8e0c56f18168ccb90f4a09"><code>fb770f8</code></a> Merge pull request <a href="https://redirect.github.com/stretchr/testify/issues/1247">#1247</a> from ccoVeille/typos</li> <li><a href="https://github.com/stretchr/testify/commit/85d8bb6eea715dcbbb68f7c87b50e1956e20f892"><code>85d8bb6</code></a> fix typos in comments, tests and github templates</li> <li><a href="https://github.com/stretchr/testify/commit/e2741fa4e9bf2fdfe3ed48d976a7eeebe76c5009"><code>e2741fa</code></a> Merge pull request <a href="https://redirect.github.com/stretchr/testify/issues/1548">#1548</a> from arjunmahishi/msgAndArgs</li> <li><a href="https://github.com/stretchr/testify/commit/6e59f20c0d3883d2bdc589a9e48374ea30601851"><code>6e59f20</code></a> http_assertions: assert that the msgAndArgs actually works in tests</li> <li>Additional commits viewable in <a href="https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Update manager_auth_proxy_patch.yaml (#99) Update the reference from gcr.io to registry.k8s.io > kube-rbac-proxy is moving to registry.k8s.io/kubebuilder/kube-rbac-proxy (from gcr.io/kubebuilder/kube-rbac-proxy) because GCR is being sunset. We need to update these references.
Bump github.com/onsi/gomega from 1.31.1 to 1.32.0 (#95) Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.31.1 to 1.32.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/onsi/gomega/releases">github.com/onsi/gomega's releases</a>.</em></p> <blockquote> <h2>v1.32.0</h2> <h2>1.32.0</h2> <h3>Maintenance</h3> <ul> <li> <p>Migrate github.com/golang/protobuf to google.golang.org/protobuf [436a197]</p> <p>This release drops the deprecated github.com/golang/protobuf and adopts google.golang.org/protobuf. Care was taken to ensure the release is backwards compatible (thanks <a href="https://github.com/jbduncan"><code>@jbduncan</code></a> !). Please open an issue if you run into one.</p> </li> <li> <p>chore: test with Go 1.22 (<a href="https://redirect.github.com/onsi/gomega/issues/733">#733</a>) [32ef35e]</p> </li> <li> <p>Bump golang.org/x/net from 0.19.0 to 0.20.0 (<a href="https://redirect.github.com/onsi/gomega/issues/717">#717</a>) [a0d0387]</p> </li> <li> <p>Bump github-pages and jekyll-feed in /docs (<a href="https://redirect.github.com/onsi/gomega/issues/732">#732</a>) [b71e477]</p> </li> <li> <p>docs: fix typo and broken anchor link to gstruct [f460154]</p> </li> <li> <p>docs: fix HaveEach matcher signature [a2862e4]</p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/onsi/gomega/blob/master/CHANGELOG.md">github.com/onsi/gomega's changelog</a>.</em></p> <blockquote> <h2>1.32.0</h2> <h3>Maintenance</h3> <ul> <li> <p>Migrate github.com/golang/protobuf to google.golang.org/protobuf [436a197]</p> <p>This release drops the deprecated github.com/golang/protobuf and adopts google.golang.org/protobuf. Care was taken to ensure the release is backwards compatible (thanks <a href="https://github.com/jbduncan"><code>@jbduncan</code></a> !). Please open an issue if you run into one.</p> </li> <li> <p>chore: test with Go 1.22 (<a href="https://redirect.github.com/onsi/gomega/issues/733">#733</a>) [32ef35e]</p> </li> <li> <p>Bump golang.org/x/net from 0.19.0 to 0.20.0 (<a href="https://redirect.github.com/onsi/gomega/issues/717">#717</a>) [a0d0387]</p> </li> <li> <p>Bump github-pages and jekyll-feed in /docs (<a href="https://redirect.github.com/onsi/gomega/issues/732">#732</a>) [b71e477]</p> </li> <li> <p>docs: fix typo and broken anchor link to gstruct [f460154]</p> </li> <li> <p>docs: fix HaveEach matcher signature [a2862e4]</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/onsi/gomega/commit/437995126acee58e6237f963913f54cb6386dd0a"><code>4379951</code></a> v1.32.0</li> <li><a href="https://github.com/onsi/gomega/commit/a350b95475d80b6139762e3ae405072a660ead1c"><code>a350b95</code></a> Maintain source backwards compatibility</li> <li><a href="https://github.com/onsi/gomega/commit/a6c8875c9101b27be67e57288b6bc95863f470ee"><code>a6c8875</code></a> Fix failing test</li> <li><a href="https://github.com/onsi/gomega/commit/436a197c11fbafe8f356f6e8bd2cc0e01bfc4324"><code>436a197</code></a> Migrate github.com/golang/protobuf to google.golang.org/protobuf</li> <li><a href="https://github.com/onsi/gomega/commit/32ef35ea6e233acc84502d9ec90c106aeec1615d"><code>32ef35e</code></a> chore: test with Go 1.22 (<a href="https://redirect.github.com/onsi/gomega/issues/733">#733</a>)</li> <li><a href="https://github.com/onsi/gomega/commit/a0d0387c676ecbc28ce60dd2c16dd7a6900d645e"><code>a0d0387</code></a> Bump golang.org/x/net from 0.19.0 to 0.20.0 (<a href="https://redirect.github.com/onsi/gomega/issues/717">#717</a>)</li> <li><a href="https://github.com/onsi/gomega/commit/b71e47766573f9c48c5b306a1afdd143b9f46e42"><code>b71e477</code></a> Bump github-pages and jekyll-feed in /docs (<a href="https://redirect.github.com/onsi/gomega/issues/732">#732</a>)</li> <li><a href="https://github.com/onsi/gomega/commit/f4601547eab6c872dabcd88064c50ba8eb5408cf"><code>f460154</code></a> docs: fix typo and broken anchor link to gstruct</li> <li><a href="https://github.com/onsi/gomega/commit/a2862e41f3f866e4d37c940a33e25827e504cfed"><code>a2862e4</code></a> docs: fix HaveEach matcher signature</li> <li>See full diff in <a href="https://github.com/onsi/gomega/compare/v1.31.1...v1.32.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Bump github.com/go-logr/logr from 1.3.0 to 1.4.1 (#74) Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.3.0 to 1.4.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/go-logr/logr/releases">github.com/go-logr/logr's releases</a>.</em></p> <blockquote> <h2>v1.4.1</h2> <h2>What's Changed</h2> <ul> <li>slogr: fix unintended API break in v1.4.0 by <a href="https://github.com/pohly"><code>@pohly</code></a> in <a href="https://redirect.github.com/go-logr/logr/pull/253">go-logr/logr#253</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/go-logr/logr/compare/v1.4.0...v1.4.1">https://github.com/go-logr/logr/compare/v1.4.0...v1.4.1</a></p> <h2>v1.4.0</h2> <p>This release dramatically improves interoperability with Go's <code>log/slog</code> package. In particular, <code>logr.NewContext</code> and <code>logr.NewContextWithSlogLogger</code> use the same context key, which allows <code>logr.FromContext</code> and <code>logr.FromContextAsSlogLogger</code> to return <code>logr.Logger</code> or <code>*slog.Logger</code> respectively, including transparently converting each to the other as needed.</p> <p>Functions <code>logr/slogr.NewLogr</code> and <code>logr/slogr.ToSlogHandler</code> have been superceded by <code>logr.FromSlogHandler</code> and <code>logr.ToSlogHandler</code> respectively, and type <code>logr/slogr.SlogSink</code> has been superceded by <code>logr.SlogSink</code>. All of the old names in <code>logr/slogr</code> remain, for compatibility.</p> <p>Package <code>logr/funcr</code> now supports <code>logr.SlogSink</code>, meaning that it's output passes all but one of the Slog conformance tests (that exception being that <code>funcr</code> handles the timestamp itself).</p> <p>Users who have a <code>logr.Logger</code> and need a <code>*slog.Logger</code> can call <code>slog.New(logr.ToSlogHandler(...))</code> and all output will go through the same stack.</p> <p>Users who have a <code>*slog.Logger</code> or <code>slog.Handler</code> can call <code>logr.FromSlogHandler(...)</code> and all output will go through the same stack.</p> <h2>What's Changed</h2> <ul> <li>slog context support by <a href="https://github.com/pohly"><code>@pohly</code></a> in <a href="https://redirect.github.com/go-logr/logr/pull/237">go-logr/logr#237</a></li> <li>slog support: fix WithGroup + WithValues combination by <a href="https://github.com/pohly"><code>@pohly</code></a> in <a href="https://redirect.github.com/go-logr/logr/pull/243">go-logr/logr#243</a></li> <li>Add tests for context with slog by <a href="https://github.com/thockin"><code>@thockin</code></a> in <a href="https://redirect.github.com/go-logr/logr/pull/246">go-logr/logr#246</a></li> <li>sloghandler: unnamed groups should be inlined by <a href="https://github.com/thockin"><code>@thockin</code></a> in <a href="https://redirect.github.com/go-logr/logr/pull/245">go-logr/logr#245</a></li> <li>Add SlogSink support to funcr by <a href="https://github.com/thockin"><code>@thockin</code></a> in <a href="https://redirect.github.com/go-logr/logr/pull/241">go-logr/logr#241</a></li> <li>funcr: Add LogInfoLevel Option to skip logging level in the info log by <a href="https://github.com/spacewander"><code>@spacewander</code></a> in <a href="https://redirect.github.com/go-logr/logr/pull/240">go-logr/logr#240</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/spacewander"><code>@spacewander</code></a> made their first contribution in <a href="https://redirect.github.com/go-logr/logr/pull/240">go-logr/logr#240</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/go-logr/logr/compare/v1.3.0...v1.4.0">https://github.com/go-logr/logr/compare/v1.3.0...v1.4.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/go-logr/logr/commit/dcdc3f2cd12e8a5c4e2a6712d6958c90e2e5bd98"><code>dcdc3f2</code></a> slogr: fix unintended API break in v0.8.0 (<a href="https://redirect.github.com/go-logr/logr/issues/253">#253</a>)</li> <li><a href="https://github.com/go-logr/logr/commit/5d88f52f7c0bad12180de7bd4bd5a56fa7ce0ec3"><code>5d88f52</code></a> funcr: Add LogInfoLevel Option to skip logging level in the info log (<a href="https://redirect.github.com/go-logr/logr/issues/240">#240</a>)</li> <li><a href="https://github.com/go-logr/logr/commit/177005d4eef9d394e2cb5702ab1c0dfb51ddef0f"><code>177005d</code></a> build(deps): bump actions/upload-artifact from 3.1.3 to 4.0.0</li> <li><a href="https://github.com/go-logr/logr/commit/e7f489a410309014c7d2ddc70800f2e3031a34f6"><code>e7f489a</code></a> build(deps): bump github/codeql-action from 2.22.9 to 3.22.11</li> <li><a href="https://github.com/go-logr/logr/commit/cf56c3b5da5a00eacf11e94616fe5dfe873bee52"><code>cf56c3b</code></a> build(deps): bump actions/setup-go from 4 to 5</li> <li><a href="https://github.com/go-logr/logr/commit/2ad296ec40a3bbda65a372e58a27d566e2e05083"><code>2ad296e</code></a> build(deps): bump github/codeql-action from 2.22.8 to 2.22.9</li> <li><a href="https://github.com/go-logr/logr/commit/d55b4e2d2159a37e0eb7728f3d6ae0abb563393a"><code>d55b4e2</code></a> Merge pull request <a href="https://redirect.github.com/go-logr/logr/issues/241">#241</a> from thockin/master</li> <li><a href="https://github.com/go-logr/logr/commit/98ee9d96bccd21c2ddb6cbe144aed9022119b233"><code>98ee9d9</code></a> Clean up slog testing and restore coverage</li> <li><a href="https://github.com/go-logr/logr/commit/b228ba8636d02f868be6802747693a8489b182e2"><code>b228ba8</code></a> Break examples to new file</li> <li><a href="https://github.com/go-logr/logr/commit/64328772921a64a598eb222e2b0d0b9317651521"><code>6432877</code></a> Add benchmarks for slogSink</li> <li>Additional commits viewable in <a href="https://github.com/go-logr/logr/compare/v1.3.0...v1.4.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
ingress doesn't need to check src ports (#72) <!-- Thanks for sending a pull request! Here are some tips for you: 1. Ensure you have added the unit tests for your changes. 2. Ensure you have included output of manual testing done in the Testing section. 3. Ensure number of lines of code for new or existing methods are within the reasonable limit. 4. Ensure your change works on existing clusters after upgrade. --> **What type of PR is this?** fix a bug <!-- Add one of the following: bug cleanup documentation feature --> bug **Which issue does this PR fix**: #71 **What does this PR do / Why do we need it**: The controller shouldn't loop through src pods to check if their ports matching policies'. **If an issue # is not available please add steps to reproduce and the controller logs**: **Testing done on this change**: <!-- output of manual testing/integration tests results and also attach logs showing the fix being resolved --> Unit tests are updated and functional tests were done policy applied pod (dst) ``` ports: - containerPort: 80 name: http protocol: TCP - containerPort: 443 name: https protocol: TCP ``` src pod ``` ports: - name: src containerPort: 9999 protocol: TCP ``` svc ``` spec: ports: - port: 80 name: http targetPort: http - port: 443 name: https targetPort: https ``` policyendpoint ``` spec: ingress: - cidr: 192.168.xx.xxx ports: - port: 80 protocol: TCP - port: 443 protocol: TCP podIsolation: - Ingress ``` **Automation added to e2e**: <!-- List the e2e tests you added as part of this PR. If no, create an issue with enhancement/testing label --> no **Will this PR introduce any new dependencies?**: <!-- e.g. new K8s API --> no **Will this break upgrades or downgrades. Has updating a running cluster been tested?**: no **Does this PR introduce any user-facing change?**: <!-- If yes, a release note update is required: Enter your extended release note in the block below. If the PR requires additional actions from users switching to the new release, include the string "action required". --> no ```release-note ``` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
PreviousNext