Граф коммитов

7283 Коммитов

Автор SHA1 Сообщение Дата
Kipp Morris 1d49509325
Ensure platform workload identity IDs remain in the cluster doc after admin updates (#4063) 2025-01-28 12:29:14 -05:00
Kipp Morris 566b63ba5a
Add unit test case for admin PATCH-ing a workload identity cluster (#4062) 2025-01-28 09:18:36 -05:00
Taylor Fahlman 66c8625b7e
Merge pull request #4061 from Azure/ARO-14550
Update go module deps to fix CVE-2021-4238
2025-01-27 19:44:36 -08:00
Taylor Fahlman a5451b7ea7 Update go module deps on machine-config-operator to fix CVE-2021-4238 2025-01-27 09:27:23 -08:00
Andrew Denton fcc1bdfeb8
Log MIWI/SP install type to AsyncQoS; also log successful cluster deletions (#3934)
* Add terminal-state log and metrics to successful cluster deletion operations.

* ARO-7841: Add "clusterIdentity" field to AsyncQoS logs
2025-01-27 12:22:59 -05:00
Ben Vesel c0a6f3b6ec
Add .gitleaks.toml to ignore 'scripts' sections in generated arm templates (#4059) 2025-01-24 08:20:52 -05:00
Caden Marchese 52794b14b0
Incorporate ARM team feedback into v2024-08-12-preview API version (#4014)
* remove unused OCM resource types

* plural resource name, camelCase

* add new singleton rest endpoints for openshiftversion and pwirolesets

* update swagger generator to reflect singleton endpoints

* generated swagger

* add version params for the new singleton endpoints

* make generate

* correct camelCase openshiftMinorVersion -> openShiftMinorVersion

* add where: clauses to CI suppressions

* correct typo, make generate

* update the example path params for new singleton endpoints

* populate name and type for new openshift rolesets and versions

* Update generated clients

* update unit tests for name and type addition to version and roleset responses

* resolve comments for installVersionGet usage in swagger

---------

Co-authored-by: Rajdeep Singh Chauhan <rajdchau@redhat.com>
Co-authored-by: Tanmay Satam <tsatam@redhat.com>
2025-01-23 10:40:03 -05:00
Kipp Morris 354cc86211
Fix MIWI admin update (#4046)
* Fix admin API - add readOnly tag to two fields that need it

* Fix admin update - if cluster is MIWI, skip step specific to service
principal clusters

* Fix admin update - ensure that MIWI cluster doc fields are not overwritten

* Remove extra whitespace to appease linter
2025-01-23 08:48:36 -05:00
Taylor Fahlman e71106984e
Merge pull request #4055 from Azure/ARO-14549
Update go-restful to 2.16.0
2025-01-22 08:17:25 -08:00
Ben Vesel c086851126
Merge pull request #4053 from Azure/tsatam/hotfix-devproxy-mkdir-p
Add -p to mkdir commands in dev-proxy script
2025-01-22 09:08:58 -05:00
Amit Arora 9ea0e524dd
Metrics/GenevaActions for Clustersync (#3785)
* Metrics for SyncSet and SelectorSyncSets

merging 8659 and 9545

Metrics for SyncSet and SelectorSyncSets

* Since emitClusterSync is run unconditionally, even in environment
without Hive, make sure that it doesn't panic when the monitor's
hive.ClusterManager is nil

Compare to preexisting code in emitHiveRegistrationStatus

* Add Hive rest config and ClusterManager to monitor

---------

Co-authored-by: kimorris27 <kimorris@redhat.com>
2025-01-22 14:42:42 +05:30
Taylor Fahlman 0832529971 Update go-restful to 2.16.0 2025-01-21 11:22:21 -08:00
Tanmay Satam e9f736d16d Add -p to mkdir commands in dev-proxy script 2025-01-20 19:08:10 -05:00
Alex Chvatal e1efeb6857
ARO-12200 include expected values for MIWI arguments in az aro create usage (#4050)
* include expected values for MIWI arguments in az aro create usage

This updates the usage for `az aro create` to show the expected values
for the `--assign-platform-workload-identity`/`--assign-platform-wi` and
`--mi-user-assigned`/`--assign-cluster-identity` arguments. This
should make it easier for users to provide the expected input

* Update python/az/aro/azext_aro/_params.py

Co-authored-by: Taylor Fahlman <tfahlman@redhat.com>

* clarify workload identity usage for cluster creation

* add detail for workload identity parameters in usage for upgrade

---------

Co-authored-by: Taylor Fahlman <tfahlman@redhat.com>
2025-01-20 13:49:58 -05:00
Taylor Fahlman b6a5f9ca0d
Merge pull request #4032 from Azure/dependabot/go_modules/golang.org/x/crypto-0.31.0
Bump golang.org/x/crypto from 0.28.0 to 0.31.0
2025-01-17 06:51:36 -08:00
Tanmay Satam e0729c87b1
Log Hive CD on install failures (#4026) 2025-01-16 16:25:37 -05:00
dependabot[bot] e8d599c220
Bump golang.org/x/crypto from 0.28.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.28.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.28.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-16 20:37:00 +00:00
Rajdeep Chauhan bcc519c399
Fix MIWI Cluster update flow to add new openshift operator identity (#4037)
* ARO-13916 fix new operator identity addition flow for miwi cluster update

* ARO-13916 add the federateIdentityCredentials step back to update

* ARO-13916 populate client/object IDs after dynamic validation

* ARO-13916 update dynamic validation unit test cases

* ARO-13916 persist user assigned identities with client and object id after dynamic validation
2025-01-15 13:27:59 -08:00
Tanmay Satam e723a443a3
Split output of failurelogs' list results (#4015)
* Add tests to capture existing behavior

* Log nodes individiually and return simple summary

* Log COs individually and return simple summary

* Log ICs individually and return simple summary

* Update steprunner tests to capture new failure logging format

* Do not output summary strings as JSON
2025-01-15 13:13:42 -08:00
Tanmay Satam c6c8c5b983
Update disableSamples to create samples config resource if it does not exist (#4045)
* Update disableSamples test to use samplesclient fake instead of mock

* Create new samples config with Removed managementstate if config does not exist
2025-01-15 13:17:41 -05:00
Taylor Fahlman 1f5fb9aa18
Merge pull request #4017 from Azure/ARO-13325
Default `MonitoringEnabled` flag to false
2025-01-15 06:26:50 -08:00
Taylor Fahlman dd33f8a1ee Skip monitoring tests if MonitoringEnabled is set to false 2025-01-14 12:42:02 -08:00
Taylor Fahlman 0448195c9f Remove e2e tests 2025-01-13 10:47:44 -08:00
Tanmay Satam 3c46c93520
Update default install version in localdev to 4.15.35 (#4043) 2025-01-10 12:05:07 -05:00
Tanmay Satam fb7f70c97d
Add WI create parameters to validate (#4042) 2025-01-10 11:13:59 -05:00
Hilliary Lipsig bf470f0381
Merge pull request #4006 from Tof1973/tof1973/hotfix-ease-ocp-version-usage
improve OCP version definition in local RP
2025-01-07 18:57:10 -08:00
Hilliary Lipsig 6b1f7deef7
Merge pull request #4039 from Azure/sankur-codes/ankur-codeowner
Adding ankur as codeowner
2025-01-06 19:33:31 -08:00
Jose Gavine Cueto 1071de8cee
[ARO-12518] Map other error's http status codes to correct result type. (#3995) 2025-01-06 14:11:01 -08:00
Sudharsan Reddy M H 32af68c254
Updating MDM, MDSD, Fluentbit Images (#4040)
* Updating MDM, MDSD, Fluentbit Images

* updating the gateway and rp json files
2025-01-06 14:29:00 -05:00
Rajdeep Singh Chauhan 9b7b6494c1 ARO-12514 move the isMIWI check to validatePlatformWorkloadIdentities 2025-01-06 09:16:28 -05:00
Rajdeep Singh Chauhan c6b059fe0d ARO-12514 add unit tests for validatePlatformWorkloadIdentities 2025-01-06 09:16:28 -05:00
Rajdeep Singh Chauhan dbeecf0301 ARO-12514 update/add unit test cases for preflightvalidation 2025-01-06 09:16:28 -05:00
Rajdeep Singh Chauhan c6ed8eb263 ARO-12514 fix preflightvalidation such that latest apiversion tests passes 2025-01-06 09:16:28 -05:00
Rajdeep Singh Chauhan f86de4ee8e ARO-12514 unit test cases put/patch workload identity mismatch 2025-01-06 09:16:28 -05:00
Rajdeep Singh Chauhan 37e5cd5d96 ARO-12514 add comments and use existing getAvailablePlatformWorkloadIdentityRoleSets 2025-01-06 09:16:28 -05:00
Rajdeep Singh Chauhan 8a29d2ce15 ARO-12514 check expected platform workload identity at frontend for create/update flows 2025-01-06 09:16:28 -05:00
Rajdeep Singh Chauhan 3f016b6f3d ARO-12514 additional util functionsPlatformWorkloadIdentityRoleSet functions 2025-01-06 09:16:28 -05:00
Ayato Tokubi 00b9c6fcf2
Modify storage suffix length and add comment for clarity (#4019)
Increased the length of the storage suffix generated from 5 to 10 characters for improved uniqueness.
2025-01-06 05:52:06 -08:00
Caden Marchese bf20a0990d
Add PlatformWorkloadIdentityRoleSetsList to operations list for v2024-08-12-preview (#4021)
* Add PlatformWorkloadIdentityRoleSetsList to operations

* fix incorrect operation name
2025-01-06 05:51:22 -08:00
Ankur Singh c3137f3855 Adding ankur as codeowner 2025-01-06 18:50:31 +05:30
Tanmay Satam 379fa73d38
Use built-in marshaler for all track2 SDK structs (#4035)
* Use built-in marshaler for all track2 SDK structs

* Update admin resources list test to follow new expectations for track2 resources
2025-01-03 17:42:20 -05:00
Steven Fairchild b53b0f3751
Hive Update af54e2fbd9 (#4018)
* Update Hive image to be mirrored to latest master image

https://quay.io/repository/app-sre/hive/manifest/sha256:6f2bc221b1b0bf546994b65d7b421fa6308a9e10478e1b868d0150ca77bc4dca

* Update Hive API Go module

Update Hive API Go module to match version updated in aks.
2025-01-03 14:21:51 -08:00
Kipp Morris 9d27d4fad9
Ensure necessary env vars are set for temp DB deletion (#4036) 2025-01-03 12:34:40 -08:00
Ayato Tokubi b534984ce5
Merge pull request #4022 from Azure/hevs/ARO-12538
aro-12538 - Migrating subnet client in purge.go to use arm.network
2024-12-26 13:08:27 +00:00
Sanjana Lawande 1bc1da6f67
improve federated cred naming (#3997)
* improve federated cred naming

* use underscore instead of hyphen to separate service account name and cluster name

* work in progress commit

* change format to clustername + SAname

* fix failing unit test

* apply suggestions from code review
2024-12-23 13:41:53 -05:00
Ben Vesel 33deb92a34
Merge pull request #4031 from bennerv/bvesel/pin-opa-binary
Pin OPA to v0.70.0
2024-12-20 16:12:53 -06:00
bennerv 532c6f108b Pin OPA to v0.70.0 2024-12-20 16:07:33 -06:00
Tanmay Satam 4d789819de
Add openshift-ovn-kubernetes NS to permitted NS list in admin actions (#3998) 2024-12-20 15:25:48 -05:00
Tanmay Satam c4ed7d6235
Merge pull request #4016 from Azure/rajdeepc2792/fix-miwi-dynamic-validation
pass fp cred to the dynamic validator for miwi flow
2024-12-20 09:55:25 -05:00
Kipp Morris 15920e15ab
Keep polling Hive ClusterDeployment if we encounter a transient connection failure (#4028) 2024-12-20 13:32:15 +11:00