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

6449 Коммитов

Автор SHA1 Сообщение Дата
Matthew Barnes 809041fe2e
Move default openshift version (#3094)
* api: Avoid referencing DefaultInstallStream in tests

* frontend: Avoid referencing DefaultInstallStream

The frontend's OpenShiftVersions change feed handler will record
the current default version for the rest of the frontend to use.

* monitor: Remove latestGaMinorVersion metric

The RP no longer has this information internally, so the metric
is no longer relevant.

* update_ocp_versions: Read versions from an environment variable

Read OpenShift versions and pull specs from an OPENSHIFT_VERSIONS
environment variable containing a JSON object. This data includes
the default OpenShift version for new installs that don't specify
a version.

This moves us toward eliminating hard-coded OpenShift versions in
pkg/util/version/const.go.

* cache_fallback_discovery_client_test.go: Hard-code version

I'm not sure what to do with this test.  Install stream data has
moved to RP-Config, so if the test is worth keeping then I guess
the oldest supported version will have to be hard-coded and kept
up-to-date.  But it probably won't be.

* version: Remove DefaultInstallStreams

DefaultInstallStream will remain for now, but it's ONLY for use by
local development mode until we can come up with a better solution.

---------

Co-authored-by: Matthew Barnes <mbarnes@fedorapeople.org>
2024-01-18 13:20:03 -07:00
dependabot[bot] 016ba7b4b9
Bump follow-redirects from 1.15.2 to 1.15.4 in /portal/v1 (#3348)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 09:30:13 -05:00
Amber Brown b4e8930830
Make env know what the service component its running is (#3254)
* make env know what the service component its running is

* regen mocks
2024-01-17 15:17:14 +11:00
Amber Brown 253a59efa4
Trim the dependency tree (#3351) 2024-01-17 12:08:17 +11:00
Nont aee18fe570
Improve NSG monitoring by retrieving subnet only once (#3324)
* Improve NSG monitoring by retrieving just once

* Skip wp profiles if count is 0
2024-01-11 14:08:50 -07:00
Nont 5068e9d4e7
Add unit tests for ensureAccessTokenClaims (#3337) 2024-01-11 07:22:44 -07:00
Amber Brown aaca34ee0b
Add Go 1.20 images (and ose-tools-rhel8 for 4.14) (#3349) 2024-01-11 21:12:50 +11:00
dependabot[bot] 81e0cf6cc9
Bump follow-redirects from 1.15.2 to 1.15.4 in /portal/v2 (#3347)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 14:55:14 +11:00
Nicolas Ontiveros 477a0453c8
Add maintenance state for customer action needed (#3294) 2024-01-10 09:06:26 -07:00
Ankur Singh e7550b17ba
Fixing cert metric emitting condition param (#3284) 2024-01-10 08:22:03 -07:00
azoppiserpa 40e7987ef8
Fixing magic strings on operator flags (#3327)
* replacing usages of magic strings with flags from the subpackage

* removing the //todo comment regarding the magic strings

* replacing magic strings with operator constants

* move DefaultOperatorFlags to operator package, inject when needed
2024-01-04 15:59:24 +11:00
Ben Vesel 89f508910d
Remove aro build tag as it's not needed for the ARO-RP (#3341) 2024-01-04 10:52:09 +11:00
Jeff Yuan 5218c82775
Merge pull request #3319 from yjst2012/guardrails-add-user
added exempted user to guardrails
let the cleanup continue when failure occurs
iterate over all namespaces to find out if another gatekeeper is deployed
2024-01-04 10:13:13 +13:00
Caden Marchese 82f47281d4
Remove dnsmasq restart script for new clusters (#3313) 2024-01-03 10:00:30 -05:00
Amber Brown 9a622aba0e
Update APAC CODEOWNERS (#3338)
* add Daniel as APAC backup functional lead

* add dofinn to codeowners
2024-01-03 11:53:29 +11:00
Daniel Ionel Bizau 4afe1d7339
disable gzip compression as a workaround (#3339) 2024-01-02 19:10:44 -05:00
Miguel Abad Perez 6f75d7fd1c
References to new repos and steps to update wrapper instead of RP (#3311)
* References to new repos and steps to update wrapper instead of RP

* Clarifications about installer-aro branching/pr process
2023-12-21 11:56:42 +01:00
Jeff Yuan 7bf277bd1d iterate over all namespaces to find out if another gatekeeper is deployed 2023-12-21 16:45:41 +13:00
dependabot[bot] 7ac04c0ae5 Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-20 16:15:53 -05:00
dependabot[bot] c2e4bf4509 Bump golang.org/x/crypto from 0.14.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-20 16:15:36 -05:00
dependabot[bot] 5aac7c6b93 Bump github.com/containerd/containerd from 1.6.18 to 1.6.26
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.18 to 1.6.26.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.6.18...v1.6.26)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-20 16:14:35 -05:00
kimorris27 3b2db9c121 Added space and fixed grammar in user-facing error messages 2023-12-20 15:56:59 -05:00
kimorris27 d7377e7d67 Capitalize `Azure` in customer-facing error message 2023-12-20 15:56:59 -05:00
kimorris27 adb1f0c4c8 Update attachNSGs cluster install step to retry if Azure complains that NSG is not yet ready 2023-12-20 15:56:59 -05:00
Amit af1f7ae2ac dynamic validation on CIDR 2023-12-19 11:24:41 -05:00
cadenmarchese fe32083726 use aro-must-gather for CI 2023-12-15 14:16:17 -05:00
Tanmay Satam f3f4d1be50 Add information to admin-portal.md about Prometheus UI 2023-12-15 14:15:35 -05:00
Tanmay Satam 23290e4f1b Include and serve static prometheus web UI in admin portal 2023-12-15 14:15:35 -05:00
Kipp Morris de1b399b6c
`az aro update` CredentialsRequest hotfix (#3325)
* If the CredentialsRequest isn't found, retry until timeout instead of immediately erroring out

* `ensureCredentialsRequest` upon every `az aro update`

* Add an E2E test for the `az aro update` scenario where the ARO
operator's CredentialsRequest has been deleted
2023-12-14 15:49:19 -05:00
cadenmarchese 21f0e23ad3 move from debugf to infof 2023-12-12 10:20:21 -05:00
cadenmarchese e2acf59ad5 remove managedBy check 2023-12-12 10:20:21 -05:00
cadenmarchese bcde35852b add shared-cluster to rg clean deny list 2023-12-12 10:20:21 -05:00
Jeff Yuan 17ad4315a4 update test cases 2023-12-12 10:42:42 +13:00
Christoph Blecker aad0e2dd31
Merge pull request #3320 from Azure/dependabot/github_actions/actions/setup-go-5
Bump actions/setup-go from 4 to 5
2023-12-11 08:49:35 -08:00
dependabot[bot] 4d59736dd1
Bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 06:24:51 +00:00
Jeff Yuan 1b8adb22fd let the cleanup continue when failure occurs 2023-12-11 18:34:13 +13:00
Jeff Yuan 031270377d added exempted user to guardrails 2023-12-08 17:01:49 +13:00
Ben Vesel c3d127ad47
Use image digests for fluentbit images (#3316) 2023-12-07 09:08:31 -05:00
Dominic Finn ae4a30437f
Merge pull request #3317 from Azure/dofinn-patch-1
Update prepare-your-dev-environment.md
2023-12-07 19:55:14 +11:00
Dominic Finn 924cf83465
Update prepare-your-dev-environment.md
mac podman/docker user updates
2023-12-07 14:24:39 +11:00
Andrew Denton 91fd9d00ac
Enable 4.13.23 as an install target instead of 4.13.16 (#3314) 2023-12-05 17:29:26 -05:00
Andrew Denton cb6ab10d16
Enable 4.13.16 as an install target (#3312) 2023-12-05 14:57:13 -05:00
Ben Vesel 14d5b29238
Remove openshift/installer vendored dependency script (#3301) 2023-12-04 16:34:32 -05:00
Ben Vesel 232d3bc536
Move to correct mdsd image (#3308) 2023-12-01 16:11:41 -05:00
Steven Fairchild 86deb391a8
MDM Image Bump - ARO-4792 (#3297)
Update MDM image to 2.2023.1118.1225-d7e0d6-20231118t1338
Update MDSD image to mariner_20231109.1
2023-12-01 13:40:15 -05:00
Steven Fairchild 72fd8ad97c
Update Go Vendored Modules - ARO-4776 (#3302)
* MDM Image Bump - ARO-4792

Update MDM image to genevamdm:2.2023.1118.1225-d7e0d6-20231118t1338

* Update k8s.io/kubernetes - ARO-4776
Update Go vendored modules to fix:
  - [GHSA-hq6q-c2x6-hmch](https://github.com/advisories/GHSA-hq6q-c2x6-hmch)
2023-12-01 13:39:42 -05:00
bennerv 01ce6a1ec5 Add libzstd.so.1 to fluentbit container build 2023-12-01 11:13:15 -05:00
Jeff Yuan 548ad5cb0c
Merge pull request #3232 from SrinivasAtmakuri/remove-IsLessThanMinimumDuration
etcd-renew - Add extra validation and remove IsLessThanMinDuration
2023-11-30 18:46:41 +13:00
Daniel J. Holmes (jaitaiwan) 6b15494718 fix(admin): Ensure check on certData slice 2023-11-30 13:51:18 +10:00
Tony Schneider 9b92b4f79b
Admin action to delete a cluster managed resource (#3286)
* add ResourceDeleteAndWait to azureactions

* add delete resource admin action and frontend routing

* add helper functions for lb config manipulation

* refactor azure actions
- moves resource delete code to seperate file
- adds loadbalancer client to handle deleting FrontendIPConfiguration
- updates ResourceDeleteAndWait to handle deleting FrontendIPConfigurations
- adds DeleteByIDAndWait to features/resources client

* add e2e tests

* fix imports and add license headers

* cleanup / fix lint

* add command example to doc

* rename to "managed" resource id

* change query param to camel case

* use var group instead

* return error as adminReply already wraps in CloudError

* fix missed camelCase of query param

* use regex to match frontend ip configurations

* remove focus

* add deny list to prevent deleting PLS and Storage

* fix mixed import

* use fake pls name to prevent accidently deleting e2e cluster pls

* fix test

* add PE to deny list
2023-11-29 17:09:56 -05:00