github.com/kotalco/kotal@v0.3.0/config/crd/bases/stacks.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.stacks.kotal.io 9 spec: 10 group: stacks.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: .spec.network 20 name: Network 21 type: string 22 - jsonPath: .status.client 23 name: Client 24 type: string 25 - jsonPath: .spec.miner 26 name: Miner 27 type: boolean 28 name: v1alpha1 29 schema: 30 openAPIV3Schema: 31 description: Node is the Schema for the nodes API 32 properties: 33 apiVersion: 34 description: 'APIVersion defines the versioned schema of this representation 35 of an object. Servers should convert recognized schemas to the latest 36 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 37 type: string 38 kind: 39 description: 'Kind is a string value representing the REST resource this 40 object represents. Servers may infer this from the endpoint the client 41 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 42 type: string 43 metadata: 44 type: object 45 spec: 46 description: NodeSpec defines the desired state of Node 47 properties: 48 bitcoinNode: 49 description: BitcoinNode is Bitcoin node 50 properties: 51 endpoint: 52 description: Endpoint is bitcoin node JSON-RPC endpoint 53 type: string 54 p2pPort: 55 description: P2pPort is bitcoin node p2p port 56 type: integer 57 rpcPasswordSecretName: 58 description: RpcPasswordSecretName is k8s secret name holding 59 bitcoin node JSON-RPC password 60 type: string 61 rpcPort: 62 description: RpcPort is bitcoin node JSON-RPC port 63 type: integer 64 rpcUsername: 65 description: RpcUsername is bitcoin node JSON-RPC username 66 type: string 67 required: 68 - endpoint 69 - p2pPort 70 - rpcPasswordSecretName 71 - rpcPort 72 - rpcUsername 73 type: object 74 extraArgs: 75 additionalProperties: 76 type: string 77 description: ExtraArgs is extra arguments to pass down to the cli 78 type: object 79 image: 80 description: Image is Stacks node client image 81 type: string 82 mineMicroblocks: 83 description: MineMicroblocks mines Stacks micro blocks 84 type: boolean 85 miner: 86 description: Miner enables mining 87 type: boolean 88 network: 89 description: Network is stacks network 90 enum: 91 - mainnet 92 - testnet 93 - xenon 94 type: string 95 nodePrivateKeySecretName: 96 description: NodePrivateKeySecretName is k8s secret holding node private 97 key 98 type: string 99 p2pPort: 100 description: P2PPort is p2p bind port 101 type: integer 102 replicas: 103 description: Replicas is number of replicas 104 enum: 105 - 0 106 - 1 107 type: integer 108 resources: 109 description: Resources is node compute and storage resources 110 properties: 111 cpu: 112 description: CPU is cpu cores the node requires 113 pattern: ^[1-9][0-9]*m?$ 114 type: string 115 cpuLimit: 116 description: CPULimit is cpu cores the node is limited to 117 pattern: ^[1-9][0-9]*m?$ 118 type: string 119 memory: 120 description: Memory is memmory requirements 121 pattern: ^[1-9][0-9]*[KMGTPE]i$ 122 type: string 123 memoryLimit: 124 description: MemoryLimit is cpu cores the node is limited to 125 pattern: ^[1-9][0-9]*[KMGTPE]i$ 126 type: string 127 storage: 128 description: Storage is disk space storage requirements 129 pattern: ^[1-9][0-9]*[KMGTPE]i$ 130 type: string 131 storageClass: 132 description: StorageClass is the volume storage class 133 type: string 134 type: object 135 rpc: 136 description: RPC enables JSON-RPC server 137 type: boolean 138 rpcPort: 139 description: RPCPort is JSON-RPC server port 140 type: integer 141 seedPrivateKeySecretName: 142 description: SeedPrivateKeySecretName is k8s secret holding seed private 143 key used for mining 144 type: string 145 required: 146 - bitcoinNode 147 - network 148 type: object 149 status: 150 description: NodeStatus defines the observed state of Node 151 properties: 152 client: 153 type: string 154 type: object 155 type: object 156 served: true 157 storage: true 158 subresources: 159 status: {} 160 status: 161 acceptedNames: 162 kind: "" 163 plural: "" 164 conditions: [] 165 storedVersions: []