kubernetes: fix certificate generation
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This commit is contained in:
parent
9210c8e8ed
commit
35f7a3347c
1 changed files with 3 additions and 2 deletions
|
@ -20,7 +20,7 @@ let
|
|||
size = 2048;
|
||||
};
|
||||
CN = top.masterAddress;
|
||||
hosts = cfg.cfsslAPIExtraSANs;
|
||||
hosts = [top.masterAddress] ++ cfg.cfsslAPIExtraSANs;
|
||||
});
|
||||
|
||||
cfsslAPITokenBaseName = "apitoken.secret";
|
||||
|
@ -228,7 +228,8 @@ in
|
|||
};
|
||||
private_key = cert.privateKeyOptions;
|
||||
request = {
|
||||
inherit (cert) CN hosts;
|
||||
hosts = [cert.CN] ++ cert.hosts;
|
||||
inherit (cert) CN;
|
||||
key = {
|
||||
algo = "rsa";
|
||||
size = 2048;
|
||||
|
|
Loading…
Reference in a new issue