Skip to content

Commit 404e3ca

Browse files
authored
Merge pull request #79 from RobotSail/RobotSail/issue40
update bundle
2 parents a52775a + b7aff1b commit 404e3ca

5 files changed

+53
-7
lines changed

bundle.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
66
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
77
LABEL operators.operatorframework.io.bundle.package.v1=ipfs-operator
88
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
9-
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-unknown
9+
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.22.0
1010
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
1111
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3
1212

bundle/manifests/cluster.ipfs.io_ipfsclusters.yaml

+48-2
Original file line numberDiff line numberDiff line change
@@ -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:
@@ -84,6 +129,7 @@ spec:
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

bundle/manifests/ipfs-operator.clusterserviceversion.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ metadata:
2222
}
2323
]
2424
capabilities: Basic Install
25-
operators.operatorframework.io/builder: operator-sdk-unknown
25+
operators.operatorframework.io/builder: operator-sdk-v1.22.0
2626
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
2727
name: ipfs-operator.v0.0.1
2828
namespace: placeholder
@@ -259,7 +259,7 @@ spec:
259259
- --leader-elect
260260
command:
261261
- /manager
262-
image: coryschwartz/ipfs-operator:v0.0.1
262+
image: quay.io/redhat-et-ipfs/ipfs-operator:v0.0.1
263263
imagePullPolicy: IfNotPresent
264264
livenessProbe:
265265
httpGet:

bundle/metadata/annotations.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ annotations:
55
operators.operatorframework.io.bundle.metadata.v1: metadata/
66
operators.operatorframework.io.bundle.package.v1: ipfs-operator
77
operators.operatorframework.io.bundle.channels.v1: alpha
8-
operators.operatorframework.io.metrics.builder: operator-sdk-unknown
8+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.22.0
99
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
1010
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3
1111

config/manager/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
1212
kind: Kustomization
1313
images:
1414
- name: controller
15-
newName: coryschwartz/ipfs-operator
15+
newName: quay.io/redhat-et-ipfs/ipfs-operator

0 commit comments

Comments
 (0)