mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
537f0b5404
commit
e84f9b9394
1 file changed
+2
-2
@@ -42,7 +42,7 @@ export interface ISecretRef {
|
||||
}
|
||||
|
||||
export interface SecretData extends KubeJsonApiData {
|
||||
type: SecretType;
|
||||
type?: SecretType;
|
||||
data?: Record<string, string>;
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ export class Secret extends KubeObject {
|
||||
static namespaced = true;
|
||||
static apiBase = "/api/v1/secrets";
|
||||
|
||||
declare type: SecretType;
|
||||
declare type?: SecretType;
|
||||
declare data: Record<string, string>;
|
||||
|
||||
constructor(data: SecretData) {
|
||||
|
||||
Reference in new issue
Block a user