Fix spacing issues in YAML files in vnfs
[demo.git] / vnfs / DAaaS / deploy / 00-init / keycloak / templates / Deployment.yaml
1 {{/*
2 # Copyright 2019 Intel Corporation, Inc
3 #
4  # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 */}}
16 apiVersion: apps/v1
17 kind: Deployment
18 metadata:
19   name: {{ .Values.metadata.name }}
20   namespace: {{ .Values.metadata.namespace }}
21 spec:
22   replicas: {{ .Values.spec.replicas }}
23   selector:
24     matchLabels:
25       app: {{ .Values.spec.selector.matchLabels.app }}
26   template:
27     metadata:
28       labels:
29         app: {{ .Values.spec.template.metadata.labels.app }}
30     spec:
31       containers:
32       - name: keycloak
33         image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
34         env:
35 {{ toYaml .Values.env | indent 8 }}
36         ports:
37 {{ toYaml .Values.ports | indent 8 }}
38         readinessProbe:
39 {{ toYaml .Values.readinessProbe | indent 10 }}
40         livenessProbe:
41 {{ toYaml .Values.livenessProbe | indent 10 }}