github.com/argoproj/argo-cd/v2@v2.10.9/resource_customizations/argoproj.io/Rollout/testdata/degraded_statusPhaseMessage.yaml (about)

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: Rollout
     3  metadata:
     4    creationTimestamp: "2020-11-13T00:44:55Z"
     5    generation: 1
     6    name: basic
     7    namespace: argocd-e2e
     8    resourceVersion: "182108"
     9    selfLink: /apis/argoproj.io/v1alpha1/namespaces/argocd-e2e/rollouts/basic
    10    uid: 34e4bbfc-222c-4968-bd60-2b30ae81110d
    11  spec:
    12    replicas: 1
    13    selector:
    14      matchLabels:
    15        app: basic
    16    strategy:
    17      canary:
    18        steps:
    19          - setWeight: 50
    20          - pause: {}
    21    template:
    22      metadata:
    23        creationTimestamp: null
    24        labels:
    25          app: basic
    26      spec:
    27        containers:
    28          - image: nginx:1.19-alpine
    29            name: basic
    30            resources:
    31              requests:
    32                cpu: 1m
    33                memory: 16Mi
    34  status:
    35    HPAReplicas: 1
    36    availableReplicas: 1
    37    blueGreen: {}
    38    canary: {}
    39    conditions: {}
    40    phase: "Degraded"
    41    message: "InvalidSpec"
    42    currentPodHash: 754cb84d5
    43    currentStepHash: 757f5f97b
    44    currentStepIndex: 2
    45    observedGeneration: "8575574967"  ##  <---- uses legacy observedGeneration hash which are numbers
    46    readyReplicas: 1
    47    replicas: 1
    48    selector: app=basic
    49    stableRS: 754cb84d5
    50    updatedReplicas: 1