Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
There are a number of dependencies required to be able to run the controller and its test suite locally:

- [Install Go](https://golang.org/doc/install)
- [Install Kustomize](https://kubernetes-sigs.github.io/kustomize/installation/)
- [Install Kustomize](https://kubectl.docs.kubernetes.io/installation/kustomize/)
- [Install Docker](https://docs.docker.com/engine/install/)
- (Optional) [Install Kubebuilder](https://book.kubebuilder.io/quick-start.html#installation)

Expand Down
10 changes: 5 additions & 5 deletions docs/spec/v1/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func handleRequest(w http.ResponseWriter, r *http.Request) {
When `.spec.type` is set to `slack`, the controller will send a message for an
[Event](events.md#event-structure) to the provided Slack API [Address](#address).

The Event will be formatted into a Slack message using an [Attachment](https://api.slack.com/reference/messaging/attachments),
The Event will be formatted into a Slack message using an [Attachment](https://docs.slack.dev/legacy/legacy-messaging/legacy-secondary-message-attachments/),
with the metadata attached as fields, and the involved object as author.
The severity of the Event is used to set the color of the attachment.

Expand Down Expand Up @@ -378,7 +378,7 @@ may be a [Microsoft Teams Incoming Webhook Workflow](https://support.microsoft.c
the deprecated [Office 365 Connector](https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/).

**Note:** If the Address host contains the suffix `.webhook.office.com`, the controller will imply that
the backend is the deprecated Office 365 Connector and is expecting the Event in the [connector message](https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using#example-of-connector-message) format. Otherwise, the controller will format the Event as a [Microsoft Adaptive Card](https://adaptivecards.io/explorer/) message.
the backend is the deprecated Office 365 Connector and is expecting the Event in the [connector message](https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using#example-of-connector-message) format. Otherwise, the controller will format the Event as a [Microsoft Adaptive Card](https://adaptivecards.microsoft.com/) message.

In both cases the Event metadata is attached as facts, and the involved object as a summary/title.
The severity of the Event is used to set the color of the message.
Expand Down Expand Up @@ -1332,7 +1332,7 @@ Proxy credentials are configured separately in the [proxy Secret](#https-proxy).
When `.spec.type` is set to `zoom`, the controller will send a payload for
an [Event](events.md#event-structure) to the provided Zoom Team Chat [Address](#address).

The Event will be formatted into a [Zoom rich message](https://developers.zoom.us/docs/team-chat/chatbot/customizing-messages/),
The Event will be formatted into a [Zoom rich message](https://developers.zoom.us/docs/chat/customizing-messages/),
with the event severity as sub head and the metadata added as a list of key-value fields.
The controller appends `format=full` to the webhook URL unless a `format` query
parameter is already present.
Expand Down Expand Up @@ -2198,7 +2198,7 @@ You can find out the ID by opening the project in the browser and clicking on th
#### Gitea

When `.spec.type` is set to `gitea`, the referenced secret must contain a key called `token` with the value set to a
[Gitea token](https://docs.gitea.io/en-us/api-usage/#generating-and-listing-api-tokens).
[Gitea token](https://docs.gitea.com/development/api-usage/#generating-and-listing-api-tokens).

This Provider type supports the configuration of a [proxy URL](#https-proxy)
and/or [certificate secret reference](#certificate-secret-reference).
Expand Down Expand Up @@ -2516,7 +2516,7 @@ ignored.

##### Authentication

The provider requires a [Gitea token](https://docs.gitea.io/en-us/api-usage/#generating-and-listing-api-tokens)
The provider requires a [Gitea token](https://docs.gitea.com/development/api-usage/#generating-and-listing-api-tokens)
with at least the `write:issue` permission to read and write pull request comments.

##### Gitea Pull Request Comment Example
Expand Down
2 changes: 1 addition & 1 deletion docs/spec/v1/receivers.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ events.
#### Gitea

For Gitea, the `.spec.type` field can be set to `github` as it produces [GitHub
type](#github) compatible [webhook event payloads](https://docs.gitea.io/en-us/webhooks/).
type](#github) compatible [webhook event payloads](https://docs.gitea.com/usage/repository/webhooks/).

**Note:** While the payloads are compatible with the GitHub type, the number of
available events may be limited and/or different from the ones available in
Expand Down
4 changes: 2 additions & 2 deletions docs/spec/v1beta2/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func handleRequest(w http.ResponseWriter, r *http.Request) {
When `.spec.type` is set to `slack`, the controller will send a message for an
[Event](events.md#event-structure) to the provided Slack API [Address](#address).

The Event will be formatted into a Slack message using an [Attachment](https://api.slack.com/reference/messaging/attachments),
The Event will be formatted into a Slack message using an [Attachment](https://docs.slack.dev/legacy/legacy-messaging/legacy-secondary-message-attachments/),
with the metadata attached as fields, and the involved object as author.
The severity of the Event is used to set the color of the attachment.

Expand Down Expand Up @@ -1484,7 +1484,7 @@ kubectl create secret generic gitlab-token --from-literal=token=<GITLAB-TOKEN>
#### Gitea

When `.spec.type` is set to `gitea`, the referenced secret must contain a key called `token` with the value set to a
[Gitea token](https://docs.gitea.io/en-us/api-usage/#generating-and-listing-api-tokens).
[Gitea token](https://docs.gitea.com/development/api-usage/#generating-and-listing-api-tokens).

The token must have at least the `write:repository` permission for the provider to
update the commit status for the Gitea repository specified in `.spec.address`.
Expand Down
2 changes: 1 addition & 1 deletion docs/spec/v1beta2/receivers.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ events.
#### Gitea

For Gitea, the `.spec.type` field can be set to `github` as it produces [GitHub
type](#github) compatible [webhook event payloads](https://docs.gitea.io/en-us/webhooks/).
type](#github) compatible [webhook event payloads](https://docs.gitea.com/usage/repository/webhooks/).

**Note:** While the payloads are compatible with the GitHub type, the number of
available events may be limited and/or different from the ones available in
Expand Down
10 changes: 5 additions & 5 deletions docs/spec/v1beta3/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func handleRequest(w http.ResponseWriter, r *http.Request) {
When `.spec.type` is set to `slack`, the controller will send a message for an
[Event](events.md#event-structure) to the provided Slack API [Address](#address).

The Event will be formatted into a Slack message using an [Attachment](https://api.slack.com/reference/messaging/attachments),
The Event will be formatted into a Slack message using an [Attachment](https://docs.slack.dev/legacy/legacy-messaging/legacy-secondary-message-attachments/),
with the metadata attached as fields, and the involved object as author.
The severity of the Event is used to set the color of the attachment.

Expand Down Expand Up @@ -371,7 +371,7 @@ may be a [Microsoft Teams Incoming Webhook Workflow](https://support.microsoft.c
the deprecated [Office 365 Connector](https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/).

**Note:** If the Address host contains the suffix `.webhook.office.com`, the controller will imply that
the backend is the deprecated Office 365 Connector and is expecting the Event in the [connector message](https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using#example-of-connector-message) format. Otherwise, the controller will format the Event as a [Microsoft Adaptive Card](https://adaptivecards.io/explorer/) message.
the backend is the deprecated Office 365 Connector and is expecting the Event in the [connector message](https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using#example-of-connector-message) format. Otherwise, the controller will format the Event as a [Microsoft Adaptive Card](https://adaptivecards.microsoft.com/) message.

In both cases the Event metadata is attached as facts, and the involved object as a summary/title.
The severity of the Event is used to set the color of the message.
Expand Down Expand Up @@ -1311,7 +1311,7 @@ stringData:
When `.spec.type` is set to `zoom`, the controller will send a payload for
an [Event](events.md#event-structure) to the provided Zoom Team Chat [Address](#address).

The Event will be formatted into a [Zoom rich message](https://developers.zoom.us/docs/team-chat/chatbot/customizing-messages/),
The Event will be formatted into a [Zoom rich message](https://developers.zoom.us/docs/chat/customizing-messages/),
with the event severity as sub head and the metadata added as a list of key-value fields.
The controller appends `format=full` to the webhook URL unless a `format` query
parameter is already present.
Expand Down Expand Up @@ -2089,7 +2089,7 @@ You can find out the ID by opening the project in the browser and clicking on th
#### Gitea

When `.spec.type` is set to `gitea`, the referenced secret must contain a key called `token` with the value set to a
[Gitea token](https://docs.gitea.io/en-us/api-usage/#generating-and-listing-api-tokens).
[Gitea token](https://docs.gitea.com/development/api-usage/#generating-and-listing-api-tokens).

The token must have at least the `write:repository` permission for the provider to
update the commit status for the Gitea repository specified in `.spec.address`.
Expand Down Expand Up @@ -2371,7 +2371,7 @@ which is updated whenever a new event is received.

##### Authentication

The provider requires a [Gitea token](https://docs.gitea.io/en-us/api-usage/#generating-and-listing-api-tokens)
The provider requires a [Gitea token](https://docs.gitea.com/development/api-usage/#generating-and-listing-api-tokens)
with at least the `write:issue` permission to read and write pull request comments.

##### Gitea Pull Request Comment Example
Expand Down