github.com/IBM-Blockchain/fabric-operator@v1.0.4/config/crd/bases/ibp.com_ibpcas.yaml (about)

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