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:
parent
7c501b1614
commit
7b4231a20e
|
|
@ -7,13 +7,6 @@ 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 {
|
||||
|
|
@ -125,13 +118,4 @@ 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"
|
||||
}
|
||||
Loading…
Reference in New Issue