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

6749 Коммитов

Автор SHA1 Сообщение Дата
Amber Brown 94cd8d7f27
[ARO-9169] Remove disused clustermanager frontend code (#3642) 2024-07-17 09:39:37 +10:00
Steven Fairchild 639fd8698e Bug fix - Add nil pointer check for LoadBalancerProfile in cluster metrics 2024-07-16 05:50:15 -07:00
Amber Brown d9800f0e7d
Update controllergen commands to work with 0.9.0 (#3680)
* update controllergen commands to work with 0.9.0

* changes from yaml output

* go mod vendor
2024-07-16 19:10:56 +10:00
Maitiú Ó Ciaráin 7384422fe5
Merge pull request #3693 from Azure/atokubi/e2e-panic
fix dev env panic in e2e
2024-07-16 08:53:03 +02:00
Caden Marchese 30061211bc
Add doc on rotating full RP env VPN certs (#3544)
* Add doc on rotating full RP env VPN certs

* remove ./ from source commands

* use ./ when sourcing the hack script
2024-07-15 09:44:43 -05:00
Ayato Tokubi 5c96d96239
fix dev env panic in e2e 2024-07-15 13:12:17 +01:00
Amber Brown 31af734103
[ARO-5368] Try and log the VM info + console log on failure (#3629)
Dumps the VM info + console logs on failure so that we don't need to run the Geneva Action or have the control plane still around to get it. Also refactors frontend and geneva action to make use of the same code path.
2024-07-15 16:32:23 +10:00
Tanmay Satam 1b6e0e7584
Add controller to disable CPMS on ARO clusters (#3660)
* Update openshift/api to release-4.12

* Add machinev1 resources to scheme

* Add CPMSDeactivatorEnabled flag

* Add CPMS Deactivator operator controller

* Add controlplanemachinesets to system:aro-sre ClusterRole

* Use better naming convention for CPMS controller flag

* Change debug log messages to info

* Make CPMS controller exit early if clusterversion < 4.12

* Only setup CPMS controller on clusters with machinev1 API

This is necessary in order to Watch the CPMS resource - this operation will fail on
clusters that do not support the Machine V1 API (OCP <= 4.11), causing controller
setup to fail. Since these clusters do not have a CPMS resource to manage, we can
safely skip running this controller on those clusters.

* Fix CPMS controller name
2024-07-12 12:38:39 -06:00
Brendan Bergen f7c752b245
HOTFIX: correct local image names (#3682)
- eliminated TCP errors attempting to hit localhost:443 as a registry domain
- eliminated build failures caused by incorrect final tag name with unset envvars
2024-07-12 10:02:58 -06:00
Maitiú Ó Ciaráin 367a4799fd
Merge pull request #3600 from Azure/nwnt/trusted-launch-devproxy
Make dev-proxy use Trusted Launch
2024-07-12 08:53:47 +02:00
Maitiú Ó Ciaráin 3cd8bc51b4
Merge pull request #3617 from Azure/cadenmarchese/ARO-6449/go-script
New cmd to populate PlatformWorkloadIdentityRoleSets in dev and prod
2024-07-12 08:50:37 +02:00
Nont 6b30e877f1 Fix lint 2024-07-11 09:20:56 -05:00
Maitiú Ó Ciaráin 6effeb1260
Merge pull request #3594 from Azure/network-track2-rest
Update network SDK to track2
2024-07-11 12:47:15 +02:00
Nont 5f00bdb54a Change to DiskEncryptionSetIdentityType 2024-07-10 17:57:01 -05:00
Tanmay Satam 2eb19ec6ea
Containerize tunnel (#3646) 2024-07-10 14:58:46 -04:00
Mohammed Safwan Aslam Kazi 001751784b
Updates Test Suite To Use New GA API Plus Adds Missing Functionality To Our Internal Utility Clients (#3640)
* adds the missing functionality to these apis

* removes the functionality from 20230904 as it is not needed

* replaces old api referencings with new ones

* small fixup and referencing to new api

* creates cluster with new api
2024-07-10 14:54:17 -04:00
Mohammed Safwan Aslam Kazi 46a75fa107
Architecting Local `make ci-rp` File To Allow Caching For Later (#3623)
* adding new variables to handle tagging of intermediate docker images in a multi-stage container file, which helps differentiating them from final slim image

* building intermediate docker images individually

* using --cache-from flag to point to an image name instead of tags

* building intermediate images pointing to localhost instead of actual registry

* creates new variable in code to manage fake FQDN for localhost

* removing complexity and avoiding using fake FQDN for localhost

* rearranging the code line to maintain the relevance of the code

* using conditional assignment
2024-07-10 14:53:31 -04:00
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
Maitiú Ó Ciaráin ff69ffef6a
Merge pull request #3292 from tsatam/ARO-4632/operator-predicates
ARO Operator - Reduce unnecessary reconciles by limiting watched resources/changes
2024-07-09 15:43:21 +02:00
cadenmarchese f2d528d6b9 rename existing var with incoming 2024-07-09 08:47:22 -04:00
cadenmarchese 18c632f33b remove code comments 2024-07-09 08:47:22 -04:00
cadenmarchese 7ca11f46df address comments 2024-07-09 08:47:22 -04:00
cadenmarchese e6f5d87402 unmarshal PlatformWorkloadIdentityRoleSetProperties instead 2024-07-09 08:47:22 -04:00
kimorris27 ab3d3ef810 Tweak script to read in a list of role sets from env var (as opposed to
just one role set)

Also removed a function I found to be unnecessary and tweaked some of
the documentation comments.
2024-07-09 08:47:22 -04:00
kimorris27 9f664c0075 Fix a few nits 2024-07-09 08:47:22 -04:00
kimorris27 8a0597e7b9 Revert changes to API versioning in `pkg/util/cluster` - use same API
version for everything

I don't see why this change is needed, and
https://github.com/Azure/ARO-RP/pull/3583 was just recently merged. I'm
thinking that maybe Caden added these changes by mistake while
mid-merge.
2024-07-09 08:47:22 -04:00
cadenmarchese a51d0f3d3e new cmd to populate role sets in prod 2024-07-09 08:47:22 -04:00
cadenmarchese a6dab8f38f add default role set, populate in dev cosmosdb 2024-07-09 08:47:17 -04:00
Marius Schulz 10e5de36b5
[ARO-7788] Don't overwrite default installer version in local dev (#3671) 2024-07-09 11:55:16 +02:00
Maitiú Ó Ciaráin d1198c6f66
Merge pull request #3665 from Azure/mociarain/ARO-8608-refactor
Mociarain/aro 8608 refactor
2024-07-09 11:09:38 +02:00
Caden Marchese b704160742
Add new NASA codeowners to ARO-RP (#3672) 2024-07-09 13:19:24 +05:30
Steven Fairchild 3db436013f Improve logging, handling of empty metric values 2024-07-08 13:12:33 -07:00
Steven Fairchild cf51f260ac Emit cluster features enabled/disabled during cluster provisioning
Add workload identity or cluster service principal metrics emission
Add emit features
Emit features concerning newly installed clusters.
Add emitMetrics to all provisioning states
Add logging statements for metrics,
Allows metrics being emitted to also be used in kusto dashboards.
Constant values are used for all metric names in deminsions.
If an error is encountered while gathering metrics, that metric is omitted.
Unit tests provide 100% coverage for emitMetrics.

Rename emitMetrics to emitProvisioningMetrics, rename emitInstallMetrics to emitMetrics,
emitMetrics can be used for all provisioning states, not just creating state. Changed name to reflect this.
2024-07-08 13:12:33 -07:00
Steven Fairchild a69a16029e Bump Hive Image to commit b1ac27b248159f179abf8c7e03e6ada5f17e86c0 - ARO-5063
Update default hive commit for config script
2024-07-08 13:11:43 -07:00
Maitiú Ó Ciaráin 354dbcb7b5
Merge pull request #3669 from Azure/bump-azdev
bump azdev
2024-07-08 14:57:04 +02:00
Maitiú Ó Ciaráin b9400c448e
Merge pull request #3664 from Azure/s-fairchild/ARO-8852-hive-deploy-script
Update hive-generate-config.sh to accept differing versions
2024-07-08 12:15:53 +02:00
Maitiú Ó Ciaráin b6aec4e258
Merge pull request #3656 from Azure/tsatam/hotfix-increase-dev-proxy-vmss-disk-size
Increase dev-proxy-vmss OSDisk to 64GB
2024-07-08 11:47:11 +02:00
Ayato Tokubi 25a91572f9
fix lint error 2024-07-05 18:32:14 +01:00
Ayato Tokubi 4c1dec37a7
bump azdev 2024-07-05 17:02:19 +01:00
Maitiú Ó Ciaráin c36df74225
Merge pull request #3657 from Azure/dependabot/go_modules/github.com/gorilla/schema-1.4.1
Bump github.com/gorilla/schema from 1.2.1 to 1.4.1
2024-07-05 11:21:05 +02:00
Amber Brown 309e84bbe1 In admin updates, update the Operator version and then update the Cluster object 2024-07-05 16:02:16 +10:00
Marius Schulz 699e9fb423
[doc] local-rp dev docs should mention registering the sub (#3666) 2024-07-04 13:42:37 +02:00
Maitiú Ó Ciaráin 6b911872da
Merge pull request #3655 from Azure/ARO-8608
Add tenant ID to internal apis for CMSI usage
2024-07-04 10:51:42 +02:00
Maitiú Ó Ciaráin 446be7a32d Use consistent naming 2024-07-04 08:41:39 +02:00
Maitiú Ó Ciaráin 783ea2464f Collect arguments in a struct 2024-07-04 08:41:12 +02:00
Steven Fairchild d496b021dd Update hive documentation to include testing steps
Add information on how to provide a hive commit version, or use the default version.
The default version in hack/hive-generate-config.sh should be updated when the hive images are bumped.
2024-07-03 17:03:01 -04:00
Steven Fairchild e20e96f964 Fix up hive-generate-config.sh to accept a user provided hive commit
This allows for easier testing of hive deployments as a pre hive release check.
Script has been reworked for improved readability, function, and ability to debug.
2024-07-03 16:46:03 -04:00
Ayato Tokubi 2d9d821c4b
cluster.go 2024-07-03 16:43:50 +01:00
Ayato Tokubi fe2027c74a
generate 2024-07-03 16:37:33 +01:00
Ayato Tokubi ec2b148532
securitygroups 2024-07-03 16:37:33 +01:00