Skip to content

Commit

Permalink
Merge pull request #514 from npawelek/fix_lb_ssl_metadata
Browse files Browse the repository at this point in the history
Include lb_ssl_expiry_check in the API check category
  • Loading branch information
tonytan4ever authored May 31, 2018
2 parents 367cf23 + 1fd0cc6 commit e72d8f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playbooks/templates/common/macros.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% macro get_check_category(check_label) %}
{% if check_label.startswith('lb_api') or check_label.startswith('private_lb_api') %}
{% if check_label.startswith('lb_') or check_label.startswith('private_lb_') %}
api
{% elif check_label.startswith('managed_k8') %}
kubernetes
Expand Down Expand Up @@ -28,4 +28,4 @@ metadata :
rpc_maas_version: "{{ lookup('pipe', 'cd .. && git describe --tags --abbrev=0') }}"
rpc_maas_deploy_date: "{{ ansible_date_time.date }}"
rpc_check_category: "{{ get_check_category(label).strip() }}"
{% endmacro %}
{% endmacro %}
3 changes: 3 additions & 0 deletions releasenotes/notes/fix_lb_ssl_metadata-cad42e09e426daf9.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
fixes:
- Update metadata macro to include lb_ssl_expiry_check and private_lb_ssl_expiry_check in the API category.

0 comments on commit e72d8f7

Please sign in to comment.