github.com/kotalco/kotal@v0.3.0/config/crd/bases/ethereum2.kotal.io_validators.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: validators.ethereum2.kotal.io
     9  spec:
    10    group: ethereum2.kotal.io
    11    names:
    12      kind: Validator
    13      listKind: ValidatorList
    14      plural: validators
    15      singular: validator
    16    scope: Namespaced
    17    versions:
    18    - additionalPrinterColumns:
    19      - jsonPath: .spec.client
    20        name: Client
    21        type: string
    22      - jsonPath: .spec.network
    23        name: Network
    24        type: string
    25      name: v1alpha1
    26      schema:
    27        openAPIV3Schema:
    28          description: Validator is the Schema for the validators API
    29          properties:
    30            apiVersion:
    31              description: 'APIVersion defines the versioned schema of this representation
    32                of an object. Servers should convert recognized schemas to the latest
    33                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    34              type: string
    35            kind:
    36              description: 'Kind is a string value representing the REST resource this
    37                object represents. Servers may infer this from the endpoint the client
    38                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    39              type: string
    40            metadata:
    41              type: object
    42            spec:
    43              description: ValidatorSpec defines the desired state of Validator
    44              properties:
    45                beaconEndpoints:
    46                  description: BeaconEndpoints is beacon node endpoints
    47                  items:
    48                    type: string
    49                  minItems: 1
    50                  type: array
    51                  x-kubernetes-list-type: set
    52                certSecretName:
    53                  description: CertSecretName is k8s secret name that holds tls.crt
    54                  type: string
    55                client:
    56                  description: Client is the Ethereum 2.0 client to use
    57                  enum:
    58                  - teku
    59                  - prysm
    60                  - lighthouse
    61                  - nimbus
    62                  type: string
    63                extraArgs:
    64                  additionalProperties:
    65                    type: string
    66                  description: ExtraArgs is extra arguments to pass down to the cli
    67                  type: object
    68                feeRecipient:
    69                  description: FeeRecipient is ethereum address collecting transaction
    70                    fees
    71                  pattern: ^0[xX][0-9a-fA-F]{40}$
    72                  type: string
    73                graffiti:
    74                  description: Graffiti is the text to include in proposed blocks
    75                  type: string
    76                image:
    77                  description: Image is Ethereum 2.0 validator client image
    78                  type: string
    79                keystores:
    80                  description: Keystores is a list of Validator keystores
    81                  items:
    82                    description: Keystore is Ethereum 2.0 validator EIP-2335 BLS12-381
    83                      keystore https://eips.ethereum.org/EIPS/eip-2335
    84                    properties:
    85                      publicKey:
    86                        description: PublicKey is the validator public key in hexadecimal
    87                        pattern: ^0[xX][0-9a-fA-F]{96}$
    88                        type: string
    89                      secretName:
    90                        description: SecretName is the kubernetes secret holding [keystore]
    91                          and [password]
    92                        type: string
    93                    required:
    94                    - secretName
    95                    type: object
    96                  minItems: 1
    97                  type: array
    98                logging:
    99                  description: Logging is logging verboisty level
   100                  enum:
   101                  - "off"
   102                  - fatal
   103                  - error
   104                  - warn
   105                  - info
   106                  - debug
   107                  - trace
   108                  - all
   109                  - notice
   110                  - crit
   111                  - panic
   112                  - none
   113                  type: string
   114                network:
   115                  description: Network is the network this validator is validating blocks
   116                    for
   117                  type: string
   118                replicas:
   119                  description: Replicas is number of replicas
   120                  enum:
   121                  - 0
   122                  - 1
   123                  type: integer
   124                resources:
   125                  description: Resources is node compute and storage resources
   126                  properties:
   127                    cpu:
   128                      description: CPU is cpu cores the node requires
   129                      pattern: ^[1-9][0-9]*m?$
   130                      type: string
   131                    cpuLimit:
   132                      description: CPULimit is cpu cores the node is limited to
   133                      pattern: ^[1-9][0-9]*m?$
   134                      type: string
   135                    memory:
   136                      description: Memory is memmory requirements
   137                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   138                      type: string
   139                    memoryLimit:
   140                      description: MemoryLimit is cpu cores the node is limited to
   141                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   142                      type: string
   143                    storage:
   144                      description: Storage is disk space storage requirements
   145                      pattern: ^[1-9][0-9]*[KMGTPE]i$
   146                      type: string
   147                    storageClass:
   148                      description: StorageClass is the volume storage class
   149                      type: string
   150                  type: object
   151                walletPasswordSecret:
   152                  description: WalletPasswordSecret is wallet password secret
   153                  type: string
   154              required:
   155              - beaconEndpoints
   156              - client
   157              - keystores
   158              - network
   159              type: object
   160            status:
   161              description: ValidatorStatus defines the observed state of Validator
   162              type: object
   163          type: object
   164      served: true
   165      storage: true
   166      subresources: {}
   167  status:
   168    acceptedNames:
   169      kind: ""
   170      plural: ""
   171    conditions: []
   172    storedVersions: []