github.com/kotalco/kotal@v0.3.0/config/crd/bases/ipfs.kotal.io_peers.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: peers.ipfs.kotal.io 9 spec: 10 group: ipfs.kotal.io 11 names: 12 kind: Peer 13 listKind: PeerList 14 plural: peers 15 singular: peer 16 scope: Namespaced 17 versions: 18 - additionalPrinterColumns: 19 - jsonPath: .status.client 20 name: Client 21 type: string 22 name: v1alpha1 23 schema: 24 openAPIV3Schema: 25 description: Peer is the Schema for the peers API 26 properties: 27 apiVersion: 28 description: 'APIVersion defines the versioned schema of this representation 29 of an object. Servers should convert recognized schemas to the latest 30 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 31 type: string 32 kind: 33 description: 'Kind is a string value representing the REST resource this 34 object represents. Servers may infer this from the endpoint the client 35 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 36 type: string 37 metadata: 38 type: object 39 spec: 40 description: PeerSpec defines the desired state of Peer 41 properties: 42 api: 43 description: API enables API server 44 type: boolean 45 apiPort: 46 description: APIPort is api server port 47 type: integer 48 extraArgs: 49 additionalProperties: 50 type: string 51 description: ExtraArgs is extra arguments to pass down to the cli 52 type: object 53 gateway: 54 description: Gateway enables IPFS gateway server 55 type: boolean 56 gatewayPort: 57 description: GatewayPort is local gateway port 58 type: integer 59 image: 60 description: Image is ipfs peer client image 61 type: string 62 initProfiles: 63 description: InitProfiles is the intial profiles to apply during 64 items: 65 description: Profile is ipfs configuration 66 enum: 67 - server 68 - randomports 69 - default-datastore 70 - local-discovery 71 - test 72 - default-networking 73 - flatfs 74 - badgerds 75 - lowpower 76 type: string 77 type: array 78 x-kubernetes-list-type: set 79 logging: 80 description: Logging is logging verboisty level 81 enum: 82 - error 83 - warn 84 - info 85 - debug 86 - notice 87 type: string 88 profiles: 89 description: Profiles is the configuration profiles to apply after 90 peer initialization 91 items: 92 description: Profile is ipfs configuration 93 enum: 94 - server 95 - randomports 96 - default-datastore 97 - local-discovery 98 - test 99 - default-networking 100 - flatfs 101 - badgerds 102 - lowpower 103 type: string 104 type: array 105 x-kubernetes-list-type: set 106 replicas: 107 description: Replicas is number of replicas 108 enum: 109 - 0 110 - 1 111 type: integer 112 resources: 113 description: Resources is node compute and storage resources 114 properties: 115 cpu: 116 description: CPU is cpu cores the node requires 117 pattern: ^[1-9][0-9]*m?$ 118 type: string 119 cpuLimit: 120 description: CPULimit is cpu cores the node is limited to 121 pattern: ^[1-9][0-9]*m?$ 122 type: string 123 memory: 124 description: Memory is memmory requirements 125 pattern: ^[1-9][0-9]*[KMGTPE]i$ 126 type: string 127 memoryLimit: 128 description: MemoryLimit is cpu cores the node is limited to 129 pattern: ^[1-9][0-9]*[KMGTPE]i$ 130 type: string 131 storage: 132 description: Storage is disk space storage requirements 133 pattern: ^[1-9][0-9]*[KMGTPE]i$ 134 type: string 135 storageClass: 136 description: StorageClass is the volume storage class 137 type: string 138 type: object 139 routing: 140 description: Routing is the content routing mechanism 141 enum: 142 - none 143 - dht 144 - dhtclient 145 - dhtserver 146 type: string 147 swarmKeySecretName: 148 description: SwarmKeySecretName is the k8s secret holding swarm key 149 type: string 150 type: object 151 status: 152 description: PeerStatus defines the observed state of Peer 153 properties: 154 client: 155 type: string 156 type: object 157 type: object 158 served: true 159 storage: true 160 subresources: 161 status: {} 162 status: 163 acceptedNames: 164 kind: "" 165 plural: "" 166 conditions: [] 167 storedVersions: []