Skip to content
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

Bump main #1

Merged
merged 778 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
778 commits
Select commit Hold shift + click to select a range
11fbff0
Let k0s-cloud provider assign a node's provider ID
twz123 Apr 3, 2024
308712c
Bump Go to v1.22.2
twz123 Apr 4, 2024
7d3e4ee
Merge pull request #4235 from twz123/bump-go
twz123 Apr 4, 2024
19f9d66
Bump google.golang.org/grpc from 1.62.1 to 1.63.0
dependabot[bot] Apr 4, 2024
f1a5da2
Merge pull request #4237 from k0sproject/dependabot/go_modules/google…
github-actions[bot] Apr 4, 2024
9237a87
Add integration tests around k0s reset
twz123 Apr 4, 2024
e1c33a3
Merge pull request #4220 from twz123/remove-superfluous-nil-check
twz123 Apr 5, 2024
b55f8a2
Merge pull request #4226 from twz123/backport-action-update
twz123 Apr 5, 2024
0f0bd11
Bump envoy to v1.29.3
twz123 Apr 5, 2024
756a860
Merge pull request #4240 from twz123/bump-envoy
twz123 Apr 5, 2024
7b5e0f5
Bump etcd to v3.5.13
twz123 Apr 5, 2024
d068265
Bump shogo82148/actions-create-release from 1.7.2 to 1.7.3
dependabot[bot] Apr 5, 2024
8323833
Bump shogo82148/actions-upload-release-asset from 1.7.4 to 1.7.5
dependabot[bot] Apr 5, 2024
cbca7ed
Merge pull request #4243 from twz123/bump-etcd
twz123 Apr 5, 2024
d1fa34c
Bump golang.org/x/sync from 0.6.0 to 0.7.0
dependabot[bot] Apr 5, 2024
3b412c7
Merge pull request #4245 from k0sproject/dependabot/github_actions/sh…
github-actions[bot] Apr 5, 2024
17d6f6d
Merge pull request #4249 from k0sproject/dependabot/go_modules/golang…
github-actions[bot] Apr 5, 2024
770c4f1
Bump golang.org/x/mod from 0.16.0 to 0.17.0
dependabot[bot] Apr 5, 2024
f660c1b
Merge pull request #4238 from twz123/reset-inttests
twz123 Apr 5, 2024
3f05f0e
Remove no longer available Docker container runtime support from docs
twz123 Apr 5, 2024
8eb5cbd
Move CRI socket flag parsing into the right file
twz123 Apr 5, 2024
a253696
Introduce GetContainerRuntimeEndpoint
twz123 Apr 5, 2024
20b869d
Actually remove the container runtime implementation for Docker
twz123 Apr 5, 2024
78479c4
Merge pull request #4248 from k0sproject/dependabot/go_modules/golang…
github-actions[bot] Apr 8, 2024
91c14f4
Merge pull request #4244 from k0sproject/dependabot/github_actions/sh…
twz123 Apr 8, 2024
ca54571
Bump golang.org/x/sys from 0.18.0 to 0.19.0
dependabot[bot] Apr 8, 2024
d5f7050
Merge pull request #4253 from k0sproject/dependabot/go_modules/golang…
github-actions[bot] Apr 8, 2024
e0b51e2
Bump golang.org/x/crypto from 0.21.0 to 0.22.0
dependabot[bot] Apr 8, 2024
4434223
Merge pull request #4252 from k0sproject/dependabot/go_modules/golang…
github-actions[bot] Apr 9, 2024
b43f3a1
Bump golang.org/x/net to v0.23.0
twz123 Apr 9, 2024
ce253c9
Merge pull request #4254 from twz123/bump-x-net
twz123 Apr 9, 2024
76211c7
Bump google.golang.org/grpc from 1.63.0 to 1.63.2
dependabot[bot] Apr 9, 2024
df9b6c3
Merge pull request #4261 from k0sproject/dependabot/go_modules/google…
github-actions[bot] Apr 9, 2024
c56648b
Bump golang.org/x/tools from 0.19.0 to 0.20.0
dependabot[bot] Apr 9, 2024
29eee18
Remove unused GetControllerUsers function
twz123 Apr 8, 2024
da89291
No reflection for getUsersList
twz123 Apr 8, 2024
58b7580
Rename getUserNames to getControllerUserNames
twz123 Apr 10, 2024
bd47b90
Use joined errors instead of joined error messages
twz123 Apr 10, 2024
13e3891
Rename CreateControllerUsers to EnsureControllerUsers
twz123 Apr 8, 2024
7216bda
Inline EnsureUsers
twz123 Apr 10, 2024
b25f3ce
Cache the shell in the create users loop
twz123 Apr 10, 2024
6bf01b6
Narrow down parameters to Ensure/DeleteControllerUsers
twz123 Apr 10, 2024
97c8ead
Merge pull request #4247 from k0sproject/dependabot/go_modules/golang…
github-actions[bot] Apr 10, 2024
b898a16
Merge pull request #4230 from twz123/remove-machine-id
twz123 Apr 10, 2024
491ab43
Merge pull request #4251 from twz123/main
twz123 Apr 10, 2024
e293515
Rename apparently OS specific files
twz123 Apr 3, 2024
ce80c3a
Combine identical non-linux files
twz123 Apr 3, 2024
dccb814
Remove the Windows runtime check
twz123 Apr 3, 2024
f408377
Make the bridge cleanup step optional based on OS
twz123 Apr 3, 2024
43b1652
Cleanup golangci-lint config
twz123 Apr 11, 2024
8843e64
Merge pull request #4270 from twz123/cleanup-golanci-config
twz123 Apr 11, 2024
979857f
Fix kind dsn leakage
makhov Apr 11, 2024
52ef157
Merge pull request #4271 from makhov/fix-kine-dsn-leakage
makhov Apr 11, 2024
681b7a6
Bump idna from 3.6 to 3.7 in /docs
dependabot[bot] Apr 11, 2024
9d33a3f
Fix inttests on darwin
juanluisvaladas Apr 11, 2024
d24574c
Merge pull request #4280 from k0sproject/dependabot/pip/docs/idna-3.7
github-actions[bot] Apr 11, 2024
7176bc7
Fix kind credentials leakage in the logs
makhov Apr 11, 2024
2f20fad
Merge pull request #4282 from makhov/fix-kine-dsn-leakage-2
makhov Apr 11, 2024
750e9df
Merge pull request #4281 from juanluisvaladas/fix-macosbuilds
juanluisvaladas Apr 11, 2024
5501b8e
Remove implicit build tag
twz123 Apr 11, 2024
6fd781e
Merge pull request #4229 from twz123/kube-pre-release-constant
twz123 Apr 11, 2024
3269e4f
Remove convertFileParamsToAbsolute
twz123 Apr 11, 2024
856126b
Enable console logging for keepalived
twz123 Apr 12, 2024
f7b23bf
Forward errors from cmdFlagsToArgs
twz123 Apr 12, 2024
42d94e4
Ignore token-file argument when value not needed
kke Apr 11, 2024
1391728
Test controller restart with --token-file but no file
kke Apr 11, 2024
df17744
Test worker restart with --token-file but no file
kke Apr 11, 2024
66b144c
Merge pull request #4277 from k0sproject/ignore-token-flag-until-needed
kke Apr 12, 2024
fc8a8fe
Merge pull request #4291 from twz123/keepalied-debug
twz123 Apr 12, 2024
739dbac
Introduce controlPlaneLoadBalancing.enabled
twz123 Apr 12, 2024
9f97e77
chore: bump helm library
ricardomaraschini Apr 14, 2024
8e5497c
Wrap errors correctly, part 3
twz123 Apr 11, 2024
8eedd58
Convert plain error comparisons to errors.Is(...)
twz123 Apr 11, 2024
ddee3f9
Convert error type assertions to errors.As(...)
twz123 Apr 11, 2024
8d12f77
Enable errorlint linter
twz123 Apr 11, 2024
ddddb54
Bump mkdocs-material from 9.5.17 to 9.5.18 in /docs
dependabot[bot] Apr 16, 2024
1858d8f
Merge pull request #4269 from twz123/wrap-errors
twz123 Apr 16, 2024
f901918
Merge pull request #4298 from k0sproject/dependabot/pip/docs/mkdocs-m…
github-actions[bot] Apr 16, 2024
319b59f
Merge pull request #4297 from ricardomaraschini/bump-helm-library
twz123 Apr 16, 2024
ad98aac
Remove binary before building it
twz123 Apr 17, 2024
d1aa6c4
Bump containerd to v1.7.15
twz123 Apr 17, 2024
8c85b8f
Merge pull request #4306 from twz123/bump-containerd
twz123 Apr 17, 2024
316a78f
Bump Kubernetes to v1.29.4
twz123 Apr 17, 2024
806f6a0
Bump kube-router to v1.6.1
twz123 Apr 17, 2024
8aeb035
Merge pull request #4294 from twz123/rm-binary-before-build
twz123 Apr 17, 2024
5d3b8a0
Bump regex from 2023.12.25 to 2024.4.16 in /docs
dependabot[bot] Apr 17, 2024
3b9e25e
Merge pull request #4312 from k0sproject/dependabot/pip/docs/regex-20…
twz123 Apr 17, 2024
c1c0804
Merge pull request #4304 from twz123/bump-k8s
twz123 Apr 17, 2024
408ce03
Merge pull request #4308 from twz123/bump-kube-router
twz123 Apr 18, 2024
9d7831c
Merge pull request #4290 from twz123/keepalived-enabled
twz123 Apr 18, 2024
5e3386d
Use standard RunDir/DataDir for Supervisor
twz123 Apr 11, 2024
daebdf1
Use k0s's RunDir for keepalived config file
twz123 Apr 11, 2024
4c0a820
Use file.WriteAtomically to write keepalived config file
twz123 Apr 11, 2024
bc44ad8
Add community hours details to READMEs
jnummelin Apr 17, 2024
9b137da
Bump pymdown-extensions from 10.7.1 to 10.8 in /docs
dependabot[bot] Apr 19, 2024
51cb4dc
Merge pull request #4317 from k0sproject/dependabot/pip/docs/pymdown-…
github-actions[bot] Apr 19, 2024
3f37463
Merge pull request #4287 from twz123/remove-duplicate-build-tag
twz123 Apr 19, 2024
8a7db45
Merge pull request #4264 from twz123/renovate-install-users
twz123 Apr 19, 2024
29ae693
Merge pull request #4288 from twz123/remove-converfileparams
twz123 Apr 19, 2024
841a757
Merge pull request #4267 from twz123/os-specific-cleanup
twz123 Apr 19, 2024
b313016
Merge pull request #4305 from jnummelin/docs/community-hours
jnummelin Apr 22, 2024
10e7f8f
feat: implement watcher for oci bundles
ricardomaraschini Apr 22, 2024
a0231bc
Update kube-route to 2.1.x
ncopa Jan 5, 2024
ae27910
Merge pull request #4228 from twz123/k0s-cloud-provider-id
twz123 Apr 22, 2024
4c0b3bd
Merge pull request #4117 from twz123/containerd-config-detection
twz123 Apr 22, 2024
ac26f86
Bump github.com/cilium/ebpf from 0.14.0 to 0.15.0
dependabot[bot] Apr 22, 2024
a0527ee
Bump github.com/Microsoft/go-winio from 0.6.1 to 0.6.2
dependabot[bot] Apr 22, 2024
b887f84
Merge pull request #4325 from k0sproject/dependabot/go_modules/github…
github-actions[bot] Apr 22, 2024
873cb5a
Don't try to stop etcd in case the external one is used.
makhov Apr 23, 2024
8b89fe7
Merge pull request #4327 from makhov/external-etcd-shutdown
makhov Apr 23, 2024
c105c01
chore: create function to import single bundle
ricardomaraschini Apr 23, 2024
0cf6ff0
Merge pull request #4324 from k0sproject/dependabot/go_modules/github…
github-actions[bot] Apr 23, 2024
956d5b3
Bump Envoy to v1.30.1
twz123 Apr 23, 2024
7a7255e
Fix the typing of Helm chart timeout duration
jnummelin Apr 23, 2024
2b584be
Remove testutil.ConfigGetter
twz123 Apr 24, 2024
00dd300
Bump calico to 3.27.3
jnummelin Apr 24, 2024
82f11db
Merge pull request #4333 from twz123/remove-config-getter
twz123 Apr 24, 2024
338f280
Update pkg/component/worker/ocibundle.go
ricardomaraschini Apr 24, 2024
e41cbcc
Update pkg/component/worker/ocibundle.go
ricardomaraschini Apr 24, 2024
8d62d7e
Update pkg/component/worker/ocibundle.go
ricardomaraschini Apr 24, 2024
95b7e82
Update pkg/component/worker/ocibundle.go
ricardomaraschini Apr 24, 2024
2b2ab9c
Proper defaulting and validation for the API spec
twz123 Apr 25, 2024
6592e62
Merge pull request #4289 from twz123/keepalived
twz123 Apr 25, 2024
0d9ecaf
Merge pull request #4332 from jnummelin/fix/helm-timeout
jnummelin Apr 26, 2024
03d9c6b
Fix build on armv8l
ncopa Apr 26, 2024
bd12eff
Merge pull request #4339 from ncopa/fix-armv8-build
ncopa Apr 26, 2024
aa83b6f
Merge pull request #4335 from twz123/apispec-defaults
twz123 Apr 26, 2024
34e8e28
Add unit tests for kubeconfig admin subcommand
twz123 Apr 26, 2024
84c7971
Honor API port number in kubeconfig admin
twz123 Apr 26, 2024
2ec9c69
Structured URL replacement
twz123 Apr 26, 2024
3b87fab
More helpful error message for empty/absent token files
twz123 Apr 26, 2024
8c33e97
Bump Kubernetes to v1.30.0
twz123 Apr 26, 2024
e5c7adf
Merge pull request #4114 from twz123/bump-kubernetes
twz123 Apr 28, 2024
61c9c7b
Merge pull request #4341 from twz123/empty-join-token-file
twz123 Apr 28, 2024
5328a56
Completely remove kubelet-config component
twz123 Feb 22, 2024
c8da7d9
Merge pull request #4108 from twz123/remove-kubelet-config-component
twz123 Apr 29, 2024
fe1033d
Bump github.com/urfave/cli from 1.22.14 to 1.22.15
dependabot[bot] Apr 29, 2024
c277e65
Bump pymdown-extensions from 10.8 to 10.8.1 in /docs
dependabot[bot] Apr 29, 2024
c3bfec6
Bump regex from 2024.4.16 to 2024.4.28 in /docs
dependabot[bot] Apr 29, 2024
5adf9a4
Merge pull request #4310 from twz123/bump-envoy
twz123 Apr 29, 2024
b3f2405
Merge pull request #4322 from ncopa/kube-router-2.1
twz123 Apr 29, 2024
3ecd84f
Bump github.com/go-playground/validator/v10 from 10.19.0 to 10.20.0
dependabot[bot] Apr 30, 2024
1dda734
chore: addressing pr comments
ricardomaraschini Apr 30, 2024
191861a
chore: remove unused variable
ricardomaraschini Apr 30, 2024
23b19c7
Bump kine to v0.11.8
twz123 May 2, 2024
0142d89
Bump CoreDNS to v1.11.3
twz123 May 2, 2024
89dc512
This PR adds new functionality to be able to manage Etcd peers using …
jnummelin Mar 28, 2024
0c1db3c
Add docs on EtcdMember reconciling
jnummelin Apr 19, 2024
42b9e7a
Refactor EtcdMember inttest for better context handling and thread sa…
jnummelin May 2, 2024
3631ee0
Sanitize EtcdMember types
jnummelin Apr 30, 2024
68539df
Remove duplicate test
twz123 May 2, 2024
75faa79
Move out the HTTP setup from the goroutine
twz123 May 2, 2024
9a471d8
Fix timing issue in ap-removedapis inttest
jnummelin May 2, 2024
829ad4b
Remove superflupus cal to WriteHeader
twz123 May 2, 2024
6b20660
Bump sigs.k8s.io/controller-runtime from 0.18.0 to 0.18.1
dependabot[bot] May 2, 2024
397baba
Properly shutdown test HTTP server and detect errors
twz123 May 2, 2024
3ec5a3a
Don't use the global HTTP multiplexer
twz123 May 2, 2024
8246ca9
Start listening before starting the serving goroutine
twz123 May 2, 2024
f3fc721
Use dynamically chosen port for test HTTP server
twz123 May 2, 2024
cff8f70
Bump mike from 2.0.0 to 2.1.0 in /docs
dependabot[bot] May 2, 2024
2506be6
Merge pull request #4351 from k0sproject/dependabot/pip/docs/regex-20…
github-actions[bot] May 2, 2024
446f35e
Merge pull request #4361 from k0sproject/dependabot/pip/docs/mike-2.1.0
github-actions[bot] May 2, 2024
11b42a8
Merge pull request #4355 from twz123/bump-kine
twz123 May 2, 2024
f6917b8
Bump containerd to v1.7.16
twz123 May 2, 2024
d0d9d62
Merge pull request #4350 from k0sproject/dependabot/pip/docs/pymdown-…
github-actions[bot] May 2, 2024
ca40556
Merge pull request #4358 from jnummelin/fix/removed-apis-test-timign-…
jnummelin May 3, 2024
252b174
Merge pull request #4340 from twz123/admin-kubeconf-gen
twz123 May 3, 2024
2ce7cf3
Merge pull request #4356 from twz123/bump-coredns
twz123 May 3, 2024
1615f6c
Merge pull request #4360 from twz123/fix-metadata-test
twz123 May 3, 2024
d3c9ee2
Merge pull request #4363 from twz123/bump-containerd
twz123 May 3, 2024
58438db
Merge pull request #4349 from k0sproject/dependabot/go_modules/github…
github-actions[bot] May 3, 2024
09533cc
Merge pull request #4354 from k0sproject/dependabot/go_modules/github…
github-actions[bot] May 3, 2024
6c2c50d
Fix k0sctl typo
rojinebrahimi May 3, 2024
3685588
Merge pull request #4370 from rojinebrahimi/main
twz123 May 3, 2024
70de5fa
Merge pull request #4359 from k0sproject/dependabot/go_modules/sigs.k…
github-actions[bot] May 6, 2024
9d981d2
Group mkdocs version bumps
twz123 May 6, 2024
e8c5dd8
Move etcd peeraddress and memberID to etcdmember.status
jnummelin May 6, 2024
ca9f4e1
Merge pull request #4213 from jnummelin/feature/etcd-member-mgmt
jnummelin May 6, 2024
0a435a2
Bump jinja2 from 3.1.3 to 3.1.4 in /docs
dependabot[bot] May 6, 2024
f267c9f
Bump mike from 2.1.0 to 2.1.1 in /docs
dependabot[bot] May 6, 2024
63a5fd0
Bump pygments from 2.17.2 to 2.18.0 in /docs
dependabot[bot] May 6, 2024
f79e75e
Bump golang.org/x/sys from 0.19.0 to 0.20.0
dependabot[bot] May 6, 2024
efb3387
Add API types for CPLB virtualServers
juanluisvaladas Apr 29, 2024
c3a0a58
Implement CPLB virtualServers and reconciler
juanluisvaladas Apr 29, 2024
e8d2965
Merge pull request #4377 from k0sproject/dependabot/go_modules/golang…
github-actions[bot] May 6, 2024
e529f27
Merge pull request #4373 from k0sproject/dependabot/pip/docs/jinja2-3…
github-actions[bot] May 6, 2024
debf414
chore: addressing pr comments
ricardomaraschini May 6, 2024
0257e79
Merge pull request #4375 from k0sproject/dependabot/pip/docs/pygments…
github-actions[bot] May 6, 2024
469d2ac
Merge pull request #4374 from k0sproject/dependabot/pip/docs/mike-2.1.1
github-actions[bot] May 6, 2024
36b6fd4
Disallow test code outside of tests
twz123 May 7, 2024
006b8be
Merge pull request #4334 from k0sproject/calico-3.27.3
jnummelin May 7, 2024
bd54328
Merge pull request #4321 from ricardomaraschini/implement-watcher-for…
jnummelin May 7, 2024
f6585c6
Bump golang.org/x/crypto from 0.22.0 to 0.23.0
dependabot[bot] May 7, 2024
da264af
Merge pull request #4371 from twz123/group-mkdocs-dep-bumps
twz123 May 7, 2024
7ffdf9d
Bump the mkdocs group in /docs with 2 updates
dependabot[bot] May 7, 2024
4be4dbb
Merge pull request #4384 from k0sproject/dependabot/pip/docs/mkdocs-6…
github-actions[bot] May 7, 2024
661ef19
Extract keepalived configuration to a subtype
juanluisvaladas May 6, 2024
30966db
Implement VirtualServers inttest
juanluisvaladas May 6, 2024
d61005e
Add VirtualServer docs and fix Keepalived subtype
juanluisvaladas May 6, 2024
2619364
Automatically add virtualIPs to apiserver SANs
juanluisvaladas May 6, 2024
9175b9f
Remove VRRPInstances.Name
juanluisvaladas May 7, 2024
8d57249
Remove ControlPlaneLoadBalancing from dynamic conf
juanluisvaladas May 7, 2024
d5d7f1a
Make CPLB.VirtualServers.DelayLoop metav1.Duration
juanluisvaladas May 7, 2024
0e53299
Addess multiple mistakes in code review
juanluisvaladas May 7, 2024
c22cbf3
Remove unused RealServer struct type
juanluisvaladas May 7, 2024
18d3583
Fix documentation for Delayloop
juanluisvaladas May 7, 2024
c7f1080
Merge pull request #4380 from k0sproject/dependabot/go_modules/golang…
github-actions[bot] May 7, 2024
92cf96a
Bump golang.org/x/tools from 0.20.0 to 0.21.0
dependabot[bot] May 7, 2024
bb42d03
Merge pull request #4344 from juanluisvaladas/k0s-lb-2
juanluisvaladas May 7, 2024
4c12f77
Merge pull request #4378 from twz123/deny-test-code
twz123 May 7, 2024
8c2068e
Log keepalived config in debug mode
twz123 May 7, 2024
7f50a44
Close update channel when the watch loop terminates
twz123 May 7, 2024
0a8653f
Some adjustments to the VRRP instance config
twz123 May 7, 2024
d58e9b7
Merge pull request #4385 from twz123/keepalived-dump-conf
twz123 May 7, 2024
388795b
Merge pull request #4381 from k0sproject/dependabot/go_modules/golang…
github-actions[bot] May 7, 2024
7b700d8
Bump Go to v1.22.3
twz123 May 7, 2024
befabfe
Default DelayLoop to 1m
twz123 May 7, 2024
9da38c5
Merge pull request #4389 from twz123/bump-go
twz123 May 8, 2024
aa2e452
Merge pull request #4391 from twz123/delayloop-1m
twz123 May 8, 2024
7d65fa0
Merge pull request #4388 from twz123/update-ch
twz123 May 8, 2024
1a097d0
Add docs how to collect support bundles
jnummelin Apr 25, 2024
497c12a
Merge pull request #4386 from twz123/vrrp-instance-adjustments
twz123 May 8, 2024
9381476
Add an error callback to the CPLB reconciler watcher
twz123 May 8, 2024
eeab332
Merge pull request #4336 from jnummelin/docs/troubleshoot
jnummelin May 8, 2024
017659a
Wait for termination of CPLB reconciler watch
twz123 May 8, 2024
0d244a9
Stop reconciler before keepalived
twz123 May 8, 2024
6dd5de4
Move KeepalivedSpec validation into its own method
twz123 May 8, 2024
e7b449c
Merge pull request #4396 from twz123/validate-nil-keepalived
twz123 May 8, 2024
2036e3f
Bump sigs.k8s.io/controller-runtime from 0.18.1 to 0.18.2
dependabot[bot] May 8, 2024
6cd9f67
Bump konnectivity to 0.30.3
ncopa May 8, 2024
beb3fba
Merge pull request #4398 from ncopa/konnectivity-0.30.3
twz123 May 8, 2024
e8696fa
Merge pull request #4399 from k0sproject/dependabot/go_modules/sigs.k…
github-actions[bot] May 8, 2024
544cdc7
Merge pull request #4395 from twz123/cplb-reco-block-stop
twz123 May 8, 2024
7c87bf9
Install docker buildx for self-hosted runners
twz123 May 8, 2024
d1388a5
Merge pull request #4400 from twz123/install-docker-buildx
twz123 May 8, 2024
e8cf7db
Bump github.com/k0sproject/k0sctl from 0.17.5 to 0.17.8 in /hack/tool
dependabot[bot] May 10, 2024
eb96d7e
Merge pull request #4404 from k0sproject/dependabot/go_modules/hack/t…
github-actions[bot] May 10, 2024
67bd4dc
Bump kine to v0.11.9
twz123 May 10, 2024
f879393
Document iptables version mismatch pitfall
ncopa May 10, 2024
cc7335a
Merge pull request #4406 from ncopa/doc-iptables-version-mismatch
jnummelin May 10, 2024
b93b824
Merge pull request #4387 from twz123/cancel-timeout
twz123 May 10, 2024
1f92a55
Bump regex from 2024.4.28 to 2024.5.10 in /docs
dependabot[bot] May 10, 2024
377a27c
Bump eps1lon/actions-label-merge-conflict from 3.0.0 to 3.0.1
dependabot[bot] May 10, 2024
cd279fa
Merge pull request #4408 from k0sproject/dependabot/github_actions/ep…
github-actions[bot] May 10, 2024
8fdd81d
Merge pull request #4407 from k0sproject/dependabot/pip/docs/regex-20…
github-actions[bot] May 10, 2024
33c3006
Remove disable-upgrade-check flag from k0sctl
twz123 May 13, 2024
87f8ece
Bump mkdocs-material from 9.5.21 to 9.5.22 in /docs in the mkdocs group
dependabot[bot] May 13, 2024
dc6f2f7
Merge pull request #4413 from k0sproject/dependabot/pip/docs/mkdocs-7…
github-actions[bot] May 13, 2024
a360742
Merge pull request #4405 from twz123/bump-kine
twz123 May 13, 2024
a45a028
Merge pull request #4412 from twz123/k0sctl-no-upgrade-check
twz123 May 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ updates:

