mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-06 15:58:43 +00:00
fix: Add server flag for quiet policy checks as documented (#2705)
This commit is contained in:
@@ -80,6 +80,7 @@ const (
|
||||
GitlabWebhookSecretFlag = "gitlab-webhook-secret" // nolint: gosec
|
||||
APISecretFlag = "api-secret"
|
||||
HidePrevPlanComments = "hide-prev-plan-comments"
|
||||
QuietPolicyChecks = "quiet-policy-checks"
|
||||
LockingDBType = "locking-db-type"
|
||||
LogLevelFlag = "log-level"
|
||||
MarkdownTemplateOverridesDirFlag = "markdown-template-overrides-dir"
|
||||
@@ -417,6 +418,10 @@ var boolFlags = map[string]boolFlag{
|
||||
"VCS support is limited to: GitHub.",
|
||||
defaultValue: false,
|
||||
},
|
||||
QuietPolicyChecks: {
|
||||
description: "Exclude policy check comments from pull requests unless there's an actual error from conftest. This also excludes warnings.",
|
||||
defaultValue: false,
|
||||
},
|
||||
RedisTLSEnabled: {
|
||||
description: "Enable TLS on the connection to Redis with a min TLS version of 1.2",
|
||||
defaultValue: DefaultRedisTLSEnabled,
|
||||
|
||||
Reference in New Issue
Block a user