@@ -32,10 +32,19 @@ spec:
3232 metadata :
3333 type : object
3434 spec :
35+ description : IpfsClusterSpec defines the desired state of the IpfsCluster.
3536 properties :
3637 clusterStorage :
37- type : string
38+ anyOf :
39+ - type : integer
40+ - type : string
41+ description : clusterStorage defines the amount of storage to be used
42+ by IPFS Cluster.
43+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
44+ x-kubernetes-int-or-string : true
3845 follows :
46+ description : follows defines the list of other IPFS Clusters this
47+ one should follow.
3948 items :
4049 properties :
4150 name :
@@ -47,13 +56,45 @@ spec:
4756 - template
4857 type : object
4958 type : array
59+ ipfsResources :
60+ description : ipfsResources specifies the resource requirements for
61+ each IPFS container. If this value is omitted, then the operator
62+ will automatically determine these settings based on the storage
63+ sizes used.
64+ properties :
65+ limits :
66+ additionalProperties :
67+ anyOf :
68+ - type : integer
69+ - type : string
70+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
71+ x-kubernetes-int-or-string : true
72+ description : ' Limits describes the maximum amount of compute resources
73+ allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
74+ type : object
75+ requests :
76+ additionalProperties :
77+ anyOf :
78+ - type : integer
79+ - type : string
80+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
81+ x-kubernetes-int-or-string : true
82+ description : ' Requests describes the minimum amount of compute
83+ resources required. If Requests is omitted for a container,
84+ it defaults to Limits if that is explicitly specified, otherwise
85+ to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
86+ type : object
87+ type : object
5088 ipfsStorage :
5189 anyOf :
5290 - type : integer
5391 - type : string
92+ description : ipfsStorage defines the total storage to be allocated
93+ by this resource.
5494 pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
5595 x-kubernetes-int-or-string : true
5696 networking :
97+ description : networking defines network configuration settings.
5798 properties :
5899 circuitRelays :
59100 format : int32
@@ -62,12 +103,16 @@ spec:
62103 - circuitRelays
63104 type : object
64105 public :
106+ description : public determines whether or not we should be exposing
107+ this IPFS Cluster to the public.
65108 type : boolean
66109 replicas :
110+ description : replicas sets the number of replicas of IPFS Cluster
111+ nodes we should be running.
67112 format : int32
68113 type : integer
69114 reprovider :
70- description : Reprovider Describes the settings that each IPFS node
115+ description : reprovider Describes the settings that each IPFS node
71116 should use when reproviding content.
72117 properties :
73118 interval :
84129 type : string
85130 type : object
86131 url :
132+ description : url defines the URL to be using as an ingress controller.
87133 type : string
88134 required :
89135 - clusterStorage
0 commit comments