# runc/containerd
- dependency-name: github.com/containerd/containerd
- dependency-name: github.com/opencontainers/runc

- package-ecosystem: github-actions
directory: /
Expand All @@ -62,6 +61,10 @@ updates:
directory: /docs
schedule:
interval: daily
groups:
mkdocs:
patterns:
- "mkdocs*"

- package-ecosystem: gomod
directory: /hack/tool
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/autopilot-branch-to-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ on:

env:
TERRAFORM_VERSION: 1.3.3
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_TERRAFORM_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_TERRAFORM_KEY }}
AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }}
TOOLSUITE_CIDR: 10.1.0.0/16
TOOL_DATADIR: tooldata
Expand All @@ -45,7 +45,7 @@ jobs:

steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
Expand All @@ -60,7 +60,7 @@ jobs:
docker save tool:latest | gzip > tool-latest.tar.gz

- name: Cache Tool Image
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: tool-${{ github.sha }}-${{ github.run_id }}
path: tool-latest.tar.gz
Expand All @@ -77,13 +77,13 @@ jobs:

steps:
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
terraform_version: ${{ env.TERRAFORM_VERSION }}

- name: Cache Tool Image (restore)
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: tool-${{ github.sha }}-${{ github.run_id }}
path: tool-latest.tar.gz
Expand All @@ -94,7 +94,7 @@ jobs:
rm tool-latest.tar.gz

- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
Expand All @@ -116,7 +116,7 @@ jobs:
echo "vpcid=$(terraform output -raw vpc_id)" >> $GITHUB_OUTPUT

- name: Cache Infrastructure Terraform
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: terraform-${{ github.sha }}-${{ github.run_id }}
path: ${{ env.TOOL_DATADIR }}/terraform.tfstate
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:

steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
Expand All @@ -196,13 +196,13 @@ jobs:
go-version: ${{ env.GO_VERSION }}

- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
terraform_version: ${{ env.TERRAFORM_VERSION }}

- name: Cache Tool Image (restore)
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: tool-${{ github.sha }}-${{ github.run_id }}
path: tool-latest.tar.gz
Expand Down Expand Up @@ -239,13 +239,13 @@ jobs:

steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- name: Cache Tool Image (restore)
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: tool-${{ github.sha }}-${{ github.run_id }}
path: tool-latest.tar.gz
Expand All @@ -256,7 +256,7 @@ jobs:
rm tool-latest.tar.gz

- name: Cache Infrastructure Terraform (restore)
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: terraform-${{ github.sha }}-${{ github.run_id }}
path: ${{ env.TOOL_DATADIR }}/terraform.tfstate
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,18 @@ jobs:
)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# required to find all branches
fetch-depth: 0
token: ${{ secrets.GH_BACKPORT_TOKEN }}
ref: ${{ github.event.pull_request.head.sha }}
- name: Create backport PRs
# should be kept in sync with `version`
uses: zeebe-io/backport-action@v1.4.0
uses: korthout/backport-action@v2.5.0
with:
# Config README: https://github.com/zeebe-io/backport-action#backport-action
# Inputs documented here: https://github.com/korthout/backport-action?tab=readme-ov-file#inputs
github_token: ${{ secrets.GH_BACKPORT_TOKEN }}
github_workspace: ${{ github.workspace }}
# should be kept in sync with `uses`
version: v0.0.8

