k3s/pkg
Derek Nola b016e3d58b
Generation of certificates and keys for etcd gated if etcd is disabled. (#7946)
Problem:
When support for etcd was added in 3957142, generation of certificates and keys for etcd was not gated behind use of managed etcd.
Keys are generated and distributed across servers even if managed etcd is not enabled.

Solution:
Allow generation of certificates and keys only if managed etc is enabled. Check config.DisableETCD flag.

Signed-off-by: Bartossh <lenartconsulting@gmail.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-authored-by: Bartosz Lenart <lenart.consulting@gmail.com>
2023-07-11 14:19:02 -07:00
..
agent Fall back to basic/bearer auth when node identity auth is rejected 2023-07-07 14:16:50 -07:00
apis/k3s.cattle.io Create CRDs with schema 2023-05-10 15:02:29 -07:00
authenticator Consistently use constant-time comparison of password hashes 2023-05-10 15:02:29 -07:00
bootstrap [Release-1.24] Replace deprecated ioutil package (#6235) 2022-10-07 19:03:46 -07:00
cgroups [Release-1.24] Replace deprecated ioutil package (#6235) 2022-10-07 19:03:46 -07:00
cli Adding cli to custom klipper helm image (#7682) 2023-07-07 16:49:57 -07:00
clientaccess Fall back to basic/bearer auth when node identity auth is rejected 2023-07-07 14:16:50 -07:00
cloudprovider Make LB image configurable when compiling k3s 2023-06-12 10:53:41 -07:00
cluster Revert "VPN integration" 2023-06-12 11:24:29 +02:00
codegen [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
configfilearg Shortcircuit commands with version or help flags (#7683) 2023-06-09 17:08:19 -07:00
containerd Enable containerd aufs/devmapper/zfs snapshotter plugins 2023-06-12 10:53:41 -07:00
crd Create CRDs with schema 2023-05-10 15:02:29 -07:00
ctr Build & enable ctr with k3s server 2019-06-30 09:30:25 -07:00
daemons Generation of certificates and keys for etcd gated if etcd is disabled. (#7946) 2023-07-11 14:19:02 -07:00
data code changes to drop the vendor dir 2021-12-21 14:23:38 -07:00
datadir [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
dataverify Add file verification for data directory 2020-10-06 10:29:27 -07:00
deploy Bump metrics-server to v0.6.3 and update tls-cipher-suites 2023-06-12 10:53:41 -07:00
etcd Fix MemberList error handling and incorrect etcd-arg passthrough 2023-05-10 15:02:29 -07:00
flock Update golangci-lint to 1.45.2 2022-04-13 14:48:42 -07:00
generated Create CRDs with schema 2023-05-10 15:02:29 -07:00
kubeadm Add support for `k3s token` command 2023-02-10 09:34:10 -08:00
kubectl Track upstream changes to kubectl command execution 2022-03-16 17:19:18 -07:00
node [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
nodeconfig Revert "VPN integration" 2023-06-12 11:24:29 +02:00
nodepassword Soft-fail on node password verification if the secret cannot be created 2023-06-12 10:53:41 -07:00
passwd Revert "VPN integration" 2023-06-12 11:24:29 +02:00
rootless Address nits from self-review 2022-12-02 00:20:37 -08:00
rootlessports [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
secretsencrypt Ignore value conflicts when reencrypting secrets (#6918) 2023-02-08 10:45:13 -08:00
server Adding cli to custom klipper helm image (#7682) 2023-07-07 16:49:57 -07:00
static go generate 2023-05-10 15:02:29 -07:00
token Revert "VPN integration" 2023-06-12 11:24:29 +02:00
untar Bump wharfie to v0.5.1 and use shared decompression code 2021-12-07 12:50:57 -08:00
util Remove file_windows.go 2023-07-05 18:08:32 +02:00
version remove hard coded value 2020-07-09 11:20:06 -07:00