77ebd891a2
This adds the StatusMap type, which can be used to gather the Status of a given kubernetes resource. A StatusMap can be created from a document.Bundle and represents all possible Statuses for all CustomResources, and the conditions that must be met for those statuses to be valid. Relates-To: #73 Change-Id: If2cba0bb9890fe28feff0c890bb8036489196fc4
8 lines
235 B
YAML
8 lines
235 B
YAML
# This resource doesn't have a status-check defined by its CRD (which is also
|
|
# missing for brevity). Requesting its status is an error
|
|
apiVersion: "example.com/v1"
|
|
kind: Missing
|
|
metadata:
|
|
name: missing-resource
|
|
namespace: default
|