blob: 01b3f45d9abe60e362b84a0a706cb52dd3bfa626 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{{/* Set up subresource name */}}
{{- $spec := .Values.a1pesimulator -}}
{{- $name := $spec.name -}}
{{- $input := dict "dot" . "name" $name "spec" $spec }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "handover-simulator.utils.name" (list .Release.Name $name) }}
labels: {{ include "handover-simulator.utils.labels" $input | nindent 4 }}
spec:
replicas: {{ $spec.replicaCount }}
selector:
matchLabels: {{ include "handover-simulator.utils.labels" $input | nindent 6 }}
template:
metadata:
labels: {{ include "handover-simulator.utils.labels" $input | nindent 8 }}
spec:
containers: {{ include "handover-simulator.deployment.containers" $input | nindent 8 }}
volumes:
- name: config
configMap:
name: {{ include "handover-simulator.utils.name" (list .Release.Name $name "app-cm") }}
- name: pmfiles
emptyDir: {}
|