Fix documentation source regarding notifications level

According to schema, field is called level, not loggingLevel. Fix
invalid example in the documentation

Ref: https://github.com/jenkinsci/kubernetes-operator/blob/master/pkg/apis/jenkins/v1alpha2/jenkins_types.go#L108
This commit is contained in:
Oleksandr Kovalchuk 2020-04-15 15:55:21 +03:00
parent 3bfeae1cb1
commit 2ead133688
No known key found for this signature in database
GPG Key ID: 8D9EF9A2F5AD3CF7
1 changed files with 7 additions and 7 deletions

View File

@ -24,7 +24,7 @@ kind: Jenkins
spec:
master:
notifications:
- loggingLevel: info
- level: info
verbose: true
name: <name>
slack:
@ -45,7 +45,7 @@ kind: Jenkins
spec:
master:
notifications:
- loggingLevel: info
- level: info
verbose: true
name: <name>
teams:
@ -64,7 +64,7 @@ kind: Jenkins
spec:
master:
notifications:
- loggingLevel: info
- level: info
verbose: true
name: <name>
mailgun:
@ -81,7 +81,7 @@ spec:
As you see there is two debugging options:
* `loggingLevel` (warning/info) - Set level of messages to send.
* `level` (warning/info) - Set level of messages to send.
* `verbose` - Print stacktrace and additional error messages
@ -95,7 +95,7 @@ kind: Jenkins
spec:
master:
notifications:
- loggingLevel: info
- level: info
verbose: true
name: nslack
slack:
@ -103,7 +103,7 @@ spec:
secret:
name: <secret_name>
key: <key>
- loggingLevel: info
- level: info
verbose: true
name: nteams
teams:
@ -111,4 +111,4 @@ spec:
secret:
name: <secret_name>
key: <key>
```
```