Skip to content

Commit 2c2472f

Browse files
committed
Release v0.3.0
1 parent b9898e0 commit 2c2472f

4 files changed

Lines changed: 250 additions & 54 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To re-generate a bundle for another specific version without changing the standard setup, you can:
44
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
55
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
6-
VERSION ?= 0.2.0
6+
VERSION ?= 0.3.0
77

88
# CHANNELS define the bundle channels used in the bundle.
99
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")

bundle/manifests/synapse-operator.clusterserviceversion.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ metadata:
6262
capabilities: Basic Install
6363
operators.operatorframework.io/builder: operator-sdk-v1.25.0
6464
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
65-
name: synapse-operator.v0.2.0
65+
name: synapse-operator.v0.3.0
6666
namespace: placeholder
6767
spec:
6868
apiservicedefinitions: {}
@@ -219,7 +219,7 @@ spec:
219219
- --leader-elect
220220
command:
221221
- /manager
222-
image: quay.io/opdev/synapse-operator:v0.2.0
222+
image: quay.io/opdev/synapse-operator:v0.3.0
223223
livenessProbe:
224224
httpGet:
225225
path: /healthz
@@ -302,4 +302,4 @@ spec:
302302
maturity: alpha
303303
provider:
304304
name: Opdev
305-
version: 0.2.0
305+
version: 0.3.0

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ kind: Kustomization
1313
images:
1414
- name: controller
1515
newName: quay.io/opdev/synapse-operator
16-
newTag: v0.2.0
16+
newTag: v0.3.0

install/synapse-operator.yaml

Lines changed: 245 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,170 @@ metadata:
77
---
88
apiVersion: apiextensions.k8s.io/v1
99
kind: CustomResourceDefinition
10+
metadata:
11+
annotations:
12+
controller-gen.kubebuilder.io/version: v0.10.0
13+
creationTimestamp: null
14+
name: heisenbridges.synapse.opdev.io
15+
spec:
16+
group: synapse.opdev.io
17+
names:
18+
kind: Heisenbridge
19+
listKind: HeisenbridgeList
20+
plural: heisenbridges
21+
singular: heisenbridge
22+
scope: Namespaced
23+
versions:
24+
- name: v1alpha1
25+
schema:
26+
openAPIV3Schema:
27+
description: Heisenbridge is the Schema for the heisenbridges API
28+
properties:
29+
apiVersion:
30+
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest 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 object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
34+
type: string
35+
metadata:
36+
type: object
37+
spec:
38+
description: 'HeisenbridgeSpec defines the desired state of Heisenbridge. The user can either: - enable the bridge, without specifying additional configuration options. The bridge will be deployed with a default configuration. - enable the bridge and specify an existing ConfigMap by its Name and Namespace containing a heisenbridge.yaml.'
39+
properties:
40+
configMap:
41+
description: Holds information about the ConfigMap containing the heisenbridge.yaml configuration file to be used as input for the configuration of the Heisenbridge IRC Bridge.
42+
properties:
43+
name:
44+
description: Name of the ConfigMap in the given Namespace.
45+
type: string
46+
namespace:
47+
description: Namespace in which the ConfigMap is living. If left empty, the Heisenbridge namespace is used.
48+
type: string
49+
required:
50+
- name
51+
type: object
52+
synapse:
53+
description: Name of the Synapse instance, living in the same namespace.
54+
properties:
55+
name:
56+
description: Name of the Synapse instance
57+
type: string
58+
namespace:
59+
description: 'Namespace of the Synapse instance TODO: Complete'
60+
type: string
61+
required:
62+
- name
63+
type: object
64+
verboseLevel:
65+
default: 0
66+
description: 'Controls the verbosity of the Heisenbrige: * 0 corresponds to normal level of logs * 1 corresponds to "-v" * 2 corresponds to "-vv" * 3 corresponds to "-vvv"'
67+
type: integer
68+
required:
69+
- synapse
70+
type: object
71+
status:
72+
description: HeisenbridgeStatus defines the observed state of Heisenbridge
73+
properties:
74+
reason:
75+
description: Reason for the current Heisenbridge State
76+
type: string
77+
state:
78+
description: State of the Heisenbridge instance
79+
type: string
80+
type: object
81+
required:
82+
- spec
83+
type: object
84+
served: true
85+
storage: true
86+
subresources:
87+
status: {}
88+
---
89+
apiVersion: apiextensions.k8s.io/v1
90+
kind: CustomResourceDefinition
91+
metadata:
92+
annotations:
93+
controller-gen.kubebuilder.io/version: v0.10.0
94+
creationTimestamp: null
95+
name: mautrixsignals.synapse.opdev.io
96+
spec:
97+
group: synapse.opdev.io
98+
names:
99+
kind: MautrixSignal
100+
listKind: MautrixSignalList
101+
plural: mautrixsignals
102+
singular: mautrixsignal
103+
scope: Namespaced
104+
versions:
105+
- name: v1alpha1
106+
schema:
107+
openAPIV3Schema:
108+
description: MautrixSignal is the Schema for the mautrixsignals API
109+
properties:
110+
apiVersion:
111+
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
112+
type: string
113+
kind:
114+
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
115+
type: string
116+
metadata:
117+
type: object
118+
spec:
119+
description: 'MautrixSignalSpec defines the desired state of MautrixSignal. The user can either: - enable the bridge, without specifying additional configuration options. The bridge will be deployed with a default configuration. - enable the bridge and specify an existing ConfigMap by its Name and Namespace containing a config.yaml file.'
120+
properties:
121+
configMap:
122+
description: Holds information about the ConfigMap containing the config.yaml configuration file to be used as input for the configuration of the mautrix-signal bridge.
123+
properties:
124+
name:
125+
description: Name of the ConfigMap in the given Namespace.
126+
type: string
127+
namespace:
128+
description: Namespace in which the ConfigMap is living. If left empty, the Synapse namespace is used.
129+
type: string
130+
required:
131+
- name
132+
type: object
133+
synapse:
134+
description: Name of the Synapse instance, living in the same namespace.
135+
properties:
136+
name:
137+
description: Name of the Synapse instance
138+
type: string
139+
namespace:
140+
description: 'Namespace of the Synapse instance TODO: Complete'
141+
type: string
142+
required:
143+
- name
144+
type: object
145+
required:
146+
- synapse
147+
type: object
148+
status:
149+
description: MautrixSignalStatus defines the observed state of MautrixSignal
150+
properties:
151+
reason:
152+
description: Reason for the current MautrixSignal State
153+
type: string
154+
state:
155+
description: State of the MautrixSignal instance
156+
type: string
157+
synapse:
158+
description: Information related to the Synapse instance associated with this bridge
159+
properties:
160+
serverName:
161+
type: string
162+
type: object
163+
type: object
164+
required:
165+
- spec
166+
type: object
167+
served: true
168+
storage: true
169+
subresources:
170+
status: {}
171+
---
172+
apiVersion: apiextensions.k8s.io/v1
173+
kind: CustomResourceDefinition
10174
metadata:
11175
annotations:
12176
controller-gen.kubebuilder.io/version: v0.10.0
@@ -37,54 +201,6 @@ spec:
37201
spec:
38202
description: SynapseSpec defines the desired state of Synapse
39203
properties:
40-
bridges:
41-
description: Configuration options for optional matrix bridges
42-
properties:
43-
heisenbridge:
44-
description: 'Configuration options for the IRC bridge Heisenbridge. The user can either: * disable the deployment of the bridge. * enable the bridge, without specifying additional configuration options. The bridge will be deployed with a default configuration. * enable the bridge and specify an existing ConfigMap by its Name and Namespace containing a heisenbridge.yaml.'
45-
properties:
46-
configMap:
47-
description: Holds information about the ConfigMap containing the heisenbridge.yaml configuration file to be used as input for the configuration of the Heisenbridge IRC Bridge.
48-
properties:
49-
name:
50-
description: Name of the ConfigMap in the given Namespace.
51-
type: string
52-
namespace:
53-
description: Namespace in which the ConfigMap is living. If left empty, the Synapse namespace is used.
54-
type: string
55-
required:
56-
- name
57-
type: object
58-
enabled:
59-
default: false
60-
description: Whether to deploy Heisenbridge or not
61-
type: boolean
62-
verboseLevel:
63-
default: 0
64-
description: 'Controls the verbosity of the Heisenbrige: * 0 corresponds to normal level of logs * 1 corresponds to "-v" * 2 corresponds to "-vv" * 3 corresponds to "-vvv"'
65-
type: integer
66-
type: object
67-
mautrixSignal:
68-
description: 'Configuration options for the mautrix-signal bridge. The user can either: * disable the deployment of the bridge. * enable the bridge, without specifying additional configuration options. The bridge will be deployed with a default configuration. * enable the bridge and specify an existing ConfigMap by its Name and Namespace containing a config.yaml file.'
69-
properties:
70-
configMap:
71-
description: Holds information about the ConfigMap containing the config.yaml configuration file to be used as input for the configuration of the mautrix-signal Bridge.
72-
properties:
73-
name:
74-
description: Name of the ConfigMap in the given Namespace.
75-
type: string
76-
namespace:
77-
description: Namespace in which the ConfigMap is living. If left empty, the Synapse namespace is used.
78-
type: string
79-
required:
80-
- name
81-
type: object
82-
enabled:
83-
default: false
84-
description: Whether to deploy mautrix-signal or not
85-
type: boolean
86-
type: object
87-
type: object
88204
createNewPostgreSQL:
89205
default: false
90206
description: Set to true to create a new PostreSQL instance. The homeserver.yaml 'database' section will be overwritten.
@@ -129,6 +245,31 @@ spec:
129245
status:
130246
description: SynapseStatus defines the observed state of Synapse
131247
properties:
248+
bridges:
249+
description: Information on the bridges deployed alongside Synapse
250+
properties:
251+
heisenbridge:
252+
description: Information on the Heisenbridge (IRC Bridge).
253+
properties:
254+
enabled:
255+
default: false
256+
description: Whether a Heisenbridge has been deployed for this Synapse instance
257+
type: boolean
258+
name:
259+
description: Name of the Heisenbridge object
260+
type: string
261+
type: object
262+
mautrixsignal:
263+
description: Information on the mautrix-signal bridge.
264+
properties:
265+
enabled:
266+
description: Whether a mautrix-signal has been deployed for this Synapse instance
267+
type: boolean
268+
name:
269+
description: Name of the mautrix-signal bridge object
270+
type: string
271+
type: object
272+
type: object
132273
databaseConnectionInfo:
133274
description: Connection information to the external PostgreSQL Database
134275
properties:
@@ -158,6 +299,9 @@ spec:
158299
description: The public-facing domain of the server
159300
type: string
160301
type: object
302+
needsReconcile:
303+
default: false
304+
type: boolean
161305
reason:
162306
description: Reason for the current Synapse State
163307
type: string
@@ -223,6 +367,58 @@ metadata:
223367
creationTimestamp: null
224368
name: synapse-operator-manager-role
225369
rules:
370+
- apiGroups:
371+
- synapse.opdev.io
372+
resources:
373+
- heisenbridges
374+
verbs:
375+
- create
376+
- delete
377+
- get
378+
- list
379+
- patch
380+
- update
381+
- watch
382+
- apiGroups:
383+
- synapse.opdev.io
384+
resources:
385+
- heisenbridges/finalizers
386+
verbs:
387+
- update
388+
- apiGroups:
389+
- synapse.opdev.io
390+
resources:
391+
- heisenbridges/status
392+
verbs:
393+
- get
394+
- patch
395+
- update
396+
- apiGroups:
397+
- synapse.opdev.io
398+
resources:
399+
- mautrixsignals
400+
verbs:
401+
- create
402+
- delete
403+
- get
404+
- list
405+
- patch
406+
- update
407+
- watch
408+
- apiGroups:
409+
- synapse.opdev.io
410+
resources:
411+
- mautrixsignals/finalizers
412+
verbs:
413+
- update
414+
- apiGroups:
415+
- synapse.opdev.io
416+
resources:
417+
- mautrixsignals/status
418+
verbs:
419+
- get
420+
- patch
421+
- update
226422
- apiGroups:
227423
- synapse.opdev.io
228424
resources:
@@ -388,7 +584,7 @@ spec:
388584
- --leader-elect
389585
command:
390586
- /manager
391-
image: quay.io/opdev/synapse-operator:v0.2.0
587+
image: quay.io/opdev/synapse-operator:v0.3.0
392588
livenessProbe:
393589
httpGet:
394590
path: /healthz

0 commit comments

Comments
 (0)