fix: disable tls feature by default (#657)

This commit is contained in:
Marc Brugger 2025-09-15 16:26:19 +02:00 committed by GitHub
parent fb5afb2505
commit f5c9e822a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ func init() {
doCmd.PersistentFlags().Bool(config.FlagFeatureClient, true, "Enable client settings feature")
doCmd.PersistentFlags().Bool(config.FlagFeatureServices, true, "Enable services sync feature")
doCmd.PersistentFlags().Bool(config.FlagFeatureFilters, true, "Enable filters sync feature")
doCmd.PersistentFlags().Bool(config.FlagFeatureTLSConfig, true, "Enable TLS config sync feature")
doCmd.PersistentFlags().Bool(config.FlagFeatureTLSConfig, false, "Enable TLS config sync feature")
doCmd.PersistentFlags().String(config.FlagOriginURL, "", "Origin instance url")
doCmd.PersistentFlags().

View File

@ -22,7 +22,7 @@ func NewFeatures(enabled bool) Features {
Services: enabled,
Filters: enabled,
Theme: enabled,
TLSConfig: enabled,
TLSConfig: false,
}
}

View File

@ -106,7 +106,7 @@ var _ = Describe("Types", func() {
})
It("should log no features", func() {
f := NewFeatures(true)
Ω(f.collectDisabled()).Should(BeEmpty())
Ω(f.collectDisabled()).Should(HaveLen(1))
})
})
})