Fix: Remove invalid test config blocks

- Remove test_config and gitops_test blocks that caused Nomad startup failure
- Keep GitOps test comments for verification
- Restore valid Nomad configuration
This commit is contained in:
Houzhong Xu 2025-10-09 06:49:52 +00:00
parent 7c501b1614
commit 7b4231a20e
No known key found for this signature in database
GPG Key ID: B44BEB1438F1B46F
1 changed files with 0 additions and 16 deletions

View File

@ -7,13 +7,6 @@ plugin_dir = "/opt/nomad/plugins"
log_level = "INFO" log_level = "INFO"
name = "hcp1" 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" bind_addr = "hcp1.tailnet-68f9.ts.net"
addresses { addresses {
@ -125,13 +118,4 @@ telemetry {
prometheus_metrics = true prometheus_metrics = true
publish_allocation_metrics = true publish_allocation_metrics = true
publish_node_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"
} }