argo-cd/test/e2e/testdata/crd-version-differences/crd-v1alpha1.yaml

36 lines
746 B
YAML
Raw Normal View History

fix: Add more context to the sync failed message when resource kind doesn't exist (#12980) * fix: add more context to k8s message Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com> * fix: add more context to k8s message Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com> * fix: add more context to k8s message Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com> * fix: add more context to k8s message Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com> * fix: add more context to k8s message Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com> * fix: add more context to k8s message Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com> * Update util/argo/argo.go Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: asingh <11219262+ashutosh16@users.noreply.github.com> * Update util/argo/argo.go Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: asingh <11219262+ashutosh16@users.noreply.github.com> * improvements, maybe Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * remove unnecessary end quote Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * avoid conflicts with other tests Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --------- Signed-off-by: ashutosh16 <11219262+ashutosh16@users.noreply.github.com> Signed-off-by: asingh <11219262+ashutosh16@users.noreply.github.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2023-04-03 15:48:50 +00:00
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: fakes.argoproj.io
spec:
conversion:
strategy: None
group: argoproj.io
names:
kind: Fake
listKind: FakeList
plural: fakes
singular: fake
scope: Namespaced
versions:
- name: v1alpha1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
type: object
properties:
cpu:
type: string
memory:
type: string