Commit Graph

1245 Commits (30c8ad926d5b9965a3173ca89828730ff73312c0)

Author SHA1 Message Date
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
Brad Davidson f2585c1671 Add --flannel-external-ip flag
2 years ago
Brad Davidson e8c250b8dc Fix RBAC to allow removal of legacy finalizer
2 years ago
Brad Davidson 3c0cd6f2dc Return ProviderID in URI format
2 years ago
Brad Davidson f25419ca2c Add ServiceAccount for svclb pods
2 years ago
Derek Nola 06d81cb936
Replace deprecated ioutil package (#6230)
2 years ago
Brad Davidson 25e83cfa4f Bump traefik to 2.9.1 / chart 12.0.0
2 years ago
Brad Davidson b411864be5 Handle custom kubelet port in agent tunnel
2 years ago
Brad Davidson 11072e2516 Fix occasional "TLS handshake error" in apiserver network proxy.
2 years ago
Brad Davidson f633732d80 Use structured logging instead of logrus for event recorders
2 years ago
Brad Davidson d963cb2f70 Disable cloud-node and cloud-node-lifecycle if CCM is disabled
2 years ago
Brad Davidson 0b96ca92bc Move servicelb into cloudprovider LoadBalancer interface
2 years ago
Brad Davidson a15e7e8b68 Move DisableServiceLB/Rootless/ServiceLBNamespace into config.Control
2 years ago
Brad Davidson 063039471c Implement InstancesV2 instead of Instances
2 years ago
Brad Davidson 6e97bddc04 Bump metrics-server to v0.6.1
2 years ago
Manuel Buil 5164cf5345 Add flannel-external-ip when there is a k3s node-external-ip
2 years ago
Roberto Bonafiglia 26e9405767 Added warning message for flannel backend additional options deprecation
2 years ago
Derek Nola 1d46841d80 Fix deprecation message
2 years ago
Derek Nola cd49101fc8
Convert deprecated flags to fatal errors for v1.25 (#6069)
2 years ago
Hussein Galal ba62c79f9b
Update to v1.25.0-k3s1 (#6040)
2 years ago
Brad Davidson 7d6982d1fa Export agent.NetworkName for Windows
2 years ago
Brad Davidson 3e394f8ec5 The Windows kubelet does not accept cadvisor flags
2 years ago
Derek Nola 035c03cfaa
Remove codespell from Drone, add to GH Actions (#6004)
2 years ago
Roberto Bonafiglia a30971efaa Updated flannel to v0.19.1
2 years ago
Brad Davidson 4aca21a1f1 Add cri-dockerd support as backend for --docker flag
2 years ago
Brad Davidson b1fa63dfb7 Revert "Remove --docker/dockershim support"
2 years ago
Brad Davidson cf66559940 Print stack on panic
2 years ago
Roberto Bonafiglia abdf0c7319 Fix comments and add check in case of IPv6 only node
2 years ago
Roberto Bonafiglia d90ba30353 Added NodeIP autodect in case of dualstack connection
2 years ago
Derek Nola 1c17f05b8e
Fix secrets reencryption for 8K+ secrets (#5936)
2 years ago
Derek Nola 118a68c913
Updates to CLI flag grouping + deprecated flag warnings. (#5937)
2 years ago
Vladimir Kochnev 13af0b1d88 Save agent token to /var/lib/rancher/k3s/server/agent-token
2 years ago
Derek Nola 4c0bc8c046
Update etcd error to match correct url (#5909)
2 years ago
Brad Davidson db2ba7b61d Don't enable unprivileged ports and icmp on old kernels
2 years ago
Brad Davidson 5eaa0a9422 Replace getLocalhostIP with Loopback helper method
2 years ago
Brad Davidson 84fb8787f2 Add service-cluster-ip-range to controller-manager args
2 years ago