Amber Brown
e711e610a0
Move to maintained yaml lib ( #3454 )
...
* move to maintained yaml lib
* update validate-imports
* go mod
2024-07-10 09:57:42 +10:00
Amber Brown
2ef8962879
generated files
2023-09-04 10:35:48 +10:00
Ayato Tokubi
5009d9228f
use importas linter to check import aliases. (ARO1693) ( #2891 )
2023-05-17 21:47:49 +02:00
Mikalai Radchuk
d5485932f4
Split internet checker into a separate controller
2022-12-13 23:26:42 +00:00
Jeremy Facchetti
2bc3812474
followed ben suggestion
2022-09-21 18:22:00 +02:00
Jeremy Facchetti
e79ae6a73a
now ignores generated files
2022-09-21 17:16:29 +02:00
Mikalai Radchuk
f22254e177
Enforces hivev1azure import alias
2022-08-02 09:00:55 +01:00
Amber Brown
d9f33a0dc6
consistently use our uuids
2022-07-27 15:07:29 +10:00
Amber Brown
aa33c5e100
make a uuid package that implements or reexports all we need
2022-07-27 13:38:00 +10:00
Mikalai Radchuk
2781843c89
Fixes validate-imports
...
Fixes the issue is that import aliases (from both regex rules and yaml)
are only being enforced if an import under the validation uses alias.
2022-07-26 12:08:53 +01:00
tschneid
bea9aec2d8
Bump ocp to 4.10.20, revert workarounds for BZ 2093044
...
Revert "Add name length validation on ARO clusters for non-zonal regions"
This reverts commit 13c3290ffc
.
Revert "Typo in pipeline script"
This reverts commit 6e1acd4f13
.
Revert "Truncate cluster names to 19 char in e2e pipelines"
This reverts commit b2273bdc6a
.
Removed test cases in pkg/api/v20220904/openshiftcluster_validatestatic_test.go for cluster
name length validation, these tests are no longer needed as BZ 2093044 is fixed in 4.10.20
2022-07-07 14:24:10 -05:00
Ulrich Schlueter
3d8654a1a7
Register cluster with hive at install time
2022-07-05 16:16:56 +01:00
Amber Brown
3bf02a0f8f
add an initial hive client manager
2022-07-04 13:13:56 +01:00
Spencer Amann
70a3f19716
Fix azureproviderspec regression ( #2167 )
...
* Fix AzureMachineProviderSpec regression in 4.10
* refactor to reduce branches and clean up
Co-authored-by: bennerv <10840174+bennerv@users.noreply.github.com>
2022-06-10 08:59:29 -07:00
bennerv
13c3290ffc
Add name length validation on ARO clusters for non-zonal regions
2022-06-03 17:17:36 -04:00
Jeremy Facchetti
b639b19bfa
clean up of validate import, now uses a yaml file for maintainability ( #2136 )
2022-06-02 16:05:50 +02:00
Jeremy Facchetti
168b5cbe85
removed go-bindata from pkg/operator ( #2119 )
2022-06-02 11:05:32 +02:00
Jeremy Facchetti
08b4a30034
refactored muo to extract deployer ( #2122 )
2022-06-02 10:35:07 +02:00
Amber Brown
bd08c71826
Merge pull request #2099 from hawkowl/hawkowl/installer-pullout-infra-id
...
Generate the InfraID without Installer dependency
2022-06-01 08:11:45 +10:00
Spencer Amann
7bba674b3a
when mhc is managed create an alert for frequent remediation ( #2123 )
2022-05-31 09:34:48 -04:00
Amber Brown
58831ff4a4
validate apimachinery rand as utilrand
2022-05-30 13:09:43 +10:00
darthhexx
1c4e98933e
Vendor installer release 4.10
...
Switches to go.1.17, OCP 4.10, and Kubernetes 1.23 modules.
2022-05-25 14:49:12 +10:00
Jeremy Facchetti
fdfd3900b4
added stylecheck and moved golangci-lint to a github action ( #2083 )
...
* enabled github action instead of running from ADO
* fixed style
* fixed some style
fixed styling
fixed failing tests because of case on errs
2022-05-02 10:38:27 -04:00
Amber Brown
529c6b2b44
add a mocks directory in the operator
2022-02-25 11:23:07 +00:00
Roland Kunkel
ef412b2619
Disk encryption e2e tests ci cluster creation and tests ( #1822 )
...
* ./hack/cluster create & CI cluster now create clusters with server side encryption and encryption at host enabled
* E2E tests for server side encryption and encryption at host
2021-11-16 13:03:36 +00:00
Mikalai Radchuk
32e740a4ef
Defines a new CRD for the preview features
2021-10-11 15:22:47 +01:00
Mikalai Radchuk
66345549a9
Revert "Defines a new CRD for the preview features"
...
This reverts commit bc263329be
.
2021-10-11 14:54:09 +01:00
Amber Brown
c8f41b8a16
Merge pull request #1670 from m1kola/preview_feature_controller
...
feat: define a new CRD for preview features
2021-10-11 11:33:17 +11:00
Mikalai Radchuk
f062e43abb
OCP 4.8 release preparation
...
Updates the codebase to allow vendoring of OCP 4.8
2021-09-08 15:53:37 +01:00
Amber Brown
073e3e6246
Change kubernetes's runtime import name to kruntime
2021-08-25 11:51:32 +01:00
Jim Minter
382a3a8887
harden pkg/dbtoken.refresher
2021-08-19 10:30:31 -04:00
Jim Minter
91d6a55e8e
add gateway
2021-08-19 10:21:09 -04:00
Mikalai Radchuk
bc263329be
Defines a new CRD for the preview features
2021-08-16 14:41:24 +01:00
bennerv
61e898135c
Escape periods in regex expression
2021-08-10 10:33:18 -04:00
Jim Minter
e61efa5666
add cmd/dbtoken
2021-04-26 15:22:21 -05:00
Naveen Malik
d5c35ca3c5
Move from github.com/satori/go.uuid to github.com/gofrs/uuid
...
Why: https://www.whitesourcesoftware.com/vulnerability-database/WS-2018-0594
Requires updating azure-sdk-for-go, moved to latest release
Created wrapper util for gofrs/uuid as NewV4() now returns 2 args and we use it a lot in-line
Vendor updates coming in separate commit to keep this one clean.
There is no v1.2.1 tag for these repos on github.com.
A replace was added for these to 'master'.
Running `go mod vendor` updated the value from 'master' to what you see
in go.mod now.
The v0.0.0 versions needed excluded to get them to drop from go.sum.
Do not exlude v1.2.0 or dependencies cannot be resolved.
2021-03-30 17:13:29 -04:00
Jim Minter
51692b832d
add ignore rule
2021-03-02 13:17:03 -06:00
Jim Minter
bd3b8b1159
add validate-imports tool
2021-03-02 13:16:08 -06:00
Jim Minter
e55411dacd
pass fset and f into validateGroups
2021-03-02 13:16:08 -06:00
Jim Minter
c6002f5aed
noop rename file
2021-03-02 13:16:08 -06:00
Jim Minter
265bd6fd5c
noop separate main
2021-03-02 13:16:08 -06:00
Jim Minter
e197431d01
remove legacy sort.Interface
2021-03-02 13:16:07 -06:00
Jim Minter
18e245b67e
package rename
2019-12-16 19:26:21 -06:00
Jim Minter
00e3c6555a
add code license boilerplate
2019-12-16 19:16:50 -06:00
Angus Salkeld
60ac48f700
add some of the quicker linters to "make test"
2019-11-29 18:11:22 -06:00