mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-06-09 18:16:09 +00:00
* repo migration * Update and rename 411-k8s-loop-flattening-and-continue_on_error.yaml to 49-k8s-loop-flattening-and-continue_on_error.yaml * Update plugins/modules/k8s.py Co-authored-by: Mike Graves <mgraves@redhat.com> * split into multiple lines * linting * Update .gitignore * Update template.yml * merge * Update template.yml * deep copy environment * deepcopy * lint * remove useless comment * multiple definition * tests update * jmespath * Update ci.yml * Update template.yml Co-authored-by: Mike Graves <mgraves@redhat.com>
17 lines
346 B
Django/Jinja
17 lines
346 B
Django/Jinja
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
labels:
|
|
app: "{{ k8s_pod_name_one }}"
|
|
name: '{{ k8s_pod_name_one }}'
|
|
namespace: '{{ k8s_pod_namespace }}'
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- /bin/sh
|
|
- -c
|
|
- while true; do echo $(date); sleep 10; done
|
|
image: python:3.7-alpine
|
|
imagePullPolicy: Always
|
|
name: '{{ k8s_pod_name_one }}'
|