vmware-archive / operator-builder

A Kubebuilder plugin to accelerate the development of Kubernetes operators
MIT License
41 stars 6 forks source link

bug: resources with missing paths do not return errors #257

Closed scottd018 closed 2 years ago

scottd018 commented 2 years ago

The resources from a component workload look as follows:

  resources:
    - ../platform/sandbox/cni.yaml
    - ../platform/sandbox/metallb.yaml
    - ../platform/common/cert-manager.yaml
    - ../platform/common/secrets-store-csi-driver.yaml
    - ../platform/common/aws-provider-installer.yaml
    - ../this/is/a/fake/path/to/a/yaml/file.yaml <<<<<<<< this file does not exist

However, the operator is generated and did not return an error. This makes is super confusing for the user that it may generate a working operator without specific files.