# Regex pattern to match github labels
# The capture group catches the target branch
Expand Down
28 changes: 16 additions & 12 deletions .github/workflows/build-airgap-image-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,32 @@ on:
description: The airgap image bundle's cache key.
value: ${{ jobs.build.outputs.cache-key }}

env:
MAKEFLAGS: -j

jobs:
build:
name: "${{ inputs.target-os }}-${{ inputs.target-arch }}"
runs-on: ubuntu-22.04

outputs:
cache-key: ${{ steps.cache-airgap-image-bundle-calc-key.outputs.cache-key }}

env:
TARGET_OS: ${{ inputs.target-os }}
TARGET_ARCH: ${{ inputs.target-arch }}

steps:
- name: "Build :: Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: "Download :: Airgap image list"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: airgap-image-list-${{ inputs.target-os }}-${{ inputs.target-arch }}

# Capture the calculated image bundle source hash in a build output, so
# it can be shared between the cache actions in this job and in the
# smoketests. Do this in a separate step, as the hashFiles function is
# evaluated before the step execution. So all the required files need to
# exist before that.
# Capture the calculated image bundle source hash in a separate step, as
# the hashFiles function is evaluated before the step execution. So all
# the required files need to exist before that.
- name: "Cache :: Airgap image bundle :: Calculate cache key"
id: cache-airgap-image-bundle-calc-key
env:
Expand All @@ -52,15 +50,21 @@ jobs:

- name: "Cache :: Airgap image bundle"
id: cache-airgap-image-bundle
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ steps.cache-airgap-image-bundle-calc-key.outputs.cache-key }}
path: airgap-image-bundle-${{ inputs.target-os }}-${{ inputs.target-arch }}.tar
lookup-only: true

- name: "Build :: Airgap image bundle"
if: steps.cache-airgap-image-bundle.outputs.cache-hit != 'true'
run: |
mkdir -p "embedded-bins/staging/$TARGET_OS/bin"
make --touch airgap-images.txt
make "airgap-image-bundle-$TARGET_OS-$TARGET_ARCH.tar"

- name: "Upload :: Airgap image bundle"
uses: actions/upload-artifact@v4
with:
name: airgap-image-bundle-${{ inputs.target-os }}-${{ inputs.target-arch }}
path: airgap-image-bundle-${{ inputs.target-os }}-${{ inputs.target-arch }}.tar
compression-level: 0
12 changes: 8 additions & 4 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,25 @@ on:
paths:
- mkdocs.yml
- embedded-bins/Makefile.variables
- CODE_OF_CONDUCT.md
- docs/**

env:
MAKEFLAGS: -j

jobs:
build:
name: Build docs
runs-on: ubuntu-latest
steps:
- name: Checkout k0s
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Prepare build environment
run: .github/workflows/prepare-build-env.sh

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: pip
Expand All @@ -42,7 +46,7 @@ jobs:
run: make -C docs docs

- name: Upload site/
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: site
path: site/
Expand All @@ -52,7 +56,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout k0s
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build docs dev container
run: make -C docs .docker-image.serve-dev.stamp
19 changes: 11 additions & 8 deletions .github/workflows/build-k0s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
required: true
description: The architecture to build k0s for.

env:
MAKEFLAGS: -j

jobs:
build:
name: ${{ inputs.target-os }}-${{ inputs.target-arch }}
Expand All @@ -23,7 +26,7 @@ jobs:

steps:
- name: "Build :: Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # for `git describe`
persist-credentials: false
Expand All @@ -34,13 +37,13 @@ jobs:
.github/workflows/prepare-build-env.sh

executableSuffix=''
if [ "TARGET_OS" = windows ]; then
if [ "$TARGET_OS" = windows ]; then
executableSuffix=.exe
fi
echo executable-suffix="$executableSuffix" >>"$GITHUB_OUTPUT"

- name: "Cache :: embedded binaries"
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: build-k0s-${{ inputs.target-os }}-${{ inputs.target-arch }}-embedded-bins-${{ hashFiles('embedded-bins/**/*') }}
path: |
Expand All @@ -51,7 +54,7 @@ jobs:
pkg/assets/zz_generated_offsets_${{ inputs.target-os }}.go

