-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
Feature Request
Problem Statement
Currently, DriftMgr requires users to manually check for drift by running commands. For production environments, continuous monitoring with automatic alerts would be more valuable.
Proposed Solution
Implement a Kubernetes CronJob template and Helm chart that:
- Runs drift detection on a schedule
- Sends notifications to Slack/Teams/PagerDuty
- Stores historical drift data
- Provides a Grafana dashboard for visualization
Implementation Details
# Example CronJob configuration
apiVersion: batch/v1
kind: CronJob
metadata:
name: driftmgr-monitor
spec:
schedule: "*/30 * * * *" # Every 30 minutes
jobTemplate:
spec:
template:
spec:
containers:
- name: driftmgr
image: catherinevee/driftmgr:latest
command:
- /bin/sh
- -c
- |
driftmgr drift detect --all-providers --output json | \
driftmgr notify --slack-webhook $SLACK_WEBHOOKBenefits
- Proactive drift detection
- Reduced manual oversight
- Better compliance posture
- Historical trend analysis
Additional Considerations
- Support multiple notification channels
- Configurable severity thresholds
- Integration with existing monitoring stacks
- Minimal resource footprint
Would this be something the team would consider adding? Happy to contribute the initial implementation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed