Derek Nola
06b6444904
Add startup testlet on preloaded images ( #9941 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
7 months ago
Brad Davidson
fe465cc832
Move etcd snapshot management CLI to request/response
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
8 months ago
Brad Davidson
60248c42de
Add supervisor cert/key to rotate list
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
8 months ago
Derek Nola
6624273a97
Fix embeddedmirror test
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
8 months ago
Derek Nola
93bcaccad1
E2E setup: Only install jq when we need it
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
8 months ago
Derek Nola
c98ca14198
Add wasm test to e2e matrix
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
8 months ago
Derek Nola
c47c85e5da
Move to ubuntu 23.10 for E2E tests ( #9755 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
8 months ago
Derek Nola
364dfd8b89
Fix flaky check in btrfs test
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Derek Nola
1c8be1d011
Improve E2E Aftersuite cleanup
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Derek Nola
af4c51bfc3
Move to ubuntu 2204 for all E2E tests
...
Simplify node roles
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Derek Nola
da7312d082
Convert snapshotter test in e2e test
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Derek Nola
d022a506d5
Migrate E2E tests to GitHub Actions
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Manuel Buil
1fe0371e95
Improve tailscale e2e test
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
9 months ago
Flavio Castelli
f82d438f39
e2e tests: cover WebAssembly integration
...
Add a e2e test that runs some demo WebAssembly applications
using the dedicated containerd shims.
Note: this is not an integration test because we need to install some
binaries (the special containerd shims) on the host.
Signed-off-by: Flavio Castelli <fcastelli@suse.com>
9 months ago
Derek Nola
fa37d03395
Update install test OS matrix ( #9480 )
...
* Remove old cgroupsv2 test
* Consolidate install test clauses into functions
* Unpin vagrant-k3s plugin version, run latest
* Add ubuntu-2204 as install test, remove ubuntu-focal
* Update nightly install matrix
* Move to Leap 15.5
* Consolidate vagrant box caching key to improve cache hits on all VM testing
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Derek Nola
f90fd7b744
Change default number of etcd nodes in E2E splitserver test
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Derek Nola
fa11850563
Readd `k3s secrets-encrypt rotate-keys` with correct support for KMSv2 GA ( #9340 )
...
* Reorder copy order for caching
* Enable longer http timeout requests
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Setup reencrypt controller to run on all apiserver nodes
* Fix reencryption for disabling secrets encryption, reenable drone tests
10 months ago
Brad Davidson
6072476432
Add e2e test for embedded registry mirror
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
11 months ago
Ian Cardoso
df5e983fc8
add e2e startup test for rootless k3s ( #8383 )
...
* add test for rootless k3s
Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
* fix comments
Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
* Cleanup rootless e2e test, simplify logic
Signed-off-by: Derek Nola <derek.nola@suse.com>
---------
Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
11 months ago
ShylajaDevadiga
64dbbba996
update s3 e2e test ( #9025 )
...
Signed-off-by: ShylajaDevadiga <shylaja.devadiga@suse.com>
Co-authored-by: ShylajaDevadiga <shylaja.devadiga@suse.com>
11 months ago
Hussein Galal
9411196406
Update flannel to v0.24.0 and remove multiclustercidr flag ( #9075 )
...
* update flannel to v0.24.0
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* remove multiclustercidr flag
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
11 months ago
Manuel Buil
d34550fb2f
Fix overlapping address range
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
12 months ago
Brad Davidson
96ebb96317
Fix flakey dynamic-cert.json in cert rotation e2e test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
1 year ago
Roberto Bonafiglia
1ffb4603cd
Use IPv6 in case is the first configured IP with dualstack
...
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com>
1 year ago
Brad Davidson
9bb1ce1253
Bump busybox to v1.36.1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
1 year ago
Derek Nola
dface01de8
Server Token Rotation ( #8265 )
...
* Consolidate NewCertCommands
* Add support for user defined new token
* Add E2E testlets
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Ensure agent token also changes
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Manuel Buil
d4a487d83f
Fix spellcheck problem (boostrap ==> bootstrap)
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
1 year ago
Vitor Savian
d349c9db6c
Added cluster reset from non bootstrap nodes on snapshot restore e2e test
...
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
1 year ago
Derek Nola
42c2ac95e2
CLI + Backend for Secrets Encryption v3
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Derek Nola
e45a674457
Add new encryption test
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Derek Nola
f8727f56d7
E2E test for token coverage ( #8184 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Ian Cardoso
e551308db8
fix for etcd-snapshot delete with --etcd-s3 flag ( #8110 )
...
k3s etcd-snapshot save --etcd-s3 ... is creating a local snapshot and uploading it to s3 while k3s etcd-snapshot delete --etcd-s3 ... was deleting the snapshot only on s3 buckets, this commit change the behavior of delete to do it locally and on s3
Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
1 year ago
Derek Nola
a87b183f9c
E2E: Support GOCOVER for more tests + fixes ( #8080 )
...
* Add support for local build and go coverage to all E2E tests
* Remove unused EXTERNAL_DB from etcd tests
* Fix private reg test
* Add coverage to tailscale
* Cleanup unnecessary "sudo" in commands
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Add additonal s3 coverage clause
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Derek Nola
3eb4e12c3b
Don't use zgrep in `check-config` if apparmor porfile is enforced ( #7939 )
...
* Don't use zgrep if apparmor is enforced for it
* Bump e2e se timeouts for reencryption time
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Ian Cardoso
9e334153cf
add e2e s3 test ( #7833 )
...
Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
1 year ago
Ian Cardoso
324f9ad4da
fix e2e startup flaky test ( #7839 )
...
Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
1 year ago
Manuel Buil
55db9b18f0
Merge pull request #7745 from manuelbuil/removeVagrantConfig
...
Remove useless libvirt config
1 year ago
Manuel Buil
a5874f855f
Remove unused libvirt config
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
1 year ago
Manuel Buil
c6a6e8ef57
Fix spelling check
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
1 year ago
Manuel Buil
268c9a7684
Merge pull request #7352 from manuelbuil/vpnintegrations-afterparental
...
Integrate tailscale into k3s
1 year ago
Derek Nola
efa86a63e8
Remove unnecessary daemonset addition/deletion ( #7696 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Ian Cardoso
7c151d468f
add private registry e2e test ( #7653 )
...
add private registry e2e test
Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
1 year ago
Manuel Buil
869e030bdd
VPN PoC
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
1 year ago
Derek Nola
8f9502233a
E2E: Inject gocover ENV for k3s commands
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Derek Nola
4a68fbd8e9
E2E: Use sudo for all RunCmdOnNode
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Derek Nola
b0188f5a13
Test Coverage Reports for E2E tests ( #7526 )
...
* Move coverage writer into agent and server
* Add coverage report to E2E PR tests
* Add codecov upload to drone
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Brad Davidson
7b61aacb56
Fix test file list
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago
Manuel Buil
290f67c939
Add '-all' flag to apply to inactive units
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
2 years ago
Esteban Esquivel Alvarado
9bcfac8b88
Add Rotation certification Check ( #7097 )
...
* Add Certification Test to Validate Cluster
Signed-off-by: est-suse <esteban.esquivel@suse.com>
* Fix to stop/start for k3s certificate rotation
Signed-off-by: Derek Nola <derek.nola@suse.com>
---------
Signed-off-by: est-suse <esteban.esquivel@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-authored-by: est-suse <esteban.esquivel@suse.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
2 years ago
Brad Davidson
c98137ddca
Fix token startup test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2 years ago