8000 Rebase to upstream whereabouts by xagent003 · Pull Request #10 · platform9/whereabouts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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
wants to merge 466 commits into
base: master
Choose a base branch
from

Conversation

xagent003
Copy link

No description provided.

andreaskaris and others added 29 commits April 25, 2023 11:47
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
…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>
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
Copy link
bito-code-review bot commented Apr 10, 2025

Code Review Agent Run Status

  • Limitations and other issues: ❌ Failure - Bito Code Review Agent didn't review this pull request automatically because it exceeded the size limit. No action is needed if you didn't intend for the agent to review it. Otherwise, you can initiate the review by typing /review in a comment below.

dependabot bot and others added 2 commits April 15, 2025 03:12
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
Copy link
bito-code-review bot commented Apr 16, 2025

Code Review Agent Run Status

  • Limitations and other issues: ❌ Failure - Bito Code Review Agent didn't review this pull request automatically because it exceeded the size limit. No action is needed if you didn't intend for the agent to review it. Otherwise, you can initiate the review by typing /review in a comment below.

thomasferrandiz and others added 4 commits April 23, 2025 14:00
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
Copy link
bito-code-review bot commented Apr 23, 2025

Code Review Agent Run Status

  • Limitations and other issues: ❌ Failure - Bito Code Review Agent didn't review this pull request automatically because it exceeded the size limit. No action is needed if you didn't intend for the agent to review it. Otherwise, you can initiate the review by typing /review in a comment below.

mlguerrero12 and others added 10 commits April 24, 2025 09:52
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
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
Copy link
bito-code-review bot commented Apr 25, 2025

Code Review Agent Run Status

  • Limitations and other issues: ❌ Failure - Bito Code Review Agent didn't review this pull request automatically because it exceeded the size limit. No action is needed if you didn't intend for the agent to review it. Otherwise, you can initiate the review by typing /review in a comment below.

1 similar comment
Copy link
bito-code-review bot commented Apr 25, 2025

Code Review Agent Run Status

  • Limitations and other issues: ❌ Failure - Bito Code Review Agent didn't review this pull request automatically because it exceeded the size limit. No action is needed if you didn't intend for the agent to review it. Otherwise, you can initiate the review by typing /review in a comment below.

dependabot bot and others added 3 commits April 25, 2025 03:45
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
Copy link
bito-code-review bot commented May 7, 2025

Code Review Agent Run Status

  • Limitations and other issues: ❌ Failure - Bito Code Review Agent didn't review this pull request automatically because it exceeded the size limit. No action is needed if you didn't intend for the agent to review it. Otherwise, you can initiate the review by typing /review in a comment below.

Refactor recover from an exhausted IP pool test
Copy link
bito-code-review bot commented May 8, 2025

Code Review Agent Run Status

  • Limitations and other issues: ❌ Failure - Bito Code Review Agent didn't review this pull request automatically because it exceeded the size limit. No action is needed if you didn't intend for the agent to review it. Otherwise, you can initiate the review by typing /review in a comment below.

dependabot bot and others added 2 commits May 19, 2025 03:10
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
Copy link
bito-code-review bot commented May 19, 2025

Code Review Agent Run Status

  • Limitations and other issues: ❌ Failure - Bito Code Review Agent didn't review this pull request automatically because it exceeded the size limit. No action is needed if you didn't intend for the agent to review it. Otherwise, you can initiate the review by typing /review in a comment below.

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.

0