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

6965 Коммитов

Автор SHA1 Сообщение Дата
Taylor Fahlman eb88f75075 Add fahlmant as code owner 2024-09-30 10:12:37 -07:00
Tony Schneider 9584d669b6
generalize secret storage deployment and update shared rp documentation (#3828)
* generalize secret storage account deployment template
* update secret storage deployment step
2024-09-13 18:14:38 +10:00
Hilliary Lipsig 9564d81f94
Merge pull request #3835 from stevekuznetsov/skuznets/bump-enumer
.bingo: use a fork of enumer for compat
2024-09-12 15:57:49 -07:00
Amber Brown 4d538c1503
Bump admin portal dependencies for Sept 24 (#3833)
* bump "send"

* update semver portal deps

* build portal
2024-09-12 13:58:30 -04:00
Steve Kuznetsov 2780c18ecd
*: update generated enumerations
Signed-off-by: Steve Kuznetsov <stekuznetsov@microsoft.com>
2024-09-11 06:56:15 -06:00
Steve Kuznetsov 0de9cb15c9
.bingo: use a fork of enumer for compat
The original `enumer` tool is not maintained for the last five years and
does not support newer Go syntax. We can use this fork of the tool that
is getting life support for this reason instead.

Signed-off-by: Steve Kuznetsov <stekuznetsov@microsoft.com>
2024-09-11 06:53:17 -06:00
Or Raz abf4167f01
Refactor Hive Directory (#3765)
* Move Hive hack files under one directory
Group the Hive files under hack directory to hack/hive

* Refactor Hive installation and hack files location
Group the Hive files under hack directory to hack/hive, and refactor Hive installation using main function and utils.sh

* Print troubleshooting for Hive deployment rollout
Trust in the operator installation and print two options to monitor Hive deployment rollout

* Small fixes for hive installation script
Use double quote to prevent word splitting, break long line into multiple, use '-n' over '! -z', simpler if check, use consistent function declaration syntax, trap outside main and after cleanup is declared
2024-09-11 14:31:35 +02:00
Hilliary Lipsig fa7af61f57
Merge pull request #3818 from Azure/lranjbar/ARO-10003-etchosts-managed-flag
ARO-10003: Add managed flag to etchosts controller
2024-09-10 16:33:39 -07:00
Rajdeep Chauhan 66f073f205
Dynamic validation for workload identity permissions and requirements (#3619)
* ARO-4376 Track2 authorization api addition for roledefinitions

* ARO-4376 add a stringutil funcs

* ARO-4376 use dbPlatformWorkloadIdentityRoleSets to get platform identity roles for cluster version

* ARO-4376 add dynamic validation for platformworkloadidentityprofile

* ARO-4376 resolve initial comments

* ARO-4376 refactor error messages and checkaccess action crosscheck

* ARO-4376 Add unit tests and comments resolution

* ARO-4376 add validation for upgradeableTo

* ARO-4376 Comment resoultion and additional unit tests

* ARO-4376 minor version comparison handling

* ARO-4376 update permission error messaging handling for MIWI

* ARO-4376 update constructors to return non-interface type

* ARO-4376 add unit tests for GroupsIntersect

* ARO-4376 update generate files to support bingo
2024-09-10 16:32:25 -04:00
Lisa Rashidi-Ranjbar 89be0b2e96
ARO-10003: Add managed flag to etchosts controller 2024-09-10 11:19:01 -07:00
Amber Brown 590e82881c
Clean up the remainder of `go run` uses of external tools (#3823)
* fix make aro build in onebranch
* just install jq for clean subscription
* move fipsdetect and gojq out of go run/manual go build territory
* install tools for validate-fips and e2e
* add to bin
* copy gojq here too
* go mod tidy
* go mod vendor
2024-09-10 18:28:06 +10:00
Amber Brown bd9af03917
Only perform machineconfig reconciliation during OpenShift upgrades (#3473) 2024-09-10 18:24:46 +10:00
Ayato Tokubi 98fe23c8a2
Merge pull request #3787 from Azure/rhamitarora/ARO-0000-minor-dockerfile-change
Docker file change replace as with AS
2024-09-09 09:48:29 +01:00
Amber Brown 44bc3cc724
[MIMO] Move cluster certificate functionality to ClientHelper (#3736)
* move over TLS applying, as well as some clienthelper work
2024-09-05 15:44:46 +10:00
Amber Brown c554e98391
Drop some unneccessary dependencies by moving to `bingo` for tooling (#3719)
* Move to using bingo for tools
* go mod vendor
2024-09-05 15:29:19 +10:00
Brendan Bergen 0c5b8e6acc
Separate Makefile targets for local vs containers (#3816)
- reverts changes to runlocal-rp
- updates old run-portal to runlocal-portal since it uses local bins
- adds new targets for containerized run of RP and Portal; opt-in
- fixes docs and pipelines to use updated targets
2024-09-04 15:45:44 -04:00
Brendan Bergen 4059644b4a
Make CI-RP Improvements (#3791)
- Remove linting from ci-rp
- Remove generate from ci-rp
2024-09-04 15:03:26 -04:00
Brendan Bergen 865e01be58
Generate smaller OIDC keys for unit tests (#3811)
- significantly increases unit test performance by moving from 4096 -> 256 bit keys
- preserves 4096 bit keys for all non-testing scenarios
2024-09-04 15:03:15 -04:00
Brendan Bergen 4323fa741d
Fix slow tests in /pkg/frontend (#3810)
* Clarifying etcd cert renew test

- Updated the test to make it clear it is passing because timeout is being reached
- Updated the timeout from 10s -> 0s to pass faster

* Fix slow changefeed tests
2024-09-04 11:30:31 -06:00
Brendan Bergen 49525d2cff
Fix slow tests in /pkg/backend (#3809) 2024-09-04 11:29:15 -06:00
Brendan Bergen c2da97aa53
Correct testing/time issues in pkg/deploy (#3808)
- Percolate up the time to wait for LB healthcheck probes, test @ 0 sec
- Correct a context timeout test case, test @ 0 sec timeout
2024-09-04 11:26:50 -06:00
Hilliary Lipsig 635c5a3493
Merge pull request #3755 from Azure/nwnt/security-waves-2-vulns
Address the vulnerability reported in Security Wave II
2024-09-03 23:21:43 -07:00
Nont 7e7703fab7 Use sudo for tdnf 2024-09-03 17:39:54 -05:00
Brendan Bergen ddff7a2e56
Fix make ci-clean and runlocal-rp (#3806)
* Fix make ci-clean error for running work containers by buildah that prevents prune from working
* Fix make runlocal-rp image syntax
2024-09-03 11:39:49 -06:00
Hilliary Lipsig efc69527a0
Merge pull request #3814 from Azure/mabadper/update-owners
Adding Ayato to CODEOWNERS
2024-09-03 09:18:23 -07:00
Miguel Abad Perez 0e05db447a
Adding Ayato to CODEOWNERS 2024-09-03 12:54:24 +02:00
Ayato Tokubi 9c23bd9234
Add smoke test documents (#3813) 2024-09-03 09:49:30 +02:00
Brendan Bergen 710eb2bdf0
Add the old make runlocal-rp as an alternative to containerization (#3789) 2024-08-30 14:52:47 -06:00
Nont 29f922900d Change home dir to /tmp for podman
see https://github.com/containers/podman/issues/23818
for more details.
2024-08-30 14:44:55 -05:00
Nont 09756dcfe8 Install more OCI packages 2024-08-30 14:44:55 -05:00
Nont e504eb2a88 Install crun 2024-08-30 14:44:55 -05:00
Nont 62d628de86 Switch back to OneBranch build image 2024-08-30 14:44:54 -05:00
Nont da9bf68821 Install required binary for Podman 5 in ci 2024-08-30 14:43:34 -05:00
Nont 962402bff1 Upgrade to Podman 5 to fix the vuln 2024-08-30 14:40:37 -05:00
Petr Kotas 751cfe3b6b
Move ARM swagger to subfolder (#3805)
To add new HCP RP, the ARO RP is moved into the subfolder openshiftclusters.

There are no additional changes, no impact on the SDK and clients.
2024-08-30 18:18:40 +02:00
Ayato Tokubi 725fd1b017
Add smoke test for alerts from Alertmanager (#3801) 2024-08-30 18:16:31 +02:00
Shubhadapaithankar b1caf181ee
This is the new CI-RP stage for the pipline (#3768)
* This is the new CI-RP stage for the pipline (#3753)

* Ensure Podman Service is Started and PODMAN_REMOTE_ARGS is Configured Automatically

Ensure Podman Service is Started and PODMAN_REMOTE_ARGS is Configured Automatically

Ensure Podman Service is Started and PODMAN_REMOTE_ARGS is Configured Automatically

removed the tag

Add Podman service start and remote args setup for seamless operation

Add sudo to start Podman service for elevated permissions and fix permission errors

Add sudo to start Podman service for elevated permissions and fix permission errors

Refactor Makefile: Update Podman service handling with sudo and remove default PODMAN_REMOTE_ARGS to improve flexibility and ensure proper permissions.

Add sudo to start Podman service for elevated permissions and fix permission errors

* Added Podman service target and set PODMAN_REMOTE_ARGS for seamless builds.

* fix the makefile

* added the port to fix the Makefile
2024-08-29 09:09:59 -04:00
Maitiú Ó Ciaráin 2f651e7ef0
Merge pull request #3781 from Azure/lranjbar/ARO-9570-udr-etchosts-operator-patch
ARO-9570: Add a controller to the ARO operator to lay down etchosts
2024-08-28 14:43:19 +02:00
Maitiú Ó Ciaráin 5dfba0547e
Merge pull request #3780 from Azure/copy-fluentbit
Copy Fluenbit Image
2024-08-28 11:43:22 +02:00
Maitiú Ó Ciaráin fd2b2f9719
Merge pull request #3796 from Azure/shubhadapaithankar/runlocal-rp-version-fix
Fixed  to correctly reference the local  image tag
2024-08-28 11:42:26 +02:00
Maitiú Ó Ciaráin 6360087efa Add licenses 2024-08-28 11:37:32 +02:00
Maitiú Ó Ciaráin 564f1b03c1 Fix linting 2024-08-28 11:35:17 +02:00
Alex Chvatal fec517c2fc test the operator identity secret generation code properly 2024-08-27 16:12:16 -04:00
Alex Chvatal 4666495cfc get subscription info from the subscription doc rather than env 2024-08-27 16:12:16 -04:00
Alex Chvatal 69c55bf972 Update pkg/operator/deploy/deploy.go
Co-authored-by: Ayato Tokubi <atokubi@redhat.com>
2024-08-27 16:12:16 -04:00
Alex Chvatal fde6d81e6c generate a secret for the operator from workload identity 2024-08-27 16:12:16 -04:00
dependabot[bot] e83bf05c27
Bump micromatch from 4.0.7 to 4.0.8 in /portal/v2 (#3795)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/4.0.8/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.7...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 12:56:26 -04:00
Shubhada a05c82c50e Fixed to correctly reference the local image, preventing unauthorized Docker Hub pulls. 2024-08-26 09:49:05 -07:00
dependabot[bot] 426b56b5ac
Bump oxsecurity/megalinter from 7 to 8 (#3794)
Bumps [oxsecurity/megalinter](https://github.com/oxsecurity/megalinter) from 7 to 8.
- [Release notes](https://github.com/oxsecurity/megalinter/releases)
- [Changelog](https://github.com/oxsecurity/megalinter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oxsecurity/megalinter/compare/v7...v8)

---
updated-dependencies:
- dependency-name: oxsecurity/megalinter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 10:07:36 -04:00
Amit Arora f033ba1eaa Docker file change replace as with AS 2024-08-25 21:57:29 +05:30