summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_helm_chart/templates/deployment.yaml
blob: 74fc62977091c3cf29bb60b6d8338f8815813a34 (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
25
26
apiVersion: apps/v1
kind: Deployment
metadata:
  name: rapid-testing
  namespace: {{ .Values.namespace }}
  labels:
    app: rapid-testing
spec:
  replicas: 1
  selector:
    matchLabels:
      app: rapid-testing
  template:
    metadata:
      labels:
        app: rapid-testing
    spec:
      serviceAccountName: rapid-testing-sa
      containers:
      - name: rapid-mgmt
        image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
        imagePullPolicy: {{ .Values.image.pullPolicy }}
      {{- with .Values.nodeSelector }}
      nodeSelector:
        {{- toYaml . | nindent 8 }}
      {{- end }}