- name: "Cache :: GOCACHE"
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: build-k0s-${{ inputs.target-os }}-${{ inputs.target-arch }}-gocache-${{ github.ref_name }}-${{ github.sha }}
restore-keys: |
Expand All @@ -60,7 +63,7 @@ jobs:
build/cache/go/build

- name: "Cache :: GOMODCACHE"
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: build-k0s-${{ inputs.target-os }}-${{ inputs.target-arch }}-gomodcache-${{ hashFiles('go.sum') }}
path: |
Expand All @@ -71,22 +74,22 @@ jobs:
make bindata
make --touch codegen
make build
echo "k0s${{ steps.build-prepare.outputs.executable-suffix }} binary size: **$(du -sh k0s${{ steps.build-prepare.outputs.executable-suffix }} | cut -f1)**" >>$GITHUB_STEP_SUMMARY

- name: "Upload :: k0s"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: k0s-${{ inputs.target-os }}-${{ inputs.target-arch }}
path: |
k0s${{ steps.build-prepare.outputs.executable-suffix }}
k0s${{ steps.build-prepare.outputs.executable-suffix }}[.]exe

- name: "Build :: Airgap image list"
if: inputs.target-os != 'windows'
run: make airgap-images.txt && cat airgap-images.txt

- name: "Upload :: Airgap image list"
if: inputs.target-os != 'windows'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: airgap-image-list-${{ inputs.target-os }}-${{ inputs.target-arch }}
path: airgap-images.txt
Loading
Loading