20f634230d
This change adds a new input toggle to enable using a cert-manager service. The operator currently only setup a selfSigned CA. Change-Id: Ifc63768a87f9508c66e4414d5286bae2969985e7
21 lines
542 B
YAML
21 lines
542 B
YAML
- hosts: all
|
|
roles:
|
|
- collect-container-logs
|
|
post_tasks:
|
|
- name: Describe resources
|
|
command: "bash -c 'kubectl describe {{ item }} > ~/zuul-output/logs/describe-{{ item }}.txt'"
|
|
ignore_errors: yes
|
|
loop:
|
|
- issuer
|
|
- certificate
|
|
- pods
|
|
- deployments
|
|
- statefulsets
|
|
- services
|
|
- secrets
|
|
- configmaps
|
|
|
|
- name: Delete empty container logs
|
|
command: "find {{ ansible_user_dir }}/zuul-output/logs/ -type f -empty -delete"
|
|
ignore_errors: yes
|