github.com/argoproj/argo-cd@v1.8.7/resource_customizations/argoproj.io/Rollout/testdata/healthy_legacy_v0.9_observedGeneration.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    - lastTransitionTime: "2020-11-13T00:48:20Z"
    41      lastUpdateTime: "2020-11-13T00:48:22Z"
    42      message: ReplicaSet "basic-754cb84d5" has successfully progressed.
    43      reason: NewReplicaSetAvailable
    44      status: "True"
    45      type: Progressing
    46    - lastTransitionTime: "2020-11-13T00:48:22Z"
    47      lastUpdateTime: "2020-11-13T00:48:22Z"
    48      message: Rollout has minimum availability
    49      reason: AvailableReason
    50      status: "True"
    51      type: Available
    52    currentPodHash: 754cb84d5
    53    currentStepHash: 757f5f97b
    54    currentStepIndex: 2
    55    observedGeneration: "abc123"  ##  <---- uses legacy observedGeneration hash
    56    readyReplicas: 1
    57    replicas: 1
    58    selector: app=basic
    59    stableRS: 754cb84d5
    60    updatedReplicas: 1