Evan Baker
cc6aaf580d
update nnc printcols for kubectl output ( #1908 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-04-20 03:24:03 +00:00
Ashish Nair
88f70b1ecc
[Feature: Vnet Scale]: Added the vnet block mode of operation for the NC Type in the NNC ( #1872 )
...
Added the vnet block mode of operation for the NC Type
2023-04-05 02:10:55 +00:00
Evan Baker
03baab4e4c
deprecate SetOwnerRef in favor of SetControllerRef ( #1801 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-02-23 23:47:47 +00:00
dependabot[bot]
2418eafc5a
deps: bump sigs.k8s.io/controller-tools from 0.11.2 to 0.11.3 in /build/tools ( #1786 )
2023-02-06 21:41:17 +00:00
dependabot[bot]
0c3ae38808
deps: bump sigs.k8s.io/controller-tools from 0.11.1 to 0.11.2 in /build/tools ( #1776 )
2023-02-04 00:33:54 +00:00
dependabot[bot]
b5f4fbf580
deps: bump sigs.k8s.io/controller-tools from 0.10.0 to 0.11.1 in /build/tools ( #1733 )
...
* deps: bump sigs.k8s.io/controller-tools in /build/tools
Bumps [sigs.k8s.io/controller-tools](https://github.com/kubernetes-sigs/controller-tools ) from 0.10.0 to 0.11.1.
- [Release notes](https://github.com/kubernetes-sigs/controller-tools/releases )
- [Changelog](https://github.com/kubernetes-sigs/controller-tools/blob/master/RELEASE.md )
- [Commits](https://github.com/kubernetes-sigs/controller-tools/compare/v0.10.0...v0.11.1 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* regen crds
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2023-01-05 14:55:12 -06:00
Evan Baker
353b7e01c6
fix: cns to use controller runtime (cached) clients in reconcilers ( #1668 )
...
* update crd clients to accept existing ctrlcli core clients
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* fix cns to use managed cached clients for reconcilers
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: GitHub <noreply@github.com>
2022-12-05 17:55:45 -08:00
dependabot[bot]
12a5981530
deps: bump sigs.k8s.io/controller-tools from 0.9.2 to 0.10.0 in /build/tools ( #1629 )
2022-09-28 02:14:56 +00:00
Evan Baker
f17f2bfd88
Build out ClusterSubnetStatus client/api ( #1487 )
...
* update tools
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* update CRDs and add api for clustersubnetstate
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* fix test name
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-07-26 18:36:50 +00:00
Evan Baker
c3e709d2af
update deps in nested modules ( #1410 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-06-01 20:07:48 +00:00
Evan Baker
c0d88234c5
move mode to NC and add type ( #1331 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-04-14 17:21:39 -05:00
Evan Baker
739c1a26dc
add mode to nnc ( #1309 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-04-04 19:02:57 -05:00
rsagasthya
181fbf88b7
Updates to the CRD Manifests. ( #1292 )
2022-03-17 15:10:02 -05:00
rsagasthya
65ce2f1d96
Added the Pod Net ARM ID as a Label. ( #1260 )
...
* Added the Pod Net ARM ID as a Label.
Added Pod Net Arm Id as labels to the CNS Metrics.
* CNS Metrics: ARM ID as Label
Necessary changes to the read the ARM ID metadata coming from DNC.
* Subtle changes in NNC
Variable names had to be modified to meet lint standards.
* Subtle changes in NNC
Variable names had to be modified to meet lint standards.
* Made NNC arg a Pointer
NNC that was passed to create the ARM ID was too heavy. Converted that argument to a pointer and passed the reference of the NNC in that method.
* [CNS] Metrics Prefix
Added the "cx_" prefix to prometheus metrics of CNS.
* Minor Changes
Minor edits with the Metric Names and Documentation.
* ConstLabels in Metrics
Made changes to the ConstLabels in the CNS Metrics.
* ConstLabels in Metrics
Made changes to the ConstLabels in the CNS Metrics.
2022-03-16 02:39:36 +00:00
Matthew Long
d8b4ce2c74
fix: CRD status should include Node IP ( #1249 )
2022-02-23 04:18:57 +00:00
Evan Baker
80e574b036
match on Node controller ref in NNC event predicate ( #1190 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2022-01-28 17:37:20 -08:00
Evan Baker
39f2bb9ae5
fix: use server-side apply in nnc client ( #1152 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-12-07 15:10:04 -08:00
Matthew Long
0c3efef7ff
feat: nnc client sets ownerref ( #1133 )
...
* feat: nnc client sets ownerref
* fix: linter issues
* fix: don't use unnecessary custom error type
2021-11-29 19:49:55 -06:00
Evan Baker
c970d07e8f
Create NNC scoped client and isolate ipampoolmonitor and NNC reconciler ( #1006 )
...
* create nodenetworkconfig client
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* add envnodename to config
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* rewrite and fully test nnc to nc conversion
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* use nnc clients to separate reconciler and ipampoolmonitor
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* inline reconciler event filters
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* delint
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* test env config
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* wrap errs
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* test reconciler
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* address review comments
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* rebase cleanup
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* fix test
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
* address review feedback
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-10-07 11:55:09 -05:00
Mathew Merrick
715b14a437
chore: Add mock prefix so generated code is not counted against coverage ( #983 )
...
* add mock prefix
* add ignore tag
2021-09-21 09:26:23 -07:00
Hunter Gregory
fe23878507
Remove test coverage ( #1007 )
...
* removed test/ and testutil/ from code coverage
* remove promutil from coverage
* removed tools/ from code coverage
* removed crd/ from code coverage and updated multitenantnetworkcontainer's manifest
* switch to !ignore_NAME syntax for test and cli tags
* add coverage back to crd (besides autogenerated files)
* rename ignore_test and ignore_cli tags to ignore_uncovered
* make cns/fakes/ uncovered
* mark go files in crd api folders as uncovered again
* add main.go back for nnsmock server
2021-09-17 15:29:40 -07:00
Evan Baker
00ea58598d
update nnc manifest and add crd client ( #985 )
...
* regenerate nnc for apiext v1
* own crd lifecycle code
* init nnc crd client
2021-09-01 18:30:47 -05:00
Evan Baker
81a44f3cf3
fix: correct nnc embed package naming and update apiext version to v1 ( #982 )
...
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2021-08-30 12:48:10 -05:00
Evan Baker
b7a82caa19
Consolidate CRD packages ( #975 )
...
* relocate nnc to crd/ package and update all CRDs
* update usages of CRDs to crd package
2021-08-18 17:11:52 -05:00