open-cluster-management.io/governance-policy-propagator@v0.13.0/deploy/crds/policy.open-cluster-management.io_policysets.yaml (about)

     1  ---
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      controller-gen.kubebuilder.io/version: v0.14.0
     7    name: policysets.policy.open-cluster-management.io
     8  spec:
     9    group: policy.open-cluster-management.io
    10    names:
    11      kind: PolicySet
    12      listKind: PolicySetList
    13      plural: policysets
    14      shortNames:
    15      - plcset
    16      singular: policyset
    17    scope: Namespaced
    18    versions:
    19    - additionalPrinterColumns:
    20      - jsonPath: .status.compliant
    21        name: Compliance state
    22        type: string
    23      - jsonPath: .metadata.creationTimestamp
    24        name: Age
    25        type: date
    26      name: v1beta1
    27      schema:
    28        openAPIV3Schema:
    29          description: PolicySet is the Schema for the policysets API
    30          properties:
    31            apiVersion:
    32              description: |-
    33                APIVersion defines the versioned schema of this representation of an object.
    34                Servers should convert recognized schemas to the latest internal value, and
    35                may reject unrecognized values.
    36                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
    37              type: string
    38            kind:
    39              description: |-
    40                Kind is a string value representing the REST resource this object represents.
    41                Servers may infer this from the endpoint the client submits requests to.
    42                Cannot be updated.
    43                In CamelCase.
    44                More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    45              type: string
    46            metadata:
    47              type: object
    48            spec:
    49              description: |-
    50                PolicySetSpec describes a group of policies that are related and
    51                can be placed on the same managed clusters.
    52              properties:
    53                description:
    54                  description: Description of this PolicySet.
    55                  type: string
    56                policies:
    57                  description: Policies that are grouped together within the PolicySet.
    58                  items:
    59                    minLength: 1
    60                    type: string
    61                  type: array
    62              required:
    63              - policies
    64              type: object
    65            status:
    66              description: PolicySetStatus defines the observed state of PolicySet
    67              properties:
    68                compliant:
    69                  type: string
    70                placement:
    71                  items:
    72                    description: PolicySetStatusPlacement defines a placement object
    73                      for the status
    74                    properties:
    75                      placement:
    76                        type: string
    77                      placementBinding:
    78                        type: string
    79                      placementRule:
    80                        type: string
    81                    type: object
    82                  type: array
    83                statusMessage:
    84                  type: string
    85              type: object
    86          required:
    87          - spec
    88          type: object
    89      served: true
    90      storage: true
    91      subresources:
    92        status: {}