Add more fields with verbose description to CompositeController.
Change-Id: Ib6d9db5a8b1be9c3fa6b4cb988c576a71599a274
This commit is contained in:
parent
7cb3ef69ae
commit
594645ce39
@ -26,42 +26,246 @@ spec:
|
|||||||
- name: v1alpha1
|
- name: v1alpha1
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
apiVersion:
|
||||||
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
of an object. Servers should convert recognized schemas to the latest
|
||||||
|
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
||||||
|
type: string
|
||||||
|
kind:
|
||||||
|
description: 'Kind is a string value representing the REST resource this
|
||||||
|
object represents. Servers may infer this from the endpoint the client
|
||||||
|
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
type: object
|
||||||
spec:
|
spec:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
generateSelector:
|
generateSelector:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
resyncPeriodSeconds:
|
||||||
|
format: int32
|
||||||
|
type: integer
|
||||||
parentResource:
|
parentResource:
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
|
description: APIVersion is the combination of group & version of
|
||||||
|
the resource
|
||||||
type: string
|
type: string
|
||||||
resource:
|
resource:
|
||||||
|
description: Resource is the name of the resource. Its also the
|
||||||
|
plural of Kind
|
||||||
type: string
|
type: string
|
||||||
|
revisionHistory:
|
||||||
|
properties:
|
||||||
|
fieldPaths:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- apiVersion
|
||||||
|
- resource
|
||||||
|
type: object
|
||||||
childResources:
|
childResources:
|
||||||
type: array
|
|
||||||
items:
|
items:
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
|
description: APIVersion is the combination of group & version
|
||||||
|
of the resource
|
||||||
type: string
|
type: string
|
||||||
resource:
|
resource:
|
||||||
|
description: Resource is the name of the resource. Its also the
|
||||||
|
plural of Kind
|
||||||
type: string
|
type: string
|
||||||
|
updateStrategy:
|
||||||
|
properties:
|
||||||
|
method:
|
||||||
|
description: ChildUpdateMethod represents a typed constant
|
||||||
|
to determine the update strategy of a child resource
|
||||||
|
type: string
|
||||||
|
statusChecks:
|
||||||
|
properties:
|
||||||
|
conditions:
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
reason:
|
||||||
|
type: string
|
||||||
|
status:
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- type
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- apiVersion
|
||||||
|
- resource
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
hooks:
|
hooks:
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
sync:
|
finalize:
|
||||||
type: object
|
description: Hook refers to the logic that builds the desired state
|
||||||
|
of resources
|
||||||
properties:
|
properties:
|
||||||
webhook:
|
inline:
|
||||||
type: object
|
description: Inline invocation to arrive at desired state
|
||||||
properties:
|
properties:
|
||||||
|
funcName:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
webhook:
|
||||||
|
description: Webhook invocation to arrive at desired state
|
||||||
|
properties:
|
||||||
|
path:
|
||||||
|
type: string
|
||||||
|
service:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
namespace:
|
||||||
|
type: string
|
||||||
|
port:
|
||||||
|
format: int32
|
||||||
|
type: integer
|
||||||
|
protocol:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- name
|
||||||
|
- namespace
|
||||||
|
type: object
|
||||||
|
timeout:
|
||||||
|
type: string
|
||||||
url:
|
url:
|
||||||
type: string
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
postUpdateChild:
|
||||||
|
description: Hook refers to the logic that builds the desired state
|
||||||
|
of resources
|
||||||
|
properties:
|
||||||
|
inline:
|
||||||
|
description: Inline invocation to arrive at desired state
|
||||||
|
properties:
|
||||||
|
funcName:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
webhook:
|
||||||
|
description: Webhook invocation to arrive at desired state
|
||||||
|
properties:
|
||||||
|
path:
|
||||||
|
type: string
|
||||||
|
service:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
namespace:
|
||||||
|
type: string
|
||||||
|
port:
|
||||||
|
format: int32
|
||||||
|
type: integer
|
||||||
|
protocol:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- name
|
||||||
|
- namespace
|
||||||
|
type: object
|
||||||
|
timeout:
|
||||||
|
type: string
|
||||||
|
url:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
preUpdateChild:
|
||||||
|
description: Hook refers to the logic that builds the desired state
|
||||||
|
of resources
|
||||||
|
properties:
|
||||||
|
inline:
|
||||||
|
description: Inline invocation to arrive at desired state
|
||||||
|
properties:
|
||||||
|
funcName:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
webhook:
|
||||||
|
description: Webhook invocation to arrive at desired state
|
||||||
|
properties:
|
||||||
|
path:
|
||||||
|
type: string
|
||||||
|
service:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
namespace:
|
||||||
|
type: string
|
||||||
|
port:
|
||||||
|
format: int32
|
||||||
|
type: integer
|
||||||
|
protocol:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- name
|
||||||
|
- namespace
|
||||||
|
type: object
|
||||||
|
timeout:
|
||||||
|
type: string
|
||||||
|
url:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
sync:
|
||||||
|
description: Hook refers to the logic that builds the desired state
|
||||||
|
of resources
|
||||||
|
properties:
|
||||||
|
inline:
|
||||||
|
description: Inline invocation to arrive at desired state
|
||||||
|
properties:
|
||||||
|
funcName:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
webhook:
|
||||||
|
description: Webhook invocation to arrive at desired state
|
||||||
|
properties:
|
||||||
|
path:
|
||||||
|
type: string
|
||||||
|
service:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
namespace:
|
||||||
|
type: string
|
||||||
|
port:
|
||||||
|
format: int32
|
||||||
|
type: integer
|
||||||
|
protocol:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- name
|
||||||
|
- namespace
|
||||||
|
type: object
|
||||||
|
timeout:
|
||||||
|
type: string
|
||||||
|
url:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- parentResource
|
||||||
|
status:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- metadata
|
||||||
|
- spec
|
||||||
scope: Cluster
|
scope: Cluster
|
||||||
names:
|
names:
|
||||||
plural: compositecontrollers
|
plural: compositecontrollers
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
# override functionality
|
# override functionality
|
||||||
- openstack-helm-infra-airship-divingbell:
|
- openstack-helm-infra-airship-divingbell:
|
||||||
voting: false
|
voting: false
|
||||||
|
- openstack-helm-infra-metacontroller
|
||||||
# NOTE(gagehugo): Disabling this job until it's fixed
|
# NOTE(gagehugo): Disabling this job until it's fixed
|
||||||
# - openstack-helm-infra-aio-podsecuritypolicy:
|
# - openstack-helm-infra-aio-podsecuritypolicy:
|
||||||
# voting: false
|
# voting: false
|
||||||
|
Loading…
Reference in New Issue
Block a user