Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 866 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 866 Bytes

k8s-gitlab-gc

supported annotations for k8s namespace manifest/resource

(default) keys value type value examples
"k8s-gitlab-gc.utopia-planitia.non-existing-tld/disable-automatic-garbage-collection" string bool "true" (every other string will be evaluated as false)
"k8s-gitlab-gc.utopia-planitia.non-existing-tld/ns-ttl-duration" string duration (uses go's ParseDuration function, which means valid time units are 'ns', 'us' (or 'µs'), 'ms', 's', 'm', 'h'.) "30m" or "2h45m"

Note: some name's of keys can be configured (overwritten) via command line flags, e.g. for the ttlAnnotation which has a default key like k8s-gitlab-gc.utopia-planitia.non-existing-tld/ns-ttl-duration but can be overwritten