This repository has been archived by the owner on Apr 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add automatically generated config sample
``` kubewatch config sample ``` TODO: update add/remove commands to use go-yaml-edit to perform in-place edits in the yaml file while preserving the comments.
- Loading branch information
Marko Mikulicic
committed
Jul 7, 2020
1 parent
a882f75
commit 7fbfcef
Showing
7 changed files
with
440 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
package config | ||
|
||
var yannotated = `# Handlers know how to send notifications to specific services. | ||
handler: | ||
slack: | ||
# Slack "legacy" API token. | ||
token: "" | ||
# Slack channel. | ||
channel: "" | ||
# Title of the message. | ||
title: "" | ||
hipchat: | ||
# Hipchat token. | ||
token: "" | ||
# Room name. | ||
room: "" | ||
# URL of the hipchat server. | ||
url: "" | ||
mattermost: | ||
room: "" | ||
url: "" | ||
username: "" | ||
flock: | ||
# URL of the flock API. | ||
url: "" | ||
webhook: | ||
# Webhook URL. | ||
url: "" | ||
msteams: | ||
# MSTeams API Webhook URL. | ||
webhookurl: "" | ||
smtp: | ||
# Destination e-mail address. | ||
to: "" | ||
# Sender e-mail address . | ||
from: "" | ||
# Smarthost, aka "SMTP server"; address of server used to send email. | ||
smarthost: "" | ||
# Subject of the outgoing emails. | ||
subject: "" | ||
# Extra e-mail headers to be added to all outgoing messages. | ||
headers: {} | ||
# Authentication parameters. | ||
auth: | ||
# Username for PLAN and LOGIN auth mechanisms. | ||
username: "" | ||
# Password for PLAIN and LOGIN auth mechanisms. | ||
password: "" | ||
# Identity for PLAIN auth mechanism | ||
identity: "" | ||
# Secret for CRAM-MD5 auth mechanism | ||
secret: "" | ||
# If "true" forces secure SMTP protocol (AKA StartTLS). | ||
requireTLS: false | ||
# SMTP hello field (optional) | ||
hello: "" | ||
# Resources to watch. | ||
resource: | ||
deployment: false | ||
rc: false | ||
rs: false | ||
ds: false | ||
svc: false | ||
po: false | ||
job: false | ||
node: false | ||
clusterrole: false | ||
sa: false | ||
pv: false | ||
ns: false | ||
secret: false | ||
configmap: false | ||
ing: false | ||
# For watching specific namespace, leave it empty for watching all. | ||
# this config is ignored when watching namespaces | ||
namespace: "" | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.