You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 11, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,26 @@ Development version can be installed using [ko](https://github.com/ko-build/ko)
30
30
ko apply -f ./config
31
31
```
32
32
33
+
### Namespaced installation
34
+
35
+
TriggerMesh Core controller can be configured to work with a single namespace set at the `WORKING_NAMESPACE` environment variable, which can be added editing the deployment manifest.
36
+
37
+
```yaml
38
+
- name: WORKING_NAMESPACE
39
+
value: my-namespace
40
+
```
41
+
42
+
When working with a single namespace, all `ClusterRoleBindings` should also be modified adding the namespace to limit the scope of the granted permissions.
43
+
44
+
```yaml
45
+
apiVersion: rbac.authorization.k8s.io/v1
46
+
kind: ClusterRoleBinding
47
+
metadata:
48
+
name: triggermesh-core-controller
49
+
namespace: working
50
+
...
51
+
```
52
+
33
53
## Concepts
34
54
35
55
TriggerMesh core contains Kubernetes objects for Brokers and Triggers:
Copy file name to clipboardExpand all lines: docs/redis-broker.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ spec:
40
40
tlsEnabled: <boolean that indicates if the Redis server is TLS protected. Optional, defaults to false>
41
41
tlsSkipVerify: <boolean that skips verifying TLS certificates. Optional, defaults to false>
42
42
stream: <Redis stream name. Optional, defaults to a combination of namespace and broker name>
43
-
streamMaxLen: <maximum number of items the Redis stream can host. Optional, defaults to unlimited>
43
+
streamMaxLen: <maximum number of items the Redis stream can host. Optional, defaults to 1000. Set to 0 for unlimited>
44
44
enableTrackingID: <boolean that indicates if the Redis ID should be written as the CloudEvent attribute triggermeshbackendid>
45
45
broker:
46
46
port: <HTTP port for ingesting events>
@@ -52,7 +52,7 @@ The `RedisBroker` specific parameters are:
52
52
53
53
- `spec.redis.connection`. When not used the broker will spin up a managed Redis Deployment. However for production scenarios that require HA and hardened security it is recommended to provide the connection to a user managed Redis instance.
54
54
- `spec.stream`is the Redis stream name to be used by the broker. If it doesn't exists the Broker will create it.
55
-
- `spec.streamMaxLen`is the maximum number of elements that the stream will contain.
55
+
- `spec.streamMaxLen`is the maximum number of elements that the stream might contain. Set to 0 for unlimited.
56
56
- `spec.enableTrackingID`when set adds the `triggermeshbackendid` CloudEvents attribute containing the Redis ID for the message to all outgoing events.
57
57
58
58
The `spec.broker` section contains generic Borker parameters:
0 commit comments