Commit Graph

1380 Commits (d1709d60ce98da6e15d8427bc984cd87dfec20c6)

Author SHA1 Message Date
Brad Davidson 3abc8b82ed Bump traefik, golang.org/x/net, google.golang.org/grpc
1 year ago
Roberto Bonafiglia 1ffb4603cd Use IPv6 in case is the first configured IP with dualstack
1 year ago
Brad Davidson d885162967 Add server token hash to CR and S3
1 year ago
Brad Davidson 550ab36ab7 Switch to managing ETCDSnapshotFile resources
1 year ago
Brad Davidson 5cd4f69bfa Move snapshot delete into local/s3 functions
1 year ago
Brad Davidson a15b804e00 Sort snapshots by time and key in tabwriter output
1 year ago
Brad Davidson 7464007037 Store extra metadata and cluster ID for snapshots
1 year ago
Brad Davidson 80f909d0ca Move s3 snapshot list functionality to s3.go
1 year ago
Brad Davidson 8d47645312 Consistently set snapshotFile timestamp
1 year ago
Brad Davidson f1afe153a3 Tidy s3 upload functions
1 year ago
Brad Davidson 2b0e2e8ada Elide old snapshot data when apiserver rejects configmap with ErrRequestEntityTooLarge
1 year ago
Brad Davidson 676b00aa0e Move etcd snapshot code into separate file
1 year ago
Brad Davidson 500744bb94 Add new CRD for etcd snapshots
1 year ago
Brad Davidson 9bb1ce1253 Bump busybox to v1.36.1
1 year ago
Derek Nola dface01de8
Server Token Rotation (#8265)
1 year ago
Roberto Bonafiglia ced25af5b1 Fixed tailscale node IP dualstack mode in case of IPv4 only node
1 year ago
Manuel Buil e82b37640a Network defaults are duplicated, remove one
1 year ago
Manuel Buil f2c7117374 Take IPFamily precedence based on order
1 year ago
Manuel Buil 0b23a478cf ipFamilyPolicy:PreferDualStack for coredns and metrics-server
1 year ago
Brad Davidson 0e5c760625 Pass SystemdCgroup setting through to nvidia runtime options
1 year ago
Edgar Lee fe18b1fce9
Add --image-service-endpoint flag (#8279)
1 year ago
Manuel Buil 2a9e8e68d5
Merge pull request #8354 from manuelbuil/vpnExtraParams
1 year ago
Manuel Buil 4dd45b3142
Merge pull request #8439 from manuelbuil/fixGofmt
1 year ago
Vitor Savian b6ab24c4fd
Added error when cluster reset while using server flag
1 year ago
Manuel Buil 172a7f1d1a Fix gofmt error
1 year ago
Brad Davidson 8705a88bf4 Clear remove annotations on cluster reset; refuse to delete last member from cluster
1 year ago
Brad Davidson 002e6c43ee Reorganize Driver interface and etcd driver to avoid passing context and config into most calls
1 year ago
Brad Davidson 890645924f Don't export functions not needed outside the etcd package
1 year ago
Brad Davidson a3c52d60a5 Skip creating CRDs and setting up event recorder for CLI controller context
1 year ago
Brad Davidson 391e61bd72 Use admin kubeconfig instead of supervisor for etcd snapshot CLI
1 year ago
Brad Davidson 8c73fd670b Disable HTTP on main etcd client port
1 year ago
Manuel Buil 12459fca97 Add extraArgs to tailscale
1 year ago
Manuel Buil cae8b2b626
Merge pull request #8346 from manuelbuil/interfaceLogs
1 year ago
Manuel Buil 3194dc7367
Merge pull request #8284 from manuelbuil/improveFlannelLogging
1 year ago
Manuel Buil 8c197bdce4 Include the interface name in the error message
1 year ago
Manuel Buil 8146041185
Merge pull request #8250 from manuelbuil/fixWinError
1 year ago
Johnatas 6330a5b49c
Update to v1.28.2 and go v1.20.8 (#8364)
1 year ago
Manuel Buil 66cb1064d1 Add context to flannel errors
1 year ago
Manuel Buil d3f7632463 Fix error reporting
1 year ago
Brad Davidson 0d23cfe038 Add RWMutex to address controller
1 year ago
Brad Davidson cba9f0d142 Add new CLI flag to disable TLS SAN CN filtering
1 year ago
Derek Nola 2cb7023660 Use already imported semver, bump kine
1 year ago
Derek Nola f2d0c5409a Add check for support on cp nodes
1 year ago
Derek Nola 51f1a5a0ab Review comments and fixes
1 year ago
Derek Nola 42c2ac95e2 CLI + Backend for Secrets Encryption v3
1 year ago
Derek Nola b967f92785 Replace os.Write with AtomicWrite function
1 year ago
Derek Nola ced330c66a
[v1.28] CLI Removal for v1.28.0 (#8203)
1 year ago
Hussein Galal af50e1b096
Update to v1.28.0-k3s1 (#8199)
1 year ago
Brad Davidson 66bae3e326 Bump dynamiclistener for init deadlock fix
1 year ago
Vitor Savian e83b1ba4aa
Fixed the etcd retention to delete orphaned snapshots based on the date (#8177)
1 year ago
Vitor Savian c97211866a
Fix for cluster-reset backup from s3 when etcd snapshots are disabled (#8155)
1 year ago
Ian Cardoso e551308db8
fix for etcd-snapshot delete with --etcd-s3 flag (#8110)
1 year ago
Vitor Savian ca7aeed090
Etcd snapshots retention when node name changes (#8099)
1 year ago
Brad Davidson aa76942d0f Add FilterCN function to prevent SAN Stuffing
1 year ago
Manuel Buil 8c38d1169d
Merge pull request #8077 from manuelbuil/fixTailscale
1 year ago
Derek Nola 46cbbab263
Consolidate CopyFile functions (#8079)
1 year ago
Manuel Buil 59eec78c62 Fix tailscale bug with ip modes
1 year ago
Brad Davidson f21ae1d949 Make apiserver egress args conditional on egress-selector-mode
1 year ago
Simon Kirsten 546dc247a0
Add support for `{{ template "base" . }}` in etc/containerd/config.toml.tmpl (#7991)
1 year ago
Derek Nola 6d360e6473
Unit test for MustFindString (#8013)
1 year ago
Derek Nola be44243353
Adjust default kubeconfig file permissions (#7978)
1 year ago
Derek Nola 0b18a65d4f
Revert "Warn that v1.28 will deprecate reencrypt/prepare (#7848)"
1 year ago
Bartosz Lenart 34617390d0
Generation of certificates and keys for etcd gated if etcd is disabled. (#6998)
1 year ago
Derek Nola 8405813c12
Fix rootless node password (#7887)
1 year ago
Denys Smirnov b9a2bf11ee Support setting control server URL for Tailscale.
1 year ago
Derek Nola 4ab01f3941
Warn that v1.28 will deprecate reencrypt/prepare (#7848)
1 year ago
Manuel Buil 6c44b06e0a
Merge pull request #7838 from manuelbuil/ipv4ipv6tailscale
1 year ago
Manuel Buil bca0adbca8 Fix code spell check
1 year ago
Manuel Buil 9c48d10eba
Merge pull request #7845 from manuelbuil/removeWinFile
1 year ago
Brad Davidson 7f50b40cfe Fall back to basic/bearer auth when node identity auth is rejected
1 year ago
Daishan Peng ce3443ddf6 Allow k3s to customize apiServerPort on helm-controller
1 year ago
LeiLei 72d50b1f7c
Add `--data-dir` to the `k3s certificate rotate-ca` cli (#7791)
1 year ago
Manuel Buil d593c83603 Remove file_windows.go
1 year ago
Manuel Buil f21a01474d Check if we are on ipv4, ipv6 or dualStack when doing tailscale
1 year ago
Vitor Savian 0809187cff
Adding cli to custom klipper helm image (#7682)
1 year ago
guoguangwu 2215870d5d chore: pkg imported more than once
1 year ago
Manuel Buil 43611bb5ad Fix the error report
1 year ago
Manuel Buil 268c9a7684
Merge pull request #7352 from manuelbuil/vpnintegrations-afterparental
1 year ago
Manuel Buil 869e030bdd VPN PoC
1 year ago
Derek Nola dc6c569b98
Shortcircuit commands with version or help flags (#7683)
1 year ago
Brad Davidson e5e1a674ce Enable containerd aufs/devmapper/zfs snapshotter plugins
1 year ago
Brad Davidson 5170bc5a04 Improve error response logging
1 year ago
Brad Davidson 45d8c1a1a2 Soft-fail on node password verification if the secret cannot be created
1 year ago
Derek Nola b0188f5a13
Test Coverage Reports for E2E tests (#7526)
1 year ago
Yuxing Deng b64a226ebd Make LB image configurable when compiling k3s
2 years ago
Brad Davidson 64a5f58f1e Create new kubeconfig for supervisor use
2 years ago
Brad Davidson 8748813a61 Use distinct clients for supervisor, deploy, and helm controllers
2 years ago
Brad Davidson e9958cf070 Bump metrics-server to v0.6.3 and update tls-cipher-suites
2 years ago
Brad Davidson 93279d2f59 Bump klipper-lb to v0.4.4
2 years ago
Andrew Roffey 0485a56f33 allow coredns override extensions
2 years ago
Manuel Buil 4aafff0219 Wrap error stating that it is coming from netpol
2 years ago
Brad Davidson 8f450bafe1 Bump helm-controller version for repo auth/ca support
2 years ago
Brad Davidson 607cbf0ad6 Bump containerd to v1.7.0 and move back into multicall binary
2 years ago
thomasferrandiz b4bc57d049
Merge pull request #7303 from thomasferrandiz/netpol-log-level
2 years ago
Brad Davidson 239021e759 Consistently use constant-time comparison of password hashes
2 years ago
Derek Nola c6dc789e25
Add support for `-cover` + integration test code coverage (#7415)
2 years ago
Brad Davidson cf9ebb3259 Fail to validate server tokens that use bootstrap id/secret format
2 years ago
Manuel Buil eb83af0de4
Merge pull request #7422 from manuelbuil/modify-utils
2 years ago
Brad Davidson cedefeff24 Bump cni plugins to v1.2.0-k3s1
2 years ago
Boleyn Su a736b4b1b9
local-storage: Fix permission (#7217)
2 years ago
Manuel Buil 437ad128c7 Migrate netutil methods into /utils/net.go
2 years ago
Derek Nola e1d4cff14c
Enable FindString to search dotD config files (#7323)
2 years ago
Derek Nola d5f560360e
Handle multiple arguments with StringSlice flags (#7380)
2 years ago
Brad Davidson e61fde93c1 Fix MemberList error handling and incorrect etcd-arg passthrough
2 years ago
Brad Davidson 91afb38799 Retry cluster join on "too many learners" error
2 years ago
Brad Davidson f1b6a3549c Fix stack log on panic
2 years ago
Brad Davidson c44d33d29b Fix race condition in tunnel server startup
2 years ago
Brad Davidson 31a6386994 Improve egress selector handling on agentless servers
2 years ago
Brad Davidson 0247794aa9 go generate
2 years ago
Brad Davidson ad41fb8c96 Create CRDs with schema
2 years ago
Derek Nola bc5b42c279
Cleanup help messages (#7369)
2 years ago
Thomas Ferrandiz 66fcca66cb ensure that klog verbosity is set to the same level as logrus
2 years ago
Derek Nola 944f811dc5
v1.27.1 CLI Deprecation (#7311)
2 years ago
Derek Nola f2bde63eea
Kubernetes v1.27.1 (#7271)
2 years ago
Hussein Galal 30638072c9
Update klipper lb to v0.4.2 (#7210)
2 years ago
Roberto Bonafiglia 3e3512bdae Updated kube-route version to move the iptables ACCEPT default rule at the end of the chain
2 years ago
Brad Davidson d95980bba3 Lock bootstrap data with empty key to prevent conflicts
2 years ago
Brad Davidson 2992477c4b Debounce kubernetes service endpoint updates
2 years ago
Brad Davidson ece4d8e45c Fix tests to not hide failure location in dummp assert functions
2 years ago
Brad Davidson e54ceaa497 Fix issue with stale connections to removed LB server
2 years ago
Brad Davidson d388b82d25 go generate
2 years ago
Brad Davidson b010db0cff Ensure that loopback is used for the advertised address when resetting
2 years ago
Brad Davidson cee3ddbc4a
Bump Local Path Provisioner version (#7167)
2 years ago
Roberto Bonafiglia 15ee88964b Added multiClusterCidr feature
2 years ago
Daniel Mills 822ee79eb8
Remove deprecated nodeSelector label beta.kubernetes.io/os (#6970)
2 years ago
Brad Davidson 977a85559e Add support for cross-signing new certs during ca rotation
2 years ago
Daishan Peng b7f90f389c
Wait for kubelet port to be ready before setting (#7041)
2 years ago
Derek Nola d218068f34
Adds a warning about editing to the containerd config.toml file (#7057)
2 years ago
Roberto Bonafiglia e098b99bfa
Update flannel and kube-router (#7039)
2 years ago
Brad Davidson cbe4bcfeee Add test for filterByIPFamily
2 years ago
Brad Davidson cc333d8d0c Fix ServiceLB dual-stack ingress IP listing
2 years ago
Brad Davidson 23d98cec22 Fix CACertPath stripping trailing path components
2 years ago
Brad Davidson 0c302f4341 Fix etcd member deletion
2 years ago
Roberto Bonafiglia b8e69712a3 Updated flannel version to v0.21.0
2 years ago
Brad Davidson 3d146d2f1b Allow for multiple sets of leader-elected controllers
2 years ago
Paul Donohue 290d7e8fd1 Fix access to hostNetwork port on NodeIP when egress-selector-mode=agent
2 years ago
Brad Davidson ddcc4d4034 go generate
2 years ago
Brad Davidson c6d0afd0cb Check for existing resources before creating them
2 years ago
Brad Davidson 32d62c5786 Use default address family when adding kubernetes service address to SAN list
2 years ago
Byron Ruth a92f163c9d
Add NATS to the list of supported data stores (#6876)
2 years ago
Brad Davidson 87f9c4ab11 Ensure that node exists when using node auth
2 years ago
Brad Davidson 992e64993d Add support for kubeadm token and client certificate auth
2 years ago
Brad Davidson 373df1c8b0 Add support for `k3s token` command
2 years ago
Derek Nola 7d49202721
Ignore value conflicts when reencrypting secrets (#6850)
2 years ago
Brad Davidson 215fb157ff Add `certificate rotate-ca` to write updated CA certs to datastore
2 years ago
Brad Davidson 3c324335b2 Add utility functions for getting kubernetes client
2 years ago
Brad Davidson 58d40327b4 Fix CA cert hash for root certs
2 years ago
Brad Davidson 0919ec6755 Ensure cluster-signing CA files contain only a single CA cert
2 years ago
Derek Nola 32086717fc
Ensure flag type consistency (#6852)
2 years ago
Akos Elek 9fcc7c0db8
Fix cronjob example (#6707)
2 years ago
Derek Nola 0d4caf4e24
Wait for cri-dockerd socket (#6812)
2 years ago
Brad Davidson 1c6fde9a52 go generate
2 years ago
Brad Davidson 369b81b45e Honor Service ExternalTrafficPolicy
2 years ago
Brad Davidson 3cb6fa5cc7 Set cri-dockerd version at build time
2 years ago
Brad Davidson 89f7062431 Add build tag to disable cri-dockerd
2 years ago
Brad Davidson f54b5e4fa0 Fix CI tests
2 years ago
Silvio Moioli 23c1040adb
Bugfix: do not break cert-manager when pprof is enabled (#6635)
2 years ago
Brad Davidson 8340b54309 Pass through default tls-cipher-suites
2 years ago
Brad Davidson a298bfdb18 Add jitter to scheduled snapshots and retry harder on conflicts
2 years ago
Brad Davidson 0c9b43746b Preload iptable_filter/ip6table_filter
2 years ago
Hussein Galal f8b661d590
Update to v1.26.0-k3s1 (#6370)
2 years ago
Derek Nola b5d39df929
Deprecation of `etcd-snapshot` command in v1.26 (#6575)
2 years ago
Derek Nola d723775792
Remove deprecated flags in v1.26 (#6574)
2 years ago
Brad Davidson 2835368ecb Bump k3s-root and remove embedded strongswan support
2 years ago
Derek Nola af8f101bdc
Mark secrets-encryption flag as GA (#6582)
2 years ago
Brad Davidson 915c7719fe go generate
2 years ago
Brad Davidson 1eeea5c81f go generate
2 years ago
Brad Davidson e08a662509 Disable CCM metrics port when legacy CCM functionality is disabled
2 years ago
Brad Davidson a07bb555ba Bump klipper-helm and klipper-lb versions
2 years ago
Derek Nola 614da78e43
Add `prefer-bundled-bin` as an agent flag (#6545)
2 years ago
Manuel Buil 1beecb2e2d
Merge pull request #6531 from manuelbuil/fixLogs
2 years ago
Manuel Buil 483e29e783 Remove stuff which belongs in the windows executor implementation
2 years ago
Brad Davidson 9ff0943d56 Address nits from self-review
2 years ago
Brad Davidson 56bf7d6ad3 Allow agent to run rootless
2 years ago
Brad Davidson 6f2b21c5cd Add rootless IPv6 support
2 years ago
Brad Davidson c02dceb7ad Make rootless settings configurable
2 years ago
Brad Davidson 73171ff20a go generate
2 years ago
Derek Nola 0f52088cd3
Add new `prefer-bundled-bin` experimental flag (#6420)
2 years ago
Manuel Buil 5188443988 Fix log for flannelExternalIP use case
2 years ago
Manuel Buil e41e4010e5 Revert "Remove stuff which belongs in the windows executor implementation"
2 years ago
Manuel Buil 9419b1a936
Merge pull request #6492 from manuelbuil/removeWinStuff
2 years ago
Brad Davidson adb820d859 Bump traefik chart to 19.0.4 to fix kubernetes version check
2 years ago
Manuel Buil 1bc0684fb7 Remove stuff which belongs in the windows executor implementation
2 years ago
Derek Nola 13c633da12
Add Secrets Encryption to CriticalArgs (#6409)
2 years ago
Manuel Buil 861f8ed8f8
Merge pull request #6386 from manuelbuil/changeAddrTypesMetricsServer
2 years ago
thomasferrandiz b7d217dbf3
Merge pull request #6405 from thomasferrandiz/log-kube-router-version
2 years ago
Manuel Buil 8aff25e192
Merge pull request #6403 from manuelbuil/logsFlannelExternalIP
2 years ago
Manuel Buil 557fcd28d5 Change the priority of address types depending on flannel-external-ip
2 years ago
Manuel Buil 1682172ac1 Add some helping logs to avoid wrong configs
2 years ago
Roberto Bonafiglia 87c7ea81f0 Updated flannel version to 0.20.1
2 years ago
Thomas Ferrandiz 68ac954489 log kube-router version when starting netpol controller
2 years ago
Brad Davidson d7dbf69f7f go generate
2 years ago
iyear 3aae7b8783 Fix incorrect defer usage
2 years ago
Brad Davidson cb86d2c1f0 Bump traefik to v2.9.4 / chart v18.3.0
2 years ago
Petri Kivikangas 6156059136 Convert containerd config.toml.tmpl Linux template to v2 syntax
2 years ago
Brad Davidson 76729d813b Set default kubeletPort
2 years ago
Brad Davidson 269563e4d2 Check for RBAC before starting tunnel controllers
2 years ago
Brad Davidson 68a56ff8d8 Add GVK lookup to deploy controller
2 years ago
Brad Davidson 8d28a38a18 Update helm-controller to pull in refactor
2 years ago
Brad Davidson 16a8b6d6f1 Bump Traefik helm chart to v18.0.0
2 years ago