Files
gardener-extension-shoot-fl…/example/20-crd-managedresource.yaml
2021-01-28 17:37:47 +01:00

36 lines
1.0 KiB
YAML

apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: managedresources.resources.gardener.cloud
spec:
group: resources.gardener.cloud
versions:
- name: v1alpha1
served: true
storage: true
version: v1alpha1
scope: Namespaced
names:
plural: managedresources
singular: managedresource
kind: ManagedResource
shortNames:
- mr
additionalPrinterColumns:
- name: Class
type: string
description: The class identifies which resource manager is responsible for this ManagedResource.
JSONPath: .spec.class
- name: Applied
type: string
description: Indicates whether all resources have been applied.
JSONPath: .status.conditions[?(@.type=="ResourcesApplied")].status
- name: Healthy
type: string
description: Indicates whether all resources are healthy.
JSONPath: .status.conditions[?(@.type=="ResourcesHealthy")].status
- name: Age
type: date
JSONPath: .metadata.creationTimestamp
subresources:
status: {}