# argocd_source_degraded_invalidSpec.yaml
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  annotations:
    rollout.argoproj.io/revision: "1"
  creationTimestamp: "2020-11-13T00:22:49Z"
  generation: 3
  name: basic
  namespace: argocd-e2e
  resourceVersion: "181746"
  selfLink: /apis/argoproj.io/v1alpha1/namespaces/argocd-e2e/rollouts/basic
  uid: 5b0926f3-30b7-4727-a76e-46c0d2617906
spec:
  replicas: 1
  selector:
    matchLabels:
      app: basic
  strategy: {}
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: basic
    spec:
      containers:
      - image: nginx:1.19-alpine
        name: basic
        resources:
          requests:
            cpu: 1m
            memory: 16Mi
status:
  HPAReplicas: 1
  availableReplicas: 1
  blueGreen: {}
  canary: {}
  conditions:
  - lastTransitionTime: "2020-11-13T00:22:48Z"
    lastUpdateTime: "2020-11-13T00:22:50Z"
    message: ReplicaSet "basic-754cb84d5" has successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  - lastTransitionTime: "2020-11-13T00:22:50Z"
    lastUpdateTime: "2020-11-13T00:22:50Z"
    message: Rollout has minimum availability
    reason: AvailableReason
    status: "True"
    type: Available
  - lastTransitionTime: "2020-11-13T00:40:30Z"
    lastUpdateTime: "2020-11-13T00:40:30Z"
    message: 'The Rollout "basic" is invalid: spec.strategy.strategy: Required value:
      Rollout has missing field ''.spec.strategy.canary or .spec.strategy.blueGreen'''
    reason: InvalidSpec
    status: "True"
    type: InvalidSpec
  currentPodHash: 754cb84d5
  currentStepHash: 757f5f97b
  currentStepIndex: 2
  observedGeneration: "3"
  readyReplicas: 1
  replicas: 1
  selector: app=basic
  stableRS: 754cb84d5
  updatedReplicas: 1