Skip to content

Commit

Permalink
Merge pull request #104 from kanekoh/certs_0713
Browse files Browse the repository at this point in the history
Fix #103
  • Loading branch information
gmeghnag authored Jul 14, 2023
2 parents 9688779 + 77e9ac8 commit e67b573
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ openshift-kubernetes.rules AlertmanagerReceiversNotConfigured firing 5s
```
$ omc certs inspect
NAME KIND AGE CERTTYPE SUBJECT NOTBEFORE NOTAFTER
kube-root-ca.crt ConfigMap 47h ca-bundle CN=kube-apiserver-lb-signer,OU=openshift 2033-04-30 08:59:22 +0000 UTC 2023-05-03 08:59:22 +0000 UTC
kube-root-ca.crt ConfigMap 47h ca-bundle CN=kube-apiserver-localhost-signer,OU=openshift 2033-04-30 08:59:22 +0000 UTC 2023-05-03 08:59:22 +0000 UTC
kube-root-ca.crt ConfigMap 47h ca-bundle CN=*.apps.example.com 2025-05-02 09:20:58 +0000 UTC 2023-05-03 09:20:57 +0000 UTC
kube-root-ca.crt ConfigMap 47h ca-bundle CN=ingress-operator@1683105658 2025-05-02 09:20:58 +0000 UTC 2023-05-03 09:20:57 +0000 UTC
openshift-service-ca.crt ConfigMap 47h ca-bundle CN=openshift-service-serving-signer@1683105630 2025-07-01 09:20:30 +0000 UTC 2023-05-03 09:20:29 +0000 UTC
builder-token-9f5cx Secret 47h ca-bundle CN=kube-apiserver-lb-signer,OU=openshift 2033-04-30 08:59:22 +0000 UTC 2023-05-03 08:59:22 +0000 UTC
builder-token-9f5cx Secret 47h ca-bundle CN=*.apps.example.com 2025-05-02 09:20:58 +0000 UTC 2023-05-03 09:20:57 +0000 UTC
builder-token-9f5cx Secret 47h ca-bundle CN=ingress-operator@1683105658 2025-05-02 09:20:58 +0000 UTC 2023-05-03 09:20:57 +0000 UTC
kube-root-ca.crt ConfigMap 47h ca-bundle CN=kube-apiserver-lb-signer,OU=openshift 2023-05-03 08:59:22 +0000 UTC  2033-04-30 08:59:22 +0000 UTC
kube-root-ca.crt ConfigMap 47h ca-bundle CN=kube-apiserver-localhost-signer,OU=openshift 2023-05-03 08:59:22 +0000 UTC  2033-04-30 08:59:22 +0000 UTC
kube-root-ca.crt ConfigMap 47h ca-bundle CN=*.apps.example.com 2023-05-03 09:20:57 +0000 UTC  2025-05-02 09:20:58 +0000 UTC
kube-root-ca.crt ConfigMap 47h ca-bundle CN=ingress-operator@1683105658 2023-05-03 09:20:57 +0000 UTC  2025-05-02 09:20:58 +0000 UTC
openshift-service-ca.crt ConfigMap 47h ca-bundle CN=openshift-service-serving-signer@1683105630 2023-05-03 09:20:29 +0000 UTC  2025-07-01 09:20:30 +0000 UTC
builder-token-9f5cx Secret 47h ca-bundle CN=kube-apiserver-lb-signer,OU=openshift 2023-05-03 08:59:22 +0000 UTC  2033-04-30 08:59:22 +0000 UTC
builder-token-9f5cx Secret 47h ca-bundle CN=*.apps.example.com 2023-05-03 09:20:57 +0000 UTC  2025-05-02 09:20:58 +0000 UTC
builder-token-9f5cx Secret 47h ca-bundle CN=ingress-operator@1683105658 2023-05-03 09:20:57 +0000 UTC  2025-05-02 09:20:58 +0000 UTC
<...>
```
2 changes: 1 addition & 1 deletion cmd/certs/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ func inspectResources(resourceTypes []string) {
age,
curr.CertType,
curr.subject(),
curr.ValidTill(),
curr.ValidFrom(),
curr.ValidTill(),
strings.Join(curr.ValidFor(), ","),
curr.issuer(),
strings.Join(curr.Subject.Organization, ","),
Expand Down

0 comments on commit e67b573

Please sign in to comment.