-
Notifications
You must be signed in to change notification settings - Fork 39
chore(ci): add e2e tests for cloud distros #1259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
144 commits
Select commit
Hold shift + click to select a range
c17641b
chore: add e2e tests for cloud distros
noahpb 4025736
lint fix
noahpb 5ba76b0
add validate task
noahpb aa1c4d7
trigger workflow
noahpb 9fca24c
mute task, make passthrough gw validation default to false
noahpb f3235e5
add metrics-server
noahpb ec770f5
exclude metrics-server on aks, group into one task
noahpb a80d8fc
syntax fix maybe?
noahpb 27cb7fd
no metrics server on eks
noahpb 391dbc0
more syntax fun
noahpb 8ae0ab8
try differnt syntax
noahpb 5871a11
change logic in if statement
noahpb 6bba450
add additional entries to hosts file
noahpb 97185ba
Merge branch 'main' into feat/e2e-test-nightly
noahpb 3a4d424
query for hostname
noahpb 1900b7b
get ip from hostname, lint
noahpb 3cf1f9a
allow e2e test to be built for multiple archs
noahpb a2f0432
fix arch value
noahpb edb4d69
switch arch default
noahpb ea443d1
Merge branch 'main' into feat/e2e-test-nightly
noahpb f4c1e4c
workaround for eks e2e tests
noahpb 9cd4b65
rm temp workaround
noahpb b1c9103
add aws-lb-controller to rke2, cleanup
noahpb 7d8437f
Merge branch 'main' into feat/e2e-test-nightly
noahpb c4794d2
debugging
noahpb 770b805
use `dig` instead of `curl` for ipv4 lookup
noahpb 71398c8
switch to azure gov
noahpb 38206c7
set azure gov env
noahpb ce92ce4
set audience and arm env
noahpb 19af81a
set environment in config block
noahpb 9766662
try access key
noahpb 8529730
add logic for fetching az token
noahpb 1350d44
revert using key
noahpb 510c15d
update region
noahpb 38a7454
add `availability_zone` for rke2 agent node(s)
noahpb 8fbfb08
switch availability zone
noahpb e8cf788
Merge branch 'main' into feat/e2e-test-nightly
noahpb a657f9e
sku and psql dns fix
noahpb 8aaa050
buy time to debug
noahpb ef7c0e2
dns fix and os disk type
noahpb 3da3c74
switch to zone a
noahpb b33f8bf
update velero credentials override
noahpb 77a216d
rm temp debug changes
noahpb b7503da
rm unused terraform.tfvars
noahpb f5f03e4
tmp disable eks e2e testing
noahpb e5b4c4c
increase disk space for rke2 nodes
noahpb 87b87c1
specify `backup.velero.io` kind in `./src/velero/tasks.yaml`
noahpb 65ca3dd
Merge branch 'main' into feat/e2e-test-nightly
noahpb 6d20335
more disk for rke2 nodes
noahpb 6ae6eda
Merge branch 'main' into feat/e2e-test-nightly
noahpb cba3465
create new task for coredns-custom cm
noahpb 9df9e48
rm task call
noahpb 346f8cb
Merge branch 'main' into feat/e2e-test-nightly
noahpb 4accee0
update rke2 tasks to do coredns override
noahpb b00e4d1
Merge branch 'main' into feat/e2e-test-nightly
noahpb 0591e66
fix lint
noahpb 270f35f
address pr feedback
noahpb 29271d9
switch to gov iam role
noahpb 50232fd
include util task
noahpb 5056ab4
add coredns fixes and add netpol for rke2
noahpb 79969f5
Merge branch 'main' into feat/e2e-test-nightly
noahpb 335353f
fix task name
noahpb c37402b
include nested dirs in workflow trigger for rke2 IaC
noahpb f7f4e22
fix: adjust network tests to work across k8s distros
noahpb 07a437f
metrics fix for rke2 hopefully
noahpb 1aeb6d3
add args for etcd and kube-scheduler
noahpb de2e1dc
add sudo
noahpb cafa022
fix etcd args
noahpb e02a1b1
add eks testing and coredns patch
noahpb bdbfa14
eks coredns cm patch
noahpb 614cb57
rke2 components update
noahpb b11335b
Merge branch 'main' into feat/e2e-test-nightly
noahpb bfc9375
ignore e2e test failures on eks
noahpb 7c291e4
switch to local path provisioner
noahpb 1b1d7a9
dont expand vars
noahpb 994e5aa
Merge branch 'main' into feat/e2e-test-nightly
noahpb bdf747c
selinux fix for local path provisioner rke2
noahpb c097ba9
install longhorn
noahpb 7e885ad
no longhorn ui replicas
noahpb f8bee5e
Merge branch 'main' into feat/e2e-test-nightly
noahpb 5368bb4
rm `chcon` command for local path provisioner
noahpb 1cfa441
Merge branch 'main' into feat/e2e-test-nightly
noahpb ef34cf6
allow passthrough gw validation to be bypassed
noahpb a9a68ac
add renovate config for rke2 helmcharts
noahpb 6ca953b
add renovate config for rke2 helmcharts
noahpb 163f022
update wait for rke2 cluster ready logic
noahpb 424b22b
lint fix; bash syntax fix
noahpb 4233047
syntax fix
noahpb e791b8a
modify if statement
noahpb 161d372
address feedback on checking for denied responses in network tests
noahpb 05aa113
support templating default coredns configmap
noahpb a64d372
task file fix - rm default value for validate_passthrough
noahpb 94c69eb
fix helmchart install, use native approach for customizing rke2 coredns
noahpb e78ff32
lint fix
noahpb 8f482d0
rm task
noahpb 945e6c5
Update test/jest/network.spec.ts
noahpb c80a256
simplify node readiness check command; clean up output
noahpb fa53068
add back wait command
noahpb 77b9e25
Merge branch 'main' into feat/e2e-test-nightly
noahpb 0d856fd
rke2 coredns configmap fix
noahpb 7f46b5a
rm extraconfig
noahpb 6a99333
Merge branch 'main' into feat/e2e-test-nightly
noahpb 407fbda
chore(deps): update support-deps (#1390)
renovate[bot] 58a465e
feat: theme customization (#1382)
slaskawi c67f950
fix: add delete credential keycloak secret value (#1398)
chance-coleman 3c51efe
chore(deps): update keycloak to v0.11.1 (#1400)
renovate[bot] 94c5651
chore(deps): update support-deps (#1392)
renovate[bot] f98e90e
chore(deps): update grafana (#1383)
renovate[bot] 0b7a71c
fix: broken selectors for internal dependencies on charts (#1403)
mjnagel f9667b5
chore(deps): update ts-jest to v29.3.0 (#1377)
renovate[bot] b42cd35
chore(deps): update support dependencies to v22.13.17 (#1401)
renovate[bot] fbc8ce0
feat!: implement operator authorization policy management (#1384)
chance-coleman 66af94c
chore(main): release 0.39.0 (#1373)
github-actions[bot] 014b8fe
chore: update changelog (#1406)
chance-coleman b16f953
chore(docs): fix order of authpols doc (#1408)
chance-coleman 80cff2e
adjust `failurePolicy` for longhorn chart
noahpb 5833183
Merge branch 'main' into feat/e2e-test-nightly
noahpb a194ef2
timeout 10m for longhorn
noahpb 6ecc5b7
test non-k3d w/o nv probes
noahpb 2169b90
Merge branch 'main' into feat/e2e-test-nightly
noahpb 2dee6be
add nv patch back
noahpb 51e2c1a
Merge branch 'main' into feat/e2e-test-nightly
noahpb aa862ca
switch longhorn install method
noahpb 4753f6e
no hooks
noahpb 74680d6
Merge branch 'main' into feat/e2e-test-nightly
noahpb eae1dda
Merge branch 'main' into feat/e2e-test-nightly
noahpb ff6be32
Merge branch 'main' into feat/e2e-test-nightly
noahpb 6ac523c
Merge branch 'main' into feat/e2e-test-nightly
noahpb 8c7ed2c
Merge branch 'main' into feat/e2e-test-nightly
noahpb 01056a3
cleanup
noahpb 98f8c02
get helm version from renovate into tf
noahpb f8c1e26
continue on error for all clusters
noahpb 5548920
tf fix
noahpb e65b689
wrong helm template; use right tag
noahpb a3afa79
lint fix
noahpb 90ee102
update comments
noahpb 292b4ff
Merge branch 'main' into feat/e2e-test-nightly
noahpb 993d1cf
update renovate config
noahpb f00a6a9
address feedback
noahpb b4d843b
Merge branch 'main' into feat/e2e-test-nightly
noahpb fc9189d
fix typo
noahpb 948c07b
syntax fix
noahpb c5ec3e2
Merge branch 'main' into feat/e2e-test-nightly
noahpb 8d9742c
don't filter out `helm-install` pods in wait for cluster components
noahpb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
107 changes: 107 additions & 0 deletions
107
.github/test-infra/aws/rke2/scripts/helmchart-template.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,107 @@ | ||
| # Copyright 2025 Defense Unicorns | ||
| # SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | ||
|
|
||
| apiVersion: helm.cattle.io/v1 | ||
| kind: HelmChart | ||
| metadata: | ||
| name: aws-cloud-controller-manager | ||
| namespace: kube-system | ||
| spec: | ||
| chart: aws-cloud-controller-manager | ||
| repo: https://kubernetes.github.io/cloud-provider-aws | ||
| # renovate: datasource=helm depName=aws-cloud-controller-manager versioning=helm registryUrl=https://kubernetes.github.io/cloud-provider-aws | ||
| version: 0.0.8 | ||
| targetNamespace: kube-system | ||
| bootstrap: true | ||
| valuesContent: |- | ||
| nodeSelector: | ||
| node-role.kubernetes.io/control-plane: "true" | ||
| hostNetworking: true | ||
| args: | ||
| - --configure-cloud-routes=false | ||
| - --v=2 | ||
| - --cloud-provider=aws | ||
| --- | ||
| # aws lb controller helm values: https://github.com/kubernetes-sigs/aws-load-balancer-controller/tree/main/helm/aws-load-balancer-controller#configuration | ||
| apiVersion: helm.cattle.io/v1 | ||
| kind: HelmChart | ||
| metadata: | ||
| name: aws-load-balancer-controller | ||
| namespace: kube-system | ||
| spec: | ||
| chart: aws-load-balancer-controller | ||
| repo: https://aws.github.io/eks-charts | ||
| # renovate: datasource=helm depName=aws-load-balancer-controller versioning=helm registryUrl=https://aws.github.io/eks-charts | ||
| version: 1.12.0 | ||
| targetNamespace: kube-system | ||
| valuesContent: |- | ||
| clusterName: ${CLUSTER_NAME} | ||
| --- | ||
| apiVersion: v1 | ||
| kind: ConfigMap | ||
| metadata: | ||
| name: coredns-custom | ||
| namespace: kube-system | ||
| data: | ||
| uds.override: | | ||
| rewrite stop { | ||
| name regex (.*\.admin\.uds\.dev) admin-ingressgateway.istio-admin-gateway.svc.cluster.local answer auto | ||
| } | ||
| rewrite stop { | ||
| name regex (.*\.uds\.dev) tenant-ingressgateway.istio-tenant-gateway.svc.cluster.local answer auto | ||
| } | ||
| --- | ||
| apiVersion: helm.cattle.io/v1 | ||
| kind: HelmChartConfig | ||
| metadata: | ||
| name: rke2-coredns | ||
| namespace: kube-system | ||
| spec: | ||
| valuesContent: |- | ||
| extraVolumes: | ||
| - name: custom-config-volume | ||
| configMap: | ||
| name: coredns-custom | ||
| optional: true | ||
| extraVolumeMounts: | ||
| - name: custom-config-volume | ||
| mountPath: /etc/coredns/custom | ||
| readOnly: true | ||
| # Below we take the default kubernetes configmap for coredns and add an import statement for our custom configmap | ||
| # Ref: https://github.com/rancher/rke2-charts/blob/8078e4184e5b1730e518344aaa170a5e49e29766/charts/rke2-coredns/rke2-coredns/1.39.101/values.yaml#L104 | ||
| servers: | ||
| - zones: | ||
| - zone: . | ||
| port: 53 | ||
| # -- expose the service on a different port | ||
| # servicePort: 5353 | ||
| # If serviceType is nodePort you can specify nodePort here | ||
| # nodePort: 30053 | ||
| # hostPort: 53 | ||
| plugins: | ||
| - name: errors | ||
| # Serves a /health endpoint on :8080, required for livenessProbe | ||
| - name: health | ||
| configBlock: |- | ||
| lameduck 5s | ||
| # Serves a /ready endpoint on :8181, required for readinessProbe | ||
| - name: ready | ||
| # Required to query kubernetes API for data | ||
| - name: kubernetes | ||
| parameters: cluster.local in-addr.arpa ip6.arpa | ||
| configBlock: |- | ||
| pods insecure | ||
| fallthrough in-addr.arpa ip6.arpa | ||
| ttl 30 | ||
| # Serves a /metrics endpoint on :9153, required for serviceMonitor | ||
| - name: prometheus | ||
| parameters: 0.0.0.0:9153 | ||
| - name: forward | ||
| parameters: . /etc/resolv.conf | ||
| - name: cache | ||
| parameters: 30 | ||
| - name: loop | ||
| - name: reload | ||
| - name: loadbalance | ||
| - name: import | ||
| parameters: /etc/coredns/custom/*.override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.