forked from k8snetworkplumbingwg/whereabouts
-
Notifications
You must be signed in to change notification settings - Fork 0
Rebase to upstream whereabouts #10
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
Open
xagent003
wants to merge
466
commits into
platform9:master
Choose a base branch
from
k8snetworkplumbingwg:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Refactor both IterateForAssignment and GetIPRange. Make sure that IterateForAssignment adheres to a consistent set of rules for both IPv4 and IPv6: * Valid IPs are contained within the ipnet, excluding the network and broadcast address * If rangeStart is specified, it is respected if it lies within the ipnet * If rangeEnd is specified, it is respected if it lies within the ipnet and if it is >= rangeStart * reserveList holds a list of reserved IPs. * excludeRanges holds a list of subnets to be excluded (meaning the full subnet, including the network and broadcast IP) Add more unit tests to make sure the above conditions are met. Signed-off-by: Andreas Karis <ak.karis@gmail.com>
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
The control loop currently segfaults when none of the config files was found. This commit makes it error, providing the user with useful feedback. Also, L260 returned a `nil` disguised as a var named `err`, which could be done more explicit. Signed-off-by: Jorik Jonker <jorik.jonker@eu.equinix.com>
It is required per my previous commit, which seemed to break a couple of tests. Signed-off-by: Jorik Jonker <jorik.jonker@eu.equinix.com>
Provide error when no config was found
…er-push sign into registry for pushing arm master build
The build-push action for master 'latest-arm64' images were being done for amd64 incorrectly. Fix this. Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
fix 'latest-arm' image to build for arm64, not amd64
Add dependabot config
…ent-separate-commits2 Improve iterate for assignment
Build multi-arch manifests (amd64 and arm64) for PR 'build`, 'master' images, and 'release' images. In the doc/crds/daemonset-install.yaml file, remove amd64-specific items, and use the 'latest' manifest that will autoselect the appropriate architecture for the system. Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
…arch-manifests build & use multi-arch manifests for doc/crds
This solves random build/push issues. See: docker/build-push-action#761 (comment) Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
update github action docker buildx action to v2
minor fix: update comment in whereabouts cni kubeconfig
Signed-off-by: Andreas Karis <ak.karis@gmail.com>
The network_name feature lacked integration for parameter enable_overlapping_ranges which had to be set to off. Add support for this parameter to networks with a non-default network_name by creating overlappingipreservations which are prefixed with the network_name. Signed-off-by: Andreas Karis <ak.karis@gmail.com>
Signed-off-by: Andreas Karis <ak.karis@gmail.com>
…eservations Add overlapping ranges check to network_name feature
This commit solves the issue of normalized IP names being used for checking if a pod is alive, which resulted in overlappingrangeipreservations being falsely deleted by the ip-reconciler. Signed-off-by: nicklesimba <simha.nikhil@gmail.com>
Correctly handle errors from parsing exclude ranges to avoid issues with nil pointer exceptions. Parse single IP addresses such as 192.168.123.10 or fe02::10 and convert them to CIDRs by appending the correct prefix. Signed-off-by: Andreas Karis <ak.karis@gmail.com>
Signed-off-by: Andreas Karis <ak.karis@gmail.com>
Improve AssignmentError message
IterateForAssignment: Properly handle invalid syntax for exclude range
Signed-off-by: nicklesimba <simha.nikhil@gmail.com>
Signed-off-by: nicklesimba <simha.nikhil@gmail.com>
Denormalize IP name before checking if pod is alive
Code Review Agent Run Status
|
Bumps [morphy2k/revive-action](https://github.com/morphy2k/revive-action) from 2.7.5 to 2.7.6. - [Release notes](https://github.com/morphy2k/revive-action/releases) - [Commits](morphy2k/revive-action@v2.7.5...v2.7.6) --- updated-dependencies: - dependency-name: morphy2k/revive-action dependency-version: 2.7.6 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…ctions/morphy2k/revive-action-2.7.6 Bump morphy2k/revive-action from 2.7.5 to 2.7.6
Code Review Agent Run Status
|
In busybox-based images, source does not look in the current directory so an absolute path is needed.
Upstream should not have Openshift specific files Signed-off-by: Marcelo Guerrero <marguerr@redhat.com>
Remove duplicate app label from helm chart
Code Review Agent Run Status
|
Delete Openshift dockerfile
This verifies that the pod controller is working Signed-off-by: Marcelo Guerrero <marguerr@redhat.com>
Add e2e test for pod cleanup controller
Fix chart and source command in scripts
Bump go to 1.24 in go.mod
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.36.0 to 0.38.0. - [Commits](golang/net@v0.36.0...v0.38.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-version: 0.38.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…es/golang.org/x/net-0.38.0 Bump golang.org/x/net from 0.36.0 to 0.38.0
correct ip address range example
Code Review Agent Run Status
|
1 similar comment
Code Review Agent Run Status
|
Bumps the other-go-modules group with 8 updates: | Package | From | To | | --- | --- | --- | | [github.com/containernetworking/cni](https://github.com/containernetworking/cni) | `1.2.3` | `1.3.0` | | [github.com/containernetworking/plugins](https://github.com/containernetworking/plugins) | `1.6.1` | `1.6.2` | | [github.com/k8snetworkplumbingwg/network-attachment-definition-client](https://github.com/k8snetworkplumbingwg/network-attachment-definition-client) | `1.7.0` | `1.7.6` | | [github.com/onsi/gomega](https://github.com/onsi/gomega) | `1.36.2` | `1.37.0` | | [gomodules.xyz/jsonpatch/v2](https://github.com/gomodules/jsonpatch) | `2.4.0` | `2.5.0` | | [github.com/go-co-op/gocron/v2](https://github.com/go-co-op/gocron) | `2.12.4` | `2.16.1` | | [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) | `1.8.0` | `1.9.0` | | [golang.org/x/time](https://github.com/golang/time) | `0.8.0` | `0.11.0` | Updates `github.com/containernetworking/cni` from 1.2.3 to 1.3.0 - [Release notes](https://github.com/containernetworking/cni/releases) - [Commits](containernetworking/cni@v1.2.3...v1.3.0) Updates `github.com/containernetworking/plugins` from 1.6.1 to 1.6.2 - [Release notes](https://github.com/containernetworking/plugins/releases) - [Commits](containernetworking/plugins@v1.6.1...v1.6.2) Updates `github.com/k8snetworkplumbingwg/network-attachment-definition-client` from 1.7.0 to 1.7.6 - [Release notes](https://github.com/k8snetworkplumbingwg/network-attachment-definition-client/releases) - [Commits](k8snetworkplumbingwg/network-attachment-definition-client@v1.7.0...v1.7.6) Updates `github.com/onsi/gomega` from 1.36.2 to 1.37.0 - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](onsi/gomega@v1.36.2...v1.37.0) Updates `gomodules.xyz/jsonpatch/v2` from 2.4.0 to 2.5.0 - [Release notes](https://github.com/gomodules/jsonpatch/releases) - [Changelog](https://github.com/gomodules/jsonpatch/blob/release-2.0/CHANGELOG.md) - [Commits](gomodules/jsonpatch@v2.4.0...v2.5.0) Updates `github.com/go-co-op/gocron/v2` from 2.12.4 to 2.16.1 - [Release notes](https://github.com/go-co-op/gocron/releases) - [Commits](go-co-op/gocron@v2.12.4...v2.16.1) Updates `github.com/fsnotify/fsnotify` from 1.8.0 to 1.9.0 - [Release notes](https://github.com/fsnotify/fsnotify/releases) - [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md) - [Commits](fsnotify/fsnotify@v1.8.0...v1.9.0) Updates `golang.org/x/time` from 0.8.0 to 0.11.0 - [Commits](golang/time@v0.8.0...v0.11.0) --- updated-dependencies: - dependency-name: github.com/containernetworking/cni dependency-version: 1.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: other-go-modules - dependency-name: github.com/containernetworking/plugins dependency-version: 1.6.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: other-go-modules - dependency-name: github.com/k8snetworkplumbingwg/network-attachment-definition-client dependency-version: 1.7.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: other-go-modules - dependency-name: github.com/onsi/gomega dependency-version: 1.37.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: other-go-modules - dependency-name: gomodules.xyz/jsonpatch/v2 dependency-version: 2.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: other-go-modules - dependency-name: github.com/go-co-op/gocron/v2 dependency-version: 2.16.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: other-go-modules - dependency-name: github.com/fsnotify/fsnotify dependency-version: 1.9.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: other-go-modules - dependency-name: golang.org/x/time dependency-version: 0.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: other-go-modules ... Signed-off-by: dependabot[bot] <support@github.com>
These changes are meant to make the recover from an exhausted IP pool test more stable. Signed-off-by: Marcelo <marguerr@redhat.com>
…es/other-go-modules-3fd7b7ad37 Bump the other-go-modules group with 8 updates
Code Review Agent Run Status
|
Refactor recover from an exhausted IP pool test
Code Review Agent Run Status
|
Bumps the other-go-modules group with 2 updates in the / directory: [github.com/containernetworking/plugins](https://github.com/containernetworking/plugins) and [github.com/go-co-op/gocron/v2](https://github.com/go-co-op/gocron). Updates `github.com/containernetworking/plugins` from 1.6.2 to 1.7.1 - [Release notes](https://github.com/containernetworking/plugins/releases) - [Commits](containernetworking/plugins@v1.6.2...v1.7.1) Updates `github.com/go-co-op/gocron/v2` from 2.16.1 to 2.16.2 - [Release notes](https://github.com/go-co-op/gocron/releases) - [Commits](go-co-op/gocron@v2.16.1...v2.16.2) --- updated-dependencies: - dependency-name: github.com/containernetworking/plugins dependency-version: 1.7.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: other-go-modules - dependency-name: github.com/go-co-op/gocron/v2 dependency-version: 2.16.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: other-go-modules ... Signed-off-by: dependabot[bot] <support@github.com>
…es/other-go-modules-b4f8590dc6 Bump the other-go-modules group across 1 directory with 2 updates
Code Review Agent Run Status
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.