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;
|
size = 2048;
|
||||||
};
|
};
|
||||||
CN = top.masterAddress;
|
CN = top.masterAddress;
|
||||||
hosts = cfg.cfsslAPIExtraSANs;
|
hosts = [top.masterAddress] ++ cfg.cfsslAPIExtraSANs;
|
||||||
});
|
});
|
||||||
|
|
||||||
cfsslAPITokenBaseName = "apitoken.secret";
|
cfsslAPITokenBaseName = "apitoken.secret";
|
||||||
|
@ -228,7 +228,8 @@ in
|
||||||
};
|
};
|
||||||
private_key = cert.privateKeyOptions;
|
private_key = cert.privateKeyOptions;
|
||||||
request = {
|
request = {
|
||||||
inherit (cert) CN hosts;
|
hosts = [cert.CN] ++ cert.hosts;
|
||||||
|
inherit (cert) CN;
|
||||||
key = {
|
key = {
|
||||||
algo = "rsa";
|
algo = "rsa";
|
||||||
size = 2048;
|
size = 2048;
|
||||||
|
|
Loading…
Reference in a new issue