mirror of
https://github.com/openshift/community.okd.git
synced 2026-05-08 06:02:36 +00:00
openshift_process fails with template does not contains message (#87)
* fix unexpected value * changelog * Update pod-template.yaml * Update openshift_process.py * Update openshift_process.py * Update molecule/default/tasks/openshift_process.yml Co-authored-by: Fabian von Feilitzsch <fabian@fabianism.us> * Update pod-template.yaml Co-authored-by: Fabian von Feilitzsch <fabian@fabianism.us>
This commit is contained in:
@@ -162,3 +162,22 @@
|
||||
|
||||
- assert:
|
||||
that: result is not changed
|
||||
|
||||
# Processing template without message
|
||||
- name: create template with file {{ files_dir }}/pod-template.yaml
|
||||
kubernetes.core.k8s:
|
||||
namespace: process-test
|
||||
src: "{{ files_dir }}/pod-template.yaml"
|
||||
state: present
|
||||
|
||||
- name: Process pod template
|
||||
community.okd.openshift_process:
|
||||
name: pod-template
|
||||
namespace: process-test
|
||||
state: rendered
|
||||
parameters:
|
||||
NAME: ansible
|
||||
register: rendered_template
|
||||
|
||||
- assert:
|
||||
that: rendered_template.message == ""
|
||||
|
||||
Reference in New Issue
Block a user