{
    "apiVersion": "openfaas.com/v1",
    "kind": "Function",
    "metadata": {
        "annotations": {
            "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"openfaas.com/v1\",\"kind\":\"Function\",\"metadata\":{\"annotations\":{},\"name\":\"env\",\"namespace\":\"openfaas-fn\"},\"spec\":{\"annotations\":{},\"environment\":{\"fprocess\":\"env\",\"test\":\"yes\"},\"image\":\"ghcr.io/openfaas/alpine:latest\",\"labels\":{},\"name\":\"env\",\"secrets\":[\"missing-secret\"]}}\n"
        },
        "creationTimestamp": "2024-04-29T13:42:46Z",
        "generation": 1,
        "name": "env",
        "namespace": "openfaas-fn",
        "resourceVersion": "580675",
        "uid": "7a00bc7b-eb01-4f6a-b5f7-7893422ace7d"
    },
    "spec": {
        "annotations": {},
        "environment": {
            "fprocess": "env",
            "test": "yes"
        },
        "image": "ghcr.io/openfaas/alpine:latest",
        "labels": {},
        "name": "env",
        "secrets": [
            "missing-secret"
        ]
    },
    "status": {
        "conditions": [
            {
                "lastTransitionTime": "2024-04-29T13:42:46Z",
                "message": "Function queued for creation",
                "observedGeneration": 1,
                "reason": "Reconciling",
                "status": "True",
                "type": "Reconciling"
            },
            {
                "lastTransitionTime": "2024-04-29T13:42:46Z",
                "message": "Secret missing: secrets \"missing-secret\" not found",
                "observedGeneration": 1,
                "reason": "SecretMissing",
                "status": "True",
                "type": "Stalled"
            }
        ]
    }
}
