Skip to content

Commit

Permalink
Fix cleanup certificates. (kubeflow#651)
Browse files Browse the repository at this point in the history
* There is a bug in the SSL certificate cleanup code which is preventing
  certificates from being GC'd.

* Fix kubeflow#636
  • Loading branch information
jlewi authored May 5, 2020
1 parent 88a1b53 commit 5ce11a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py/kubeflow/testing/cleanup_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ def cleanup_certificates(args):
logging.info("%s is an unmanged certificate and will be deleted",
name)
max_age = datetime.timedelta(days=7)
domain = "<unknown domain>"
else:
domain = get_ssl_certificate_domain(d)

Expand Down

0 comments on commit 5ce11a5

Please sign in to comment.