Debian Codegraph @

ansible_collections/community/okd/molecule/default/vars/main.yml

raw
1 ---
2 k8s_pod_annotations: {}
3
4 k8s_pod_metadata:
5 labels:
6 app: '{{ k8s_pod_name }}'
7 annotations: '{{ k8s_pod_annotations }}'
8
9 k8s_pod_spec:
10 serviceAccount: "{{ k8s_pod_service_account }}"
11 containers:
12 - image: "{{ k8s_pod_image }}"
13 imagePullPolicy: Always
14 name: "{{ k8s_pod_name }}"
15 command: "{{ k8s_pod_command }}"
16 readinessProbe:
17 initialDelaySeconds: 15
18 exec:
19 command:
20 - /bin/true
21 resources: "{{ k8s_pod_resources }}"
22 ports: "{{ k8s_pod_ports }}"
23 env: "{{ k8s_pod_env }}"
24
25 k8s_pod_service_account: default
26
27 k8s_pod_resources:
28 limits:
29 cpu: "100m"
30 memory: "100Mi"
31
32 k8s_pod_command: []
33
34 k8s_pod_ports: []
35
36 k8s_pod_env: []
37
38 k8s_pod_template:
39 metadata: "{{ k8s_pod_metadata }}"
40 spec: "{{ k8s_pod_spec }}"
41
42 k8s_deployment_spec:
43 template: '{{ k8s_pod_template }}'
44 selector:
45 matchLabels:
46 app: '{{ k8s_pod_name }}'
47 replicas: 1
48
49 k8s_deployment_template:
50 apiVersion: apps/v1
51 kind: Deployment
52 spec: '{{ k8s_deployment_spec }}'
53
54 okd_dc_triggers:
55 - type: ConfigChange
56 - type: ImageChange
57 imageChangeParams:
58 automatic: true
59 containerNames:
60 - '{{ k8s_pod_name }}'
61 from:
62 kind: ImageStreamTag
63 name: '{{ image_name }}:{{ image_tag }}'
64
65 okd_dc_spec:
66 template: '{{ k8s_pod_template }}'
67 selector:
68 matchLabels:
69 app: "{{ k8s_pod_name }}"
70 replicas: 1
71 strategy:
72 type: Recreate
73
74 okd_dc_template:
75 apiVersion: apps/v1
76 kind: Deployment
77 spec: '{{ okd_dc_spec }}'
78
79 okd_imagestream_template:
80 apiVersion: image.openshift.io/v1
81 kind: ImageStream
82 metadata:
83 name: '{{ image_name }}'
84 spec:
85 lookupPolicy:
86 local: true
87 tags:
88 - annotations: null
89 from:
90 kind: DockerImage
91 name: '{{ image }}'
92 name: '{{ image_tag }}'
93 referencePolicy:
94 type: Source
95
96 image_tag: latest