github.com/IBM-Blockchain/fabric-operator@v1.0.4/bundle/manifests/ibp.com_ibpcas.yaml (about)

     1  apiVersion: apiextensions.k8s.io/v1
     2  kind: CustomResourceDefinition
     3  metadata:
     4    annotations:
     5      controller-gen.kubebuilder.io/version: v0.8.0
     6    creationTimestamp: null
     7    name: ibpcas.ibp.com
     8  spec:
     9    group: ibp.com
    10    names:
    11      kind: IBPCA
    12      listKind: IBPCAList
    13      plural: ibpcas
    14      singular: ibpca
    15    scope: Namespaced
    16    versions:
    17    - name: v1beta1
    18      schema:
    19        openAPIV3Schema:
    20          description: 'Certificate Authorities issue certificates for all the identities
    21            to transact on the network. Warning: CA deployment using this tile is not
    22            supported. Please use the IBP Console to deploy a CA.'
    23          properties:
    24            apiVersion:
    25              description: 'APIVersion defines the versioned schema of this representation
    26                of an object. Servers should convert recognized schemas to the latest
    27                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    28              type: string
    29            kind:
    30              description: 'Kind is a string value representing the REST resource this
    31                object represents. Servers may infer this from the endpoint the client
    32                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    33              type: string
    34            metadata:
    35              type: object
    36            spec:
    37              description: IBPCASpec defines the desired state of IBP CA
    38              properties:
    39                action:
    40                  description: Action (Optional) is action object for trigerring actions
    41                  properties:
    42                    renew:
    43                      description: Renew action is object for certificate renewals
    44                      properties:
    45                        tlscert:
    46                          description: TLSCert action is used to renew TLS crypto for
    47                            CA server
    48                          type: boolean
    49                      type: object
    50                    restart:
    51                      description: Restart action is used to restart the running CA
    52                      type: boolean
    53                  type: object
    54                arch:
    55                  description: Arch (Optional) is the architecture of the nodes where
    56                    CA should be deployed
    57                  items:
    58                    type: string
    59                  type: array
    60                configoverride:
    61                  description: ConfigOverride (Optional) is the object to provide overrides
    62                    to CA & TLSCA config
    63                  properties:
    64                    ca:
    65                      description: CA (Optional) is the overrides to CA's configuration
    66                      type: object
    67                      x-kubernetes-preserve-unknown-fields: true
    68                    maxnamelength:
    69                      description: MaxNameLength (Optional) is the maximum length of
    70                        the name that the CA can have
    71                      type: integer
    72                    tlsca:
    73                      description: TLSCA (Optional) is the overrides to TLSCA's configuration
    74                      type: object
    75                      x-kubernetes-preserve-unknown-fields: true
    76                  type: object
    77                customNames:
    78                  description: CustomNames (Optional) is to use pre-configured resources
    79                    for CA's deployment
    80                  properties:
    81                    pvc:
    82                      description: PVC is the list of PVC Names to be used for CA's
    83                        deployment
    84                      properties:
    85                        ca:
    86                          description: CA is the pvc to be used as CA's storage
    87                          type: string
    88                      type: object
    89                    sqlitepath:
    90                      description: Sqlite is the sqlite path to be used for CA's deployment
    91                      type: string
    92                  type: object
    93                domain:
    94                  description: Domain is the sub-domain used for CA's deployment
    95                  type: string
    96                hsm:
    97                  description: HSM (Optional) is DEPRECATED
    98                  properties:
    99                    pkcs11endpoint:
   100                      description: PKCS11Endpoint is DEPRECATED
   101                      type: string
   102                  type: object
   103                imagePullSecrets:
   104                  description: ImagePullSecrets (Optional) is the list of ImagePullSecrets
   105                    to be used for CA's deployment
   106                  items:
   107                    type: string
   108                  type: array
   109                images:
   110                  description: Images (Optional) lists the images to be used for CA's
   111                    deployment
   112                  properties:
   113                    caImage:
   114                      description: CAImage is the name of the CA image
   115                      type: string
   116                    caInitImage:
   117                      description: CAInitImage is the name of the Init image
   118                      type: string
   119                    caInitTag:
   120                      description: CAInitTag is the tag of the Init image
   121                      type: string
   122                    caTag:
   123                      description: CATag is the tag of the CA image
   124                      type: string
   125                    enrollerImage:
   126                      description: EnrollerImage is the name of the init image for crypto
   127                        generation
   128                      type: string
   129                    enrollerTag:
   130                      description: EnrollerTag is the tag of the init image for crypto
   131                        generation
   132                      type: string
   133                    hsmImage:
   134                      description: HSMImage is the name of the HSM image
   135                      type: string
   136                    hsmTag:
   137                      description: HSMTag is the tag of the HSM image
   138                      type: string
   139                  type: object
   140                ingress:
   141                  description: Ingress (Optional) is ingress object for ingress overrides
   142                  properties:
   143                    class:
   144                      description: Class (Optional) is the class to set for ingress
   145                      type: string
   146                    tlsSecretName:
   147                      description: TlsSecretName (Optional) is the secret name to be
   148                        used for tls certificates
   149                      type: string
   150                  type: object
   151                license:
   152                  description: License should be accepted by the user to be able to
   153                    setup CA
   154                  properties:
   155                    accept:
   156                      description: Accept should be set to true to accept the license.
   157                      enum:
   158                      - true
   159                      type: boolean
   160                  type: object
   161                numSecondsWarningPeriod:
   162                  description: NumSecondsWarningPeriod (Optional - default 30 days)
   163                    is used to define certificate expiry warning period.
   164                  format: int64
   165                  type: integer
   166                region:
   167                  description: Region (Optional) is the region of the nodes where the
   168                    CA should be deployed
   169                  type: string
   170                registryURL:
   171                  description: RegistryURL is registry url used to pull images
   172                  type: string
   173                replicas:
   174                  description: Replicas (Optional - default 1) is the number of CA replicas
   175                    to be setup
   176                  format: int32
   177                  type: integer
   178                resources:
   179                  description: Resources (Optional) is the amount of resources to be
   180                    provided to CA deployment
   181                  properties:
   182                    ca:
   183                      description: CA is the resources provided to the CA container
   184                      properties:
   185                        limits:
   186                          additionalProperties:
   187                            anyOf:
   188                            - type: integer
   189                            - type: string
   190                            pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   191                            x-kubernetes-int-or-string: true
   192                          description: 'Limits describes the maximum amount of compute
   193                            resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
   194                          type: object
   195                        requests:
   196                          additionalProperties:
   197                            anyOf:
   198                            - type: integer
   199                            - type: string
   200                            pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   201                            x-kubernetes-int-or-string: true
   202                          description: 'Requests describes the minimum amount of compute
   203                            resources required. If Requests is omitted for a container,
   204                            it defaults to Limits if that is explicitly specified, otherwise
   205                            to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
   206                          type: object
   207                      type: object
   208                    enrollJob:
   209                      description: EnrollJJob is the resources provided to the enroll
   210                        job container
   211                      properties:
   212                        limits:
   213                          additionalProperties:
   214                            anyOf:
   215                            - type: integer
   216                            - type: string
   217                            pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   218                            x-kubernetes-int-or-string: true
   219                          description: 'Limits describes the maximum amount of compute
   220                            resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
   221                          type: object
   222                        requests:
   223                          additionalProperties:
   224                            anyOf:
   225                            - type: integer
   226                            - type: string
   227                            pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   228                            x-kubernetes-int-or-string: true
   229                          description: 'Requests describes the minimum amount of compute
   230                            resources required. If Requests is omitted for a container,
   231                            it defaults to Limits if that is explicitly specified, otherwise
   232                            to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
   233                          type: object
   234                      type: object
   235                    hsmDaemon:
   236                      description: HSMDaemon is the resources provided to the HSM daemon
   237                        container
   238                      properties:
   239                        limits:
   240                          additionalProperties:
   241                            anyOf:
   242                            - type: integer
   243                            - type: string
   244                            pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   245                            x-kubernetes-int-or-string: true
   246                          description: 'Limits describes the maximum amount of compute
   247                            resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
   248                          type: object
   249                        requests:
   250                          additionalProperties:
   251                            anyOf:
   252                            - type: integer
   253                            - type: string
   254                            pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   255                            x-kubernetes-int-or-string: true
   256                          description: 'Requests describes the minimum amount of compute
   257                            resources required. If Requests is omitted for a container,
   258                            it defaults to Limits if that is explicitly specified, otherwise
   259                            to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
   260                          type: object
   261                      type: object
   262                    init:
   263                      description: Init is the resources provided to the init container
   264                      properties:
   265                        limits:
   266                          additionalProperties:
   267                            anyOf:
   268                            - type: integer
   269                            - type: string
   270                            pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   271                            x-kubernetes-int-or-string: true
   272                          description: 'Limits describes the maximum amount of compute
   273                            resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
   274                          type: object
   275                        requests:
   276                          additionalProperties:
   277                            anyOf:
   278                            - type: integer
   279                            - type: string
   280                            pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
   281                            x-kubernetes-int-or-string: true
   282                          description: 'Requests describes the minimum amount of compute
   283                            resources required. If Requests is omitted for a container,
   284                            it defaults to Limits if that is explicitly specified, otherwise
   285                            to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
   286                          type: object
   287                      type: object
   288                  type: object
   289                service:
   290                  description: Service (Optional) is the override object for CA's service
   291                  properties:
   292                    type:
   293                      description: The "type" of the service to be used
   294                      type: string
   295                  type: object
   296                storage:
   297                  description: Storage (Optional - uses default storageclass if not
   298                    provided) is the override object for CA's PVC config
   299                  properties:
   300                    ca:
   301                      description: CA is the configuration of the storage of the CA
   302                      properties:
   303                        class:
   304                          description: Class is the storage class
   305                          type: string
   306                        size:
   307                          description: Size of storage
   308                          type: string
   309                      type: object
   310                  type: object
   311                version:
   312                  description: FabricVersion (Optional) set the fabric version you want
   313                    to use.
   314                  type: string
   315                zone:
   316                  description: Zone (Optional) is the zone of the nodes where the CA
   317                    should be deployed
   318                  type: string
   319              required:
   320              - license
   321              - version
   322              type: object
   323            status:
   324              description: Status is the observed state of IBPCA
   325              properties:
   326                errorcode:
   327                  description: ErrorCode is the code of classification of errors
   328                  type: integer
   329                lastHeartbeatTime:
   330                  description: LastHeartbeatTime is when the controller reconciled this
   331                    component
   332                  type: string
   333                message:
   334                  description: Message provides a message for the status to be shown
   335                    to customer
   336                  type: string
   337                reason:
   338                  description: Reason provides a reason for an error
   339                  type: string
   340                status:
   341                  description: Status is defined based on the current status of the
   342                    component
   343                  type: string
   344                type:
   345                  description: Type is true or false based on if status is valid
   346                  type: string
   347                version:
   348                  description: Version is the product (IBP) version of the component
   349                  type: string
   350                versions:
   351                  description: Versions is the operand version of the component
   352                  properties:
   353                    reconciled:
   354                      description: Reconciled provides the reconciled version of the
   355                        operand
   356                      type: string
   357                  required:
   358                  - reconciled
   359                  type: object
   360              type: object
   361          type: object
   362      served: true
   363      storage: true
   364      subresources:
   365        status: {}
   366  status:
   367    acceptedNames:
   368      kind: ""
   369      plural: ""
   370    conditions: []
   371    storedVersions: []