Skip to content

Commit 7b30747

Browse files
author
Cory Schwartz
committed
update helm
1 parent b0d4d58 commit 7b30747

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

helm/ipfs-operator/crds/CustomResourceDefinition-ipfs.cluster.ipfs.io.yaml renamed to helm/ipfs-operator/crds/CustomResourceDefinition-ipfsclusters.cluster.ipfs.io.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ metadata:
55
controller-gen.kubebuilder.io/version: v0.8.0
66
creationTimestamp: null
77
labels: {}
8-
name: ipfs.cluster.ipfs.io
8+
name: ipfsclusters.cluster.ipfs.io
99
spec:
1010
group: cluster.ipfs.io
1111
names:
12-
kind: Ipfs
13-
listKind: IpfsList
14-
plural: ipfs
15-
singular: ipfs
12+
kind: IpfsCluster
13+
listKind: IpfsClusterList
14+
plural: ipfsclusters
15+
singular: ipfscluster
1616
scope: Namespaced
1717
versions:
1818
- name: v1alpha1
1919
schema:
2020
openAPIV3Schema:
21-
description: Ipfs is the Schema for the ipfs API.
21+
description: IpfsCluster is the Schema for the ipfs API.
2222
properties:
2323
apiVersion:
2424
description: 'APIVersion defines the versioned schema of this representation
@@ -49,7 +49,11 @@ spec:
4949
type: object
5050
type: array
5151
ipfsStorage:
52-
type: string
52+
anyOf:
53+
- type: integer
54+
- type: string
55+
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
56+
x-kubernetes-int-or-string: true
5357
networking:
5458
properties:
5559
circuitRelays:
@@ -101,8 +105,8 @@ spec:
101105
description: "Condition contains details for one aspect of the current
102106
state of this API Resource. --- This struct is intended for direct
103107
use as an array at the field path .status.conditions. For example,
104-
type FooStatus struct{ // Represents the observations of a foo's
105-
current state. // Known .status.conditions.type are: \"Available\",
108+
\n type FooStatus struct{ // Represents the observations of a
109+
foo's current state. // Known .status.conditions.type are: \"Available\",
106110
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
107111
// +listType=map // +listMapKey=type Conditions []metav1.Condition
108112
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"

helm/ipfs-operator/templates/ClusterRole-ipfs-operator-manager-role.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ rules:
6666
- apiGroups:
6767
- cluster.ipfs.io
6868
resources:
69-
- ipfs
69+
- ipfsclusters
7070
verbs:
7171
- create
7272
- delete
@@ -78,13 +78,13 @@ rules:
7878
- apiGroups:
7979
- cluster.ipfs.io
8080
resources:
81-
- ipfs/finalizers
81+
- ipfsclusters/finalizers
8282
verbs:
8383
- update
8484
- apiGroups:
8585
- cluster.ipfs.io
8686
resources:
87-
- ipfs/status
87+
- ipfsclusters/status
8888
verbs:
8989
- get
9090
- patch

0 commit comments

Comments
 (0)