add slack to notifications and update alert definitions after upgrade [ci skip]

This commit is contained in:
viktorbarzin 2022-01-06 20:09:20 +00:00
parent 6870cee492
commit 0b20fc1e73
No known key found for this signature in database
GPG key ID: 0EB088298288D958
6 changed files with 18 additions and 8 deletions

View file

@ -44,6 +44,7 @@ variable "webhook_handler_git_token" {}
variable "webhook_handler_ssh_key" {}
variable "monitoring_idrac_username" {}
variable "monitoring_idrac_password" {}
variable "alertmanager_slack_api_url" {}
variable "ansible_prefix" {
default = "ANSIBLE_VAULT_PASSWORD_FILE=~/.ansible/vault_pass.txt ansible-playbook -i playbook/hosts.yaml playbook/linux.yml -t linux/initial_setup"
@ -211,6 +212,7 @@ module "kubernetes_cluster" {
bind_named_conf_options = var.bind_named_conf_options
alertmanager_account_password = var.alertmanager_account_password
alertmanager_slack_api_url = var.alertmanager_slack_api_url
# Drone
drone_github_client_id = var.drone_github_client_id