mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
wip: enable tls on lens-k8s-proxy
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
c04a3b8d33
commit
ad1776d101
8 files changed
+118
-4
No files matched your search
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Copyright (c) OpenLens Authors. All rights reserved.
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
*/
|
||||
|
||||
declare module "selfsigned" {
|
||||
export type SelfSignedCert = {
|
||||
private: string;
|
||||
public: string;
|
||||
cert: string;
|
||||
};
|
||||
|
||||
type GenerateAttributes = Array<any>;
|
||||
|
||||
type GenerateOptions = {
|
||||
keySize?: number;
|
||||
days?: number;
|
||||
algorithm?: "sha1" | "sha256";
|
||||
extensions?: any;
|
||||
pkcs7?: boolean;
|
||||
clientCertificate?: boolean;
|
||||
clientCertificateCN?: string;
|
||||
};
|
||||
|
||||
export function generate(GenerateAttributes, GenerateOptions): SelfSignedCert;
|
||||
}
|
||||
Reference in new issue
Block a user