File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1173,6 +1173,17 @@ sysctl_settings: ""
1173
1173
# kube-janitor configuration
1174
1174
{{if eq .Cluster.Environment "production"}}
1175
1175
# This makes kube-janitor opt-in for production clusters
1176
+
1177
+ # IMPORTANT:
1178
+ # Please note that before enabling kube-janitor for a production cluster, you
1179
+ # must ensure that no existing resources should be annotated with a TTL.
1180
+ # This can happen in the case where a test deployment is deployed to production
1181
+ # as is. Currently, it's a no-op since kube-janitor doesn't run in production.
1182
+ #
1183
+ # This is needed until we can implement namespace prefix matching to reduce
1184
+ # the scope of kube-janitor to a set of namespace names that aren't known
1185
+ # at the time of enaling kube-janitor. Once the feature is in place, it would
1186
+ # be easier to limit the scope.
1176
1187
kube_janitor_enabled : " false"
1177
1188
{{else}}
1178
1189
kube_janitor_enabled : " true"
You can’t perform that action at this time.
0 commit comments