-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #421 from redhatci/certsuite-new-flags
Fix for the renaming of certsuite config file and some flags
- Loading branch information
Showing
3 changed files
with
95 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
roles/k8s_best_practices_certsuite/templates/certsuite_config.yml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
targetNameSpaces: | ||
{% for item in kbpc_test_config %} | ||
{% if item.namespace is defined and item.namespace|length %} | ||
- name: {{ item.namespace }} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
podsUnderTestLabels: | ||
{% for item in kbpc_test_config %} | ||
{% if item.targetpodlabels is defined and item.targetpodlabels is iterable %} | ||
{% for label in item.targetpodlabels %} | ||
{% if label|length %} | ||
- "{{ label|regex_search('.+?=')|regex_replace('=', '') }}: {{ label|regex_search('=.*')|regex_replace('=', '') }}" | ||
{% endif %} | ||
{% endfor %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
operatorsUnderTestLabels: | ||
{% for item in kbpc_test_config %} | ||
{% if item.targetoperatorlabels is defined and item.targetoperatorlabels is iterable %} | ||
{% for label in item.targetoperatorlabels %} | ||
{% if label|length %} | ||
- "{{ label|regex_search('.+?=')|regex_replace('=', '') }}: {{ label|regex_search('=.*')|regex_replace('=', '') }}" | ||
{% endif %} | ||
{% endfor %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
targetCrdFilters: | ||
{% for item in kbpc_test_config %} | ||
{% if item.target_crds is defined and item.target_crds is iterable %} | ||
{% for crd in item.target_crds %} | ||
- nameSuffix: {{ crd.nameSuffix }} | ||
scalable: {{ crd.scalable }} | ||
{% endfor %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
acceptedKernelTaints: | ||
{% for item in kbpc_accepted_kernel_taints %} | ||
{% if item.module is defined and item.module|length %} | ||
- module: {{ item.module }} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
servicesignorelist: | ||
{% for item in kbpc_services_ignore_list %} | ||
- {{ item }} | ||
{% endfor %} | ||
|
||
## fields below are not currently used, leaving placeholder in case they were needed in the future | ||
#managedDeployments: | ||
|
||
#managedStatefulsets: | ||
|
||
#skipScalingTestDeployments: | ||
|
||
#skipScalingTestStatefulSetNames: | ||
|
||
#skipHelmChartList: | ||
|
||
#validProtocolNames: | ||
|
||
#collectorAppEndPoint: "" | ||
|
||
#executedBy: "" | ||
|
||
#partnerName: "" | ||
|
||
#collectorAppPassword: "" | ||
... |