github.com/argoproj/argo-cd/v2@v2.10.9/resource_customizations/spot.io/SpotDeployment/testdata/invalid_spec_spotdeployment.yaml (about) 1 apiVersion: spot.io/v1beta1 2 kind: SpotDeployment 3 metadata: 4 creationTimestamp: "2020-11-13T00:22:49Z" 5 generation: 3 6 name: basic 7 namespace: argocd-e2e 8 resourceVersion: "181746" 9 uid: 5b0926f3-30b7-4727-a76e-46c0d2617906 10 spec: 11 replicas: 1 12 selector: 13 matchLabels: 14 app: basic 15 template: 16 metadata: 17 creationTimestamp: null 18 labels: 19 app: basic 20 spec: 21 containers: 22 - image: nginx:1.19-alpine 23 name: basic 24 resources: 25 requests: 26 cpu: 1m 27 memory: 16Mi 28 status: 29 availableReplicas: 1 30 conditions: 31 - lastTransitionTime: "2020-11-13T00:22:48Z" 32 lastUpdateTime: "2020-11-13T00:22:50Z" 33 message: ReplicaSet "basic-754cb84d5" has successfully progressed. 34 reason: NewReplicaSetAvailable 35 status: "True" 36 type: Progressing 37 - lastTransitionTime: "2020-11-13T00:22:50Z" 38 lastUpdateTime: "2020-11-13T00:22:50Z" 39 message: Rollout has minimum availability 40 reason: AvailableReason 41 status: "True" 42 type: Available 43 - lastTransitionTime: "2020-11-13T00:40:30Z" 44 lastUpdateTime: "2020-11-13T00:40:30Z" 45 message: 'The Rollout "basic" is invalid: spec.strategy.strategy: Required value: 46 Rollout has missing field ''.spec.strategy.canary or .spec.strategy.blueGreen''' 47 reason: InvalidSpec 48 status: "True" 49 type: InvalidSpec 50 observedGeneration: "3" 51 readyReplicas: 1 52 replicas: 1 53 selector: app=basic 54 phase: Degraded