Add more fields with verbose description to CompositeController.

Change-Id: Ib6d9db5a8b1be9c3fa6b4cb988c576a71599a274
This commit is contained in:
Luna Das 2020-06-26 23:58:07 +05:30
parent 7cb3ef69ae
commit 594645ce39
2 changed files with 213 additions and 8 deletions

View File

@ -26,42 +26,246 @@ spec:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
schema:
openAPIV3Schema:
type: object
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:
type: object
properties:
generateSelector:
type: boolean
resyncPeriodSeconds:
format: int32
type: integer
parentResource:
type: object
properties:
apiVersion:
description: APIVersion is the combination of group & version of
the resource
type: string
resource:
description: Resource is the name of the resource. Its also the
plural of Kind
type: string
revisionHistory:
properties:
fieldPaths:
items:
type: string
type: array
type: object
required:
- apiVersion
- resource
type: object
childResources:
type: array
items:
type: object
properties:
apiVersion:
description: APIVersion is the combination of group & version
of the resource
type: string
resource:
description: Resource is the name of the resource. Its also the
plural of Kind
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:
type: object
properties:
sync:
type: object
finalize:
description: Hook refers to the logic that builds the desired state
of resources
properties:
webhook:
type: object
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
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
names:
plural: compositecontrollers

View File

@ -31,6 +31,7 @@
# override functionality
- openstack-helm-infra-airship-divingbell:
voting: false
- openstack-helm-infra-metacontroller
# NOTE(gagehugo): Disabling this job until it's fixed
# - openstack-helm-infra-aio-podsecuritypolicy:
# voting: false