github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/openfaas.com/Function/testdata/suspended_zero_replicas.yaml (about)

     1  ---
     2  apiVersion: openfaas.com/v1
     3  kind: Function
     4  metadata:
     5    annotations:
     6      kubectl.kubernetes.io/last-applied-configuration: |
     7        {"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"}}
     8    creationTimestamp: "2024-04-29T13:38:50Z"
     9    generation: 1
    10    name: env
    11    namespace: openfaas-fn
    12    resourceVersion: "580543"
    13    uid: 865f74b9-cbc5-455a-abd7-4a1cdeae22d1
    14  spec:
    15    annotations: {}
    16    environment:
    17      fprocess: env
    18      test: "yes"
    19    image: ghcr.io/openfaas/alpine:latest
    20    labels: {}
    21    name: env
    22  status:
    23    conditions:
    24    - lastTransitionTime: "2024-04-29T13:38:50Z"
    25      message: Deployment and service reconciled
    26      observedGeneration: 1
    27      reason: Ready
    28      status: "True"
    29      type: Ready
    30    - lastTransitionTime: "2024-04-29T13:41:27Z"
    31      message: At least one replica available
    32      observedGeneration: 1
    33      reason: ReplicaAvailable
    34      status: "False"
    35      type: Healthy