mirror of
https://github.com/openshift/community.okd.git
synced 2026-03-26 19:03:14 +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:
23
molecule/default/files/pod-template.yaml
Normal file
23
molecule/default/files/pod-template.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
kind: Template
|
||||
apiVersion: template.openshift.io/v1
|
||||
metadata:
|
||||
name: pod-template
|
||||
objects:
|
||||
- apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: "Pod-${{ NAME }}"
|
||||
spec:
|
||||
containers:
|
||||
- args:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- while true; do echo $(date); sleep 15; done
|
||||
image: python:3.7-alpine
|
||||
imagePullPolicy: Always
|
||||
name: python
|
||||
parameters:
|
||||
- name: NAME
|
||||
description: trailing name of the pod
|
||||
required: true
|
||||
Reference in New Issue
Block a user