Skip to content

Instantly share code, notes, and snippets.

@k0uki
Created August 8, 2022 05:29
Show Gist options
  • Save k0uki/d957bd19322f2f6c5a2891fff9ed9a98 to your computer and use it in GitHub Desktop.
Save k0uki/d957bd19322f2f6c5a2891fff9ed9a98 to your computer and use it in GitHub Desktop.
List the expiration date of certificates issued by CertManager
kubectl get certificates -o=jsonpath='{range .items[*]}renewal:{.status.renewalTime} notAfter:{.status.notAfter} {.metadata.name}{"\n"}{end}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment