feat: Add fallback troubleshooting URL for coder agents (#5005)

This commit is contained in:
Mathias Fredriksson
2022-11-16 12:53:02 +02:00
committed by GitHub
parent 1f4f0cee2a
commit c1ecc91aab
11 changed files with 163 additions and 54 deletions
+7
View File
@@ -347,6 +347,13 @@ func newConfig() *codersdk.DeploymentConfig {
Hidden: true,
Default: 10 * time.Minute,
},
AgentFallbackTroubleshootingURL: &codersdk.DeploymentConfigField[string]{
Name: "Agent Fallback Troubleshooting URL",
Usage: "URL to use for agent troubleshooting when not set in the template",
Flag: "agent-fallback-troubleshooting-url",
Hidden: true,
Default: "https://coder.com/docs/coder-oss/latest/templates#troubleshooting-templates",
},
AuditLogging: &codersdk.DeploymentConfigField[bool]{
Name: "Audit Logging",
Usage: "Specifies whether audit logging is enabled.",