Skip to content

Commit 5dc061f

Browse files
committed
Add optional spec property to Kubernetes object
1 parent 6305ecd commit 5dc061f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import { V1ListMeta, V1ObjectMeta } from './api';
22

3+
34
export interface KubernetesObject {
45
apiVersion?: string;
56
kind?: string;
67
metadata?: V1ObjectMeta;
8+
spec?: object;
79
}
810

911
export interface KubernetesListObject<T extends KubernetesObject> {

0 commit comments

Comments
 (0)