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

203 Коммитов

Автор SHA1 Сообщение Дата
Brendan Bergen 2d6b88cb10
Add git hooks for branch name validation (#3479) 2024-03-25 13:48:08 -06:00
Brendan Bergen c9b7d81508
Add CI containerfile for portal javascript build (#3397)
* Add CI containerfile for portal NPM commands + makefile target

* Update docs to reflect new envvar for makefile, including a reasonable default for local dev: NO_CACHE
2024-03-20 07:24:18 -04:00
Maitiú Ó Ciaráin 7ec73ba0cb
Update shared cluster login (#3424)
Update shared cluster login
2024-03-07 14:50:53 +01:00
Kipp Morris 8ee1b531ef
2024-08-12-preview API skeleton (#3419) 2024-02-29 12:37:28 -05:00
Amber Brown 35e907a2ab move the client-gen code to another makefile step, since it's busted :( 2024-02-20 14:03:07 +11:00
Amber Brown a1b5370138 move the github actions CI into containerised steps 2024-02-20 13:55:31 +11:00
Amber Brown b6e1b07fe8
Use another method of FIPS validation (fips-detect) (#3363)
* Use another method of FIPS validation (fips-detect)
2024-02-01 13:21:34 +11:00
Maitiú Ó Ciaráin efd47430a5
Update shared cluster usage (#3332)
* Update the hack script to require the new envs

* Add new targets to the Makefile

* Update the docs

* Fix typo

* Add some info to the delete flow

* Update docs/shared-cluster.md

Co-authored-by: Jason Healy <jason@jhealy.net>

* Tag all created resource groups with persist

* Drop shared-cluster from the explicit denys

* Update docs

---------

Co-authored-by: Jason Healy <jason@jhealy.net>
2024-01-25 12:02:23 +01:00
Amber Brown 340fc3711a Remove Dockerfile.aro and the image-aro Makefile -- the images made from it have the potential to be built with inconsistent Golang versions. 2024-01-24 14:43:01 -05:00
Jory Horeman 3abcd30e5b
2023-11-22 stable API (porting 07-01-preview api) (#3300)
* adding 2023-11-22 stable

---------

Co-authored-by: b-jhoreman <b-jhoreman@microsoft.com>
2024-01-18 14:15:38 -07: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
Amber Brown cd99e81d4a makefile to run kiota 2023-09-04 10:35:48 +10:00
Amber Brown b5ea75e75f
Add jq for must-gather (#3050) 2023-07-28 11:29:23 +10:00
Goutham Muguluvalli Niranjan f9ee191ad8
skeleton for 20230904 (#3048)
* skeleton for 20230904

* Update .sha256sum

---------

Co-authored-by: gniranjan <gniranjan@microsoft.com>
2023-07-21 12:16:46 -04:00
Jeff Yuan b06512afc3
Guardrails policies (M1) (#2970)
* Revert "temporarily remove policies other than the machine one as the example and test policy to create a base code pr"

This reverts commit 08d377d4b8.

* extracted shared rego resources to a separate lib

* improvement: rego unit test and gator test polishing (#2767)

* rego unit test and gator test polishing
* lint fix
* rego lint fix

* adjusted user id related judgement plus match kinds for resources other than pod

* added test cases for priv'd ns to cover pull-secret deletion

* add new policy for machine config modification (#2879)

* add new policy for machine config modification
* reformat yaml
* revise api group logic

* added pod host path policy

* dont run guardrails if a standard gatekeeper instance is already started

* comment out corresponding gator tests as r/w PV check is temporarily removed

* satisfy mega linter

* temporarily backoff the standard gatekeeper check

* enable standard gatekeeper check with proper test case modifications

* comment out non-namespaced resources

* add k8s specific namespaces to the priv'd list

* update README plus add two SA to allowed list

* update Guardrails README

* a typo in README

* allow policies to enforce on openshift-azure-guardrails namespace

* added group support for user validation

* update: Guardrail policy scripts and doc updates (#2941)

* update generate.sh to support single dir gen
* update scripts to support params
* update README

* added usage print for scripts

* change to flexible mode for username, group and SA name validation

* update get func to print more debug info

* rely solely on userInfo for user authentication

* extend audit-interval to slow down the audit run, plus display more violations

* roll back a temp change for local test

* dont allow updates for machine and machineset

* removed MachineSet

* unified the constraint filename and resource name to make the config easier

* adjust constraint and template name and kind as per convention

* update gatekeeper params, affinity and tolerations

* log violations

* white list more user and group

* extend priv'd ns protection to ns itself

* add guardrails policy generate entry in makefile

* make gator in README lower cased to keep consistent with official doc

---------

Co-authored-by: Arris Li <huili@redhat.com>
2023-07-18 14:04:40 +10:00
Srinivas Atmakuri 05890cfefe
Update gatekeeper version tag (#3028)
Currently gatekeeper picks up version as 3.10.0,
with this PR the version will be v3.10.0 by appending
a prefix v
2023-07-14 22:22:33 +12:00
Amber Brown 06b565ae84
Run local development and PR E2E in podman (#2817)
Runs local development and PR E2E in podman containers, rather than using the inbuilt installer.
---------

Co-authored-by: Jeremy Facchetti <facchettos@gmail.com>
2023-07-13 13:04:39 +10:00
Tony Schneider bcd60e807f
initial scaffolding for preview api (#2972) 2023-06-20 18:56:30 -04:00
Tony Schneider 477c735fd2
Reconcile upstream changes / remove Network SDK (#2851)
* sync with upstream
* remove network sdk from _validators.py
* ignore licensing in python/az/aro/azext_aro/aaz
* display command flag for get_subnet error message
* move import to top of file
2023-06-06 09:59:59 -06:00
Srinivas Atmakuri 6c32510ab5
minor name corrections for Gatekeeper-Guardrails image (#2918) 2023-05-30 11:38:48 +10:00
Srinivas Atmakuri d7bc5ea6d2
Guardrails image Dockerfile (#2873)
* Guardrails image Dockerfile

* minor change in dockerfile guardrails
2023-05-22 11:06:42 +10:00
Ayato Tokubi 6053ea5e16
remove go vet, replaced by golangci-lint (#2897) 2023-05-10 13:04:23 +10:00
Carlo Wisse a68f9c10ff
Fix client generation (#2867)
* Update autorest core to 3.6.3. Update nodejs to new secure LTS version for client generation. Fix permissions error in autorest Dockerfile for client generation.

* Added closing console line after api version generation
2023-05-02 13:36:41 +10:00
Caden Marchese 30370deecd
Revert "Update Makefile to not allow unset variables" (#2830)
* Revert "Fix e2e pipeline buy hardcoding ARO_IMAGE value"

This reverts commit 1e125095f4.

* Revert "Update Makefile to not allow unset variables"

This reverts commit 3d540c3a8e.
2023-04-06 12:11:27 +10:00
Steven Fairchild 3d540c3a8e Update Makefile to not allow unset variables
Adding SHELLFLAGS and switch to double dollar signs to prevent make from expanding bash variables
2023-04-03 10:50:57 -04:00
Amber Brown aee7b316c4 change mariner to go from MCR 2023-03-30 09:35:45 -04:00
Amber Brown 472d035f7e
Move CI/dev tool usage to use go run pkg@version to reduce the number of vendored dependencies (#2789)
Use the new go run thing@version for test/CI items to remove vendoring
2023-03-24 10:01:05 +11:00
Amber Brown 576bbd541c multistage for proxy 2023-03-16 15:17:44 -04:00
Amber Brown f7ef0b7668
Add a Fluentbit image build using Mariner containers (#2520) 2023-03-06 11:55:01 +11:00
Carlo Wisse 06356808f6 ran make client with new api version 2023-02-22 16:35:08 -05:00
Andrew Denton 98e39610ed
Always use lowercase "true" for the Official Release flag (#2673) 2023-02-01 13:49:10 +01:00
Amber Brown 127b0565f1
Migrate E2E to 1ES pool (#2638)
This doesn't include portal tests, those will follow.
2023-01-31 10:10:05 +11:00
Aldo Fuster Turpin a3fb28cfc6 fix/delete usage of flags at package-level and include Go test directive with -coverpkg in Makefile 2023-01-26 12:40:35 +01:00
Andrew Denton 2ca94a547f Change how release mode is passed to Makefile 2023-01-09 16:41:30 -05:00
Andrew Denton 4f90ba9e73 Require "official" builds have a valid tag. 2023-01-09 16:41:30 -05:00
Ellis Johnson eafca5aa99
Fix admin portal go embed (#2541)
* Fixed admin portal v2 navigation and e2e admin portal flakes

Check for docker before running e2e tests

* Assuming docker has failed until proven succeeded

* Made changes based on review feedback
2022-11-16 11:02:17 -08:00
Mikalai Radchuk bfafdea970 Adds junit report to E2E
So we can see trends and more easily identify most frequently failing tests.
2022-11-04 14:06:28 +00:00
Spencer Amann 2a9794b362 bump fluentbit image version to latest in makefile 2022-11-03 11:02:21 -04:00
Petr Kotas 4fa5b73f7d Build fat go file for the proxy
PRoxy needs to include all its dependencies instead of
linking them.
With links and ubi-minimal it can lead to missing libraries issue.

Signed-off-by: Petr Kotas <pkotas@redhat.com>
2022-11-02 19:03:25 +01:00
Mikalai Radchuk e2f927b67a Makes e2e flags consistent 2022-09-30 16:54:58 +01:00
Ross Bryan 3e302feefe add color back into e2es, easier to see pass/fails in ADO 2022-09-29 16:50:31 -04:00
Amber Brown 26ef9684eb update to ginkgo v2 in the e2e tests 2022-09-27 15:16:30 +01:00
Mikalai Radchuk 011e2ebe14 Makes ginkgo rerun flaky specs 2022-09-22 17:30:18 +01:00
Carlo Wisse 0ddff8d3d8 Removed registry from linter 2022-09-13 10:13:51 +10:00
Carlo Wisse 34605d0ad6 Remove all reported CVE issues with npm packages, create fallbacks for polyfills, use absolute path to eslint with formatter, upgrade all packages 2022-09-12 15:36:22 +10:00
Christoph Blecker aa3b6e7525
Fix autorest client generation 2022-08-30 19:18:07 -07:00
Christoph Blecker 3a592abe93
Specify platform when building or running images 2022-08-29 21:05:49 -07:00
Brendan Bergen b4c95223f1
Stop printing the admin password to console on login (#2322) 2022-08-11 13:39:57 -04:00
Andrew Denton 7fa655230b pin python versions using requirements.txt. 2022-08-10 16:57:18 +01:00
darthhexx 231b39b6a9 Revert to the correct quay.io repo (still needs to be pushed) 2022-08-05 11:03:10 +10:00