You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rootCmd.Flags().String("bind-address", "127.0.0.1:3000", "http server bind address")
75
+
rootCmd.Flags().String("log-level", "info", "sets the application log level")
77
76
78
77
rootCmd.Flags().String("image-store", "metal-stack.io", "url to the image store")
79
78
rootCmd.Flags().String("image-store-bucket", "images", "bucket of the image store")
@@ -88,6 +87,8 @@ func init() {
88
87
rootCmd.Flags().Int("min-images-per-name", 3, "minimum amount of images to keep of an image variant")
89
88
rootCmd.Flags().Int("max-images-per-name", -1, "maximum amount of images to cache for an image variant, unlimited if less than zero")
90
89
90
+
rootCmd.Flags().Uint("expiration-grace-period", 0, "the amount of days to still sync images even if they have already expired in the metal-api (defaults to zero)")
91
+
91
92
rootCmd.Flags().String("root-path", "/var/lib/metal-image-cache-sync/images", "root path of where to store the images")
92
93
rootCmd.Flags().StringSlice("excludes", []string{"/pull_requests/"}, "url paths to exclude from the sync")
0 commit comments