GitOps Test: Add test configuration to hcp1

- Add test_config block with GitOps automation test values
- Add gitops_test block for deployment verification
- Test automatic deployment via webhook
- Timestamp: 2025-10-09T06:45:00Z
This commit is contained in:
Houzhong Xu 2025-10-09 06:48:05 +00:00
parent edae611b31
commit 7c501b1614
No known key found for this signature in database
GPG Key ID: B44BEB1438F1B46F
1 changed files with 19 additions and 0 deletions

View File

@ -1,9 +1,19 @@
# GitOps Test Configuration - Auto Update Test
# This is a test configuration to verify GitOps automation
# Added at: 2025-10-09 06:45 UTC
datacenter = "dc1"
data_dir = "/opt/nomad/data"
plugin_dir = "/opt/nomad/plugins"
log_level = "INFO"
name = "hcp1"
# Test configuration block - meaningless but harmless
test_config {
enabled = true
test_value = "gitops-automation-test"
timestamp = "2025-10-09T06:45:00Z"
}
bind_addr = "hcp1.tailnet-68f9.ts.net"
addresses {
@ -115,4 +125,13 @@ telemetry {
prometheus_metrics = true
publish_allocation_metrics = true
publish_node_metrics = true
}
# Additional test configuration for GitOps verification
# This block will be ignored by Nomad but shows in config
gitops_test {
deployment_id = "test-$(date +%s)"
automation_status = "active"
last_updated = "2025-10-09T06:45:00Z"
test_purpose = "verify-automatic-deployment"
}