github.com/kotalco/kotal@v0.3.0/config/crd/bases/chainlink.kotal.io_nodes.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: nodes.chainlink.kotal.io
     9  spec:
    10    group: chainlink.kotal.io
    11    names:
    12      kind: Node
    13      listKind: NodeList
    14      plural: nodes
    15      singular: node
    16    scope: Namespaced
    17    versions:
    18    - additionalPrinterColumns:
    19      - jsonPath: .status.client
    20        name: Client
    21        type: string
    22      - jsonPath: .spec.ethereumChainId
    23        name: EthereumChainId
    24        type: number
    25      - jsonPath: .spec.linkContractAddress
    26        name: LinkContractAddress
    27        priority: 10
    28        type: string
    29      name: v1alpha1
    30      schema:
    31        openAPIV3Schema:
    32          description: Node is the Schema for the nodes API
    33          properties:
    34            apiVersion:
    35              description: 'APIVersion defines the versioned schema of this representation
    36                of an object. Servers should convert recognized schemas to the latest
    37                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    38              type: string
    39            kind:
    40              description: 'Kind is a string value representing the REST resource this
    41                object represents. Servers may infer this from the endpoint the client
    42                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    43              type: string
    44            metadata:
    45              type: object
    46            spec:
    47              description: NodeSpec defines the desired state of Node
    48              properties:
    49                api:
    50                  description: API enables node API server
    51                  type: boolean
    52                apiCredentials:
    53                  description: APICredentials is api credentials
    54                  properties:
    55                    email:
    56                      description: Email is user email
    57                      type: string
    58                    passwordSecretName:
    59                      description: PasswordSecretName is the k8s secret name that holds
    60                        password
    61                      type: string
    62                  required:
    63                  - email
    64                  - passwordSecretName
    65                  type: object
    66                apiPort:
    67                  description: APIPort is port used for node API and GUI
    68                  type: integer
    69                certSecretName:
    70                  description: CertSecretName is k8s secret name that holds tls.key
    71                    and tls.cert
    72                  type: string
    73                corsDomains:
    74                  description: CORSDomains is the domains from which to accept cross
    75                    origin requests
    76                  items:
    77                    type: string
    78                  type: array
    79                  x-kubernetes-list-type: set
    80                databaseURL:
    81                  description: DatabaseURL is postgres database connection URL
    82                  type: string
    83                ethereumChainId:
    84                  description: EthereumChainId is ethereum chain id
    85                  type: integer
    86                ethereumHttpEndpoints:
    87                  description: EthereumHTTPEndpoints is ethereum http endpoints
    88                  items:
    89                    type: string
    90                  type: array
    91                  x-kubernetes-list-type: set
    92                ethereumWsEndpoint:
    93                  description: EthereumWSEndpoint is ethereum websocket endpoint
    94                  type: string
    95                extraArgs:
    96                  additionalProperties:
    97                    type: string
    98                  description: ExtraArgs is extra arguments to pass down to the cli
    99                  type: object
   100                image:
   101                  description: Image is Chainlink node client image
   102                  type: string
   103                keystorePasswordSecretName:
   104                  description: KeystorePasswordSecretName is k8s secret name that holds
   105                    keystore password
   106                  type: string
   107                linkContractAddress:
   108                  description: LinkContractAddress is link contract address
   109                  type: string
   110                logging:
   111                  description: Logging is logging verboisty level
   112                  enum:
   113                  - debug
   114                  - info
   115                  - warn
   116                  - error
   117                  - panic
   118                  type: string
   119                p2pPort:
   120                  description: P2PPort is port used for p2p communcations
   121                  type: integer
   122                replicas:
   123                  description: Replicas is number of replicas
   124                  enum:
   125                  - 0
   126                  - 1
   127                  type: integer
   128                resources:
   129                  description: Resources is node compute and storage resources
   130                  properties:
   131                    cpu:
   132                      description: CPU is cpu cores the node requires
   133                      pattern: ^[1-9][0-9]*m?$
   134                      type: string
   135                    cpuLimit:
   136                      description: CPULimit is cpu cores the node is limited to
   137                      pattern: ^[1-9][0-9]*m?$
   138                      type: string
   139                    memory:
   140                      description: Memory is memmory requirements
   141                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   142                      type: string
   143                    memoryLimit:
   144                      description: MemoryLimit is cpu cores the node is limited to
   145                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   146                      type: string
   147                    storage:
   148                      description: Storage is disk space storage requirements
   149                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   150                      type: string
   151                    storageClass:
   152                      description: StorageClass is the volume storage class
   153                      type: string
   154                  type: object
   155                secureCookies:
   156                  description: SecureCookies enables secure cookies for authentication
   157                  type: boolean
   158                tlsPort:
   159                  description: TLSPort is port used for HTTPS connections
   160                  type: integer
   161              required:
   162              - apiCredentials
   163              - databaseURL
   164              - ethereumChainId
   165              - ethereumWsEndpoint
   166              - keystorePasswordSecretName
   167              - linkContractAddress
   168              type: object
   169            status:
   170              description: NodeStatus defines the observed state of Node
   171              properties:
   172                client:
   173                  type: string
   174              type: object
   175          type: object
   176      served: true
   177      storage: true
   178      subresources:
   179        status: {}
   180  status:
   181    acceptedNames:
   182      kind: ""
   183      plural: ""
   184    conditions: []
   185    storedVersions: []