You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/e2e/README.md
+56-3Lines changed: 56 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ End-to-end tests that deploy the Mondoo operator to a real GKE cluster and verif
6
6
7
7
-**Fresh Deploy** (`run-fresh-deploy.sh`): Builds the operator from the current branch, deploys to a GKE cluster, configures scanning, and verifies everything works.
8
8
-**Upgrade** (`run-upgrade.sh`): Installs a released baseline version first, verifies it, then upgrades to the current branch and verifies again.
9
+
-**External Cluster** (`run-external-cluster.sh`): Deploys the operator and configures external cluster scanning against a target GKE cluster using a static kubeconfig Secret.
10
+
-**Vault External Cluster** (`run-vault-external-cluster.sh`): Like External Cluster, but uses HashiCorp Vault's Kubernetes secrets engine to dynamically generate short-lived service account tokens instead of a static kubeconfig.
9
11
-**Registry Mirroring & Proxy** (`run-registry-mirroring.sh`): Deploys with an Artifact Registry mirror repo and optional Squid proxy. Verifies image references are rewritten, `imagePullSecrets` are propagated, and proxy env vars are set.
10
12
11
13
All tests pause for manual verification at each verify step (check Mondoo console for assets/scan results). Press Enter to continue or Ctrl+C to abort.
@@ -61,6 +63,7 @@ terraform apply \
61
63
|`region`| no |`europe-west3`| GCP region |
62
64
|`autopilot`| no |`true`|`true` for Autopilot, `false` for Standard cluster |
63
65
|`enable_mirror_test`| no |`false`| Create a mirror AR repo for registry mirroring/imagePullSecrets tests |
66
+
|`enable_target_cluster`| no |`false`| Create a second GKE cluster for external cluster / Vault scanning tests |
64
67
|`enable_proxy_test`| no |`false`| Provision a Squid proxy VM for proxy tests (requires `enable_mirror_test`) |
65
68
66
69
You can also set these in a `terraform.tfvars` file.
@@ -99,6 +102,45 @@ What it does:
99
102
6. Upgrades to the current branch image via local Helm chart
0 commit comments