Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check whether LE certificates are APPROVED in GKE-LETSENCRYPT-CI test #2635

Open
thehejik opened this issue Oct 9, 2023 · 0 comments
Open
Assignees
Labels
area/QA Excluded from release notes. Quality assurance / Regression testing status/devops admin Excluded from release notes. Issue is about our dev environment, not the code itself

Comments

@thehejik
Copy link
Contributor

thehejik commented Oct 9, 2023

We should at least add parsing of output from this command:

$ k get certificaterequests.cert-manager.io -A
NAMESPACE      NAME                                                                APPROVED   DENIED   READY   ISSUER                REQUESTOR                                         AGE
cert-manager   epinio-ca-1                                                         True                True    selfsigned-issuer     system:serviceaccount:cert-manager:cert-manager   23m
epinio         dex-tls-1                                                           True                True    letsencrypt-staging   system:serviceaccount:cert-manager:cert-manager   23m
epinio         epinio-1                                                            True                True    letsencrypt-staging   system:serviceaccount:cert-manager:cert-manager   23m
epinio         epinio-registry-1                                                   True                True    epinio-ca             system:serviceaccount:cert-manager:cert-manager   23m
epinio         minio-cert-1                                                        True                True    epinio-ca             system:serviceaccount:cert-manager:cert-manager   23m
workspace      rsample-sampleid23421--ceac60559b0996dd420c618e84e0a1bdc48874d6-1   True                True    letsencrypt-staging   system:serviceaccount:cert-manager:cert-manager   18m

And check if the correct ISSUER was used and if the CSR is APPROVED for epinio, dex and workload resources.
It can be extended in Scenario2 file https://github.com/epinio/epinio/blob/main/acceptance/install/scenario2_test.go#L199

@thehejik thehejik added status/devops admin Excluded from release notes. Issue is about our dev environment, not the code itself area/QA Excluded from release notes. Quality assurance / Regression testing labels Oct 9, 2023
@thehejik thehejik added this to the Outside release-cycle milestone Oct 9, 2023
@thehejik thehejik self-assigned this Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/QA Excluded from release notes. Quality assurance / Regression testing status/devops admin Excluded from release notes. Issue is about our dev environment, not the code itself
Projects
Archived in project
Development

No branches or pull requests

1 participant