USHIFT-5572: Add HTTP01 ACME test for cert-manager#5320
Conversation
|
@eslutsky could you please help review ? thanks !! |
e9b49cb to
52f744f
Compare
| ${subject_alt_names_line}= Get Lines Containing String ${config_content} subjectAltNames: | ||
| ${first_line}= Get Line ${subject_alt_names_line} 0 | ||
| ${alt_names_content}= Get Regexp Matches ${first_line} \\[(.+?)\\] 1 | ||
| VAR ${alt_names_list}= ${alt_names_content}[0] | ||
| # Get the first DNS name (before the first comma) | ||
| ${first_dns_name}= Split String ${alt_names_list} , 1 | ||
| ${dns_name}= Strip String ${first_dns_name}[0] | ||
| Should Not Be Empty ${dns_name} msg=Failed to retrieve DNS name from MicroShift config | ||
| RETURN ${dns_name} |
There was a problem hiding this comment.
| ${subject_alt_names_line}= Get Lines Containing String ${config_content} subjectAltNames: | |
| ${first_line}= Get Line ${subject_alt_names_line} 0 | |
| ${alt_names_content}= Get Regexp Matches ${first_line} \\[(.+?)\\] 1 | |
| VAR ${alt_names_list}= ${alt_names_content}[0] | |
| # Get the first DNS name (before the first comma) | |
| ${first_dns_name}= Split String ${alt_names_list} , 1 | |
| ${dns_name}= Strip String ${first_dns_name}[0] | |
| Should Not Be Empty ${dns_name} msg=Failed to retrieve DNS name from MicroShift config | |
| RETURN ${dns_name} | |
| ${config_yaml}= Evaluate yaml.safe_load('''${config_content}''') modules=yaml | |
| ${first_dns_name}= Get From List ${config_yaml['apiServer']['subjectAltNames']} 0 | |
| Should Not Be Empty ${first_dns_name} msg=Failed to retrieve DNS name from MicroShift config | |
| RETURN ${first_dns_name} |
you can evalulate the config as yaml file and get the first item from subjectAltNames .
e017908 to
f686a50
Compare
f686a50 to
bfeef46
Compare
|
/test security |
|
/test e2e-aws-tests-arm |
|
/test e2e-aws-tests-bootc |
|
/test e2e-aws-tests-bootc-arm |
345336c to
1172447
Compare
1172447 to
4f7de9b
Compare
4f7de9b to
88ab792
Compare
90f2e06 to
5bff3a4
Compare
|
/test e2e-aws-tests-bootc |
2 similar comments
|
/test e2e-aws-tests-bootc |
|
/test e2e-aws-tests-bootc |
|
/test e2e-aws-tests-bootc-arm |
|
/test e2e-aws-tests-bootc |
5bff3a4 to
05a632f
Compare
|
@eslutsky addressed all your comments, can you please help review again ? thanks !! |
|
/test e2e-aws-tests-bootc-arm |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eslutsky, kasturinarra The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/verified by ci |
|
@eslutsky: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@kasturinarra: This pull request references USHIFT-5572 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@kasturinarra: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/cherry-pick release-4.20 |
|
@kasturinarra: new pull request created: #5540 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
🤖 Generated with Claude Code
Which issue(s) this PR addresses: Creating a local acme server to t
Closes #