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
Copy file name to clipboardExpand all lines: docs/en/teps/0001_triggertemplate_runtime_config.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
@@ -478,11 +478,11 @@ spec:
478
478
479
479
- **env merged by `name` field**: Environment variables are merged by name, same names are overridden
480
480
- **volumes merged by `name` field**: Volumes are merged by name, same names are overridden
481
-
- **Other fields use standard merge**: `nodeSelector`, `securityContext` and other fields use standard merge logic (later values override earlier ones)
481
+
- **Other fields use standard merge**: `nodeSelector`, `securityContext` and other fields use standard merge logic. If the field is an object, it will be recursively merged.
482
482
- **Example**:
483
483
- `BUILD_ENV`is overridden from `"development"` to `"production"`
484
484
- `shared-config`volume is overridden from `configMap` to `secret`
485
-
- `securityContext`is completely merged
485
+
- `securityContext`fields are recursively merged (same fields overridden, different fields preserved)
486
486
487
487
This merge mechanism ensures configuration flexibility and composability, allowing users to create complex runtime configurations by combining multiple templates.
After creating the `Pipeline` and `Trigger` using `Pipelines` functionality through the UI console, the `Pipeline` is not automatically triggered event though the event is sent (i.e the code is pushed).
10
+
After creating the `Pipeline` and `Trigger` using `Pipelines` functionality through the UI console, the `Pipeline` is not automatically triggered even though the event is sent (i.e the code is pushed).
12
11
13
12
## Root Cause Analysis
14
13
@@ -19,18 +18,18 @@ There are several possible causes for this issue:
19
18
3. The `ServiceAccount` used by the `EventListener` deployment does not have enough permissions.
20
19
4. The `Trigger` is not configured correctly.
21
20
22
-
## Problem Investigation
21
+
## Problem Investigation
23
22
24
-
Given the possible issues mentioned above, follow the steps to find the root cause of the problem:
23
+
Given the possible issues mentioned above, follow the steps to find the root cause of the problem:
25
24
26
-
### Webhook configuration was not setup correctly
25
+
### Webhook configuration was not set up correctly
27
26
28
27
1. Access your repository/settings using an account with appropriate permissions.
29
28
2. Check all webhook settings and confirm with the platform administrator details regarding the target address of the webhook.
30
-
3. Make sure the required events are enabled by the webhook. For Gitlab events please refer to [GitLab Event Triggers](../how_to/gitlab_events.mdx)
31
-
29
+
3. Make sure the required events are enabled by the webhook. For Gitlab events, please refer to [GitLab Event Triggers](../how_to/gitlab_events.mdx)
32
30
33
-
### EventLister not deployed or setup incorrectly
31
+
32
+
### EventListener not deployed or set up incorrectly
34
33
35
34
1. Verify with the Platform Administrator that the `EventListener` was deployed and can be reached from the event source (i.e Gitlab instance).
36
35
2. Access the `EventListener` resource and check if it is listening `Triggers` in the target namespace checking the `EventListener` resource `spec`, it should have the `namespaceSelector` field set to `*` or listing the target namespace.
0 commit comments