diff --git a/core/src/plugins/kubernetes/status/status.ts b/core/src/plugins/kubernetes/status/status.ts index d111c3886bd..6191049d308 100644 --- a/core/src/plugins/kubernetes/status/status.ts +++ b/core/src/plugins/kubernetes/status/status.ts @@ -31,6 +31,7 @@ import { V1Pod, V1ReplicaSet, V1ReplicationController, + V1Secret, V1Service, } from "@kubernetes/client-node" import { getPods, getResourceKey, hashManifest } from "../util" @@ -101,6 +102,12 @@ const objHandlers: { [kind: string]: StatusHandler } = { return checkWorkloadPodStatus(resource, await getPods(api, namespace, resource.spec!.selector!)) }, + Secret: async (params: StatusHandlerParams) => { + const { api, namespace, resource } = params + // TODO: compare the `resource` against the manifest generated from the action? + return { state: "ready", resource } + }, + Service: async ({ resource }: StatusHandlerParams) => { if (resource.spec.type === "ExternalName") { return { state: "ready", resource }