mirror of
https://github.com/ysoftdevs/gardener-extension-shoot-fleet-agent.git
synced 2026-04-23 00:38:56 +02:00
Initial v1.0.0 commit
This commit is contained in:
36
example/20-crd-managedresource.yaml
Normal file
36
example/20-crd-managedresource.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
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: {}
|
||||
Reference in New Issue
Block a user