mirror of
https://github.com/kyverno/policy-reporter.git
synced 2024-12-14 11:57:32 +00:00
Add manifest install instructions for email reports
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
This commit is contained in:
parent
69d17c2fcc
commit
fb4b88411c
3 changed files with 13 additions and 1 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
@ -2,7 +2,6 @@ name: CI
|
|||
|
||||
on:
|
||||
push:
|
||||
# Publish `master` as Docker `latest` image.
|
||||
branches:
|
||||
- main
|
||||
- development
|
||||
|
@ -10,6 +9,7 @@ on:
|
|||
paths-ignore:
|
||||
- README.md
|
||||
- charts/**
|
||||
- manifest/**
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
|
|
1
.github/workflows/cr.yaml
vendored
1
.github/workflows/cr.yaml
vendored
|
@ -6,6 +6,7 @@ on:
|
|||
- main
|
||||
paths:
|
||||
- 'charts/**'
|
||||
- 'manifests/**'
|
||||
|
||||
jobs:
|
||||
release:
|
||||
|
|
|
@ -139,6 +139,17 @@ When you change the secret while Policy Reporter is already running, you have to
|
|||
|
||||
The `violations-email-report` folder can be used to install Policy Reporter only for the matter of sending E-Mail Summary Reports. You can install the Email Summary Report without the requirement of the Policy Reporter core application. If you already have Policy Reporter installed, you can just apply `config-secret.yaml` and `cronjob.yaml` to add the email report feature. It will reuse the existing `ServiceAccount` and `Namespace`.
|
||||
|
||||
### Installation
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://raw.githubusercontent.com/kyverno/policy-reporter/main/manifest/violations-email-report/namespace.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/kyverno/policy-reporter/main/manifest/violations-email-report/config-secret.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/kyverno/policy-reporter/main/manifest/violations-email-report/serviceaccount.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/kyverno/policy-reporter/main/manifest/violations-email-report/cronjob.yaml
|
||||
```
|
||||
|
||||
### Configuration
|
||||
|
||||
To configure your SMTP server and receiver emails use the following configuration template and replace the `config.yaml` value of `config-secret.yaml` with your base64 encoded configuration.
|
||||
|
||||
```yaml
|
||||
|
|
Loading…
Reference in a new issue