move cert-manager and ingress-nginx from kubespray to separate modules, remove reset action and update observability template

This commit is contained in:
2024-04-28 00:25:30 +03:00
parent 6804fe3482
commit 6aac54a915
18 changed files with 4606 additions and 92 deletions

View File

@@ -96,32 +96,34 @@ modules:
retention: 7d
alert_manager:
enabled: false
enabled: true
# additionalMessageTemplates: {}
# route:
# receiver: kvazaric_notifications
# group_wait: 1s
# repeat_interval: 180m
route:
receiver: kvazaric_notifications
group_wait: 1s
repeat_interval: 180m
routes:
- receiver: "kvazaric_notifications"
group_by: ["alertname"]
group_wait: 1s
repeat_interval: 8737h
matchers:
- fireOnce=true
receivers:
- name: kvazaric_notifications
telegram_configs:
- send_resolved: true
api_url: https://api.telegram.org
bot_token: 6364937365:AAHcJKc-McN11gBWuQqoM87zr18eK0VKX9I
chat_id: -968770779
parse_mode: HTML
message: '{% raw %}{{ "{{" }} template "default-message" . {{ "}}" }}{% endraw %}'
http_config:
follow_redirects: true
enable_http2: false
# routes:
# - receiver: "kvazaric_notifications"
# group_by: ["alertname"]
# group_wait: 1s
# repeat_interval: 8737h
# matchers:
# - fireOnce=true
# receivers:
# - name: kvazaric_notifications
# telegram_configs:
# - send_resolved: true
# api_url: https://api.telegram.org
# bot_token: 6364937365:AAHcJKc-McN11gBWuQqoM87zr18eK0VKX9I
# chat_id: -968770779
# parse_mode: HTML
# message: '{{ template "telegram-message" . }}'
# http_config:
# follow_redirects: true
# enable_http2: false
blackbox:
enabled: true
additional_modules: |
@@ -245,7 +247,8 @@ modules:
additional:
cert_manager:
install: true
enabled: true
ha_enabled: false
dns_servers:
- "1.1.1.1"
- "8.8.8.8"
@@ -253,9 +256,7 @@ modules:
ingress:
type: nginx # nginx
install: true
insecure_port: 80
secure_port: 443
enabled: true
ingress_class_name: nginx
host_network: true