blob: 9e2c88218eeaed747f3ff7e2ccf960ef2b32ba11 [file] [log] [blame]
Jonathan Hart711f9a02018-08-17 14:34:06 -07001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: extensions/v1beta1
16
17kind: Deployment
18metadata:
19 name: sadis-server
20 labels:
21 app: sadis-server
22spec:
23 replicas: 1
24 template:
25 metadata:
26 labels:
27 app: sadis-server
28 release: {{ .Release.Name }}
29 spec:
30 containers:
31 - name: sadis-server
Matteo Scandolod187d382018-08-29 16:55:34 -070032 image: {{ .Values.image }}
Jonathan Hart711f9a02018-08-17 14:34:06 -070033 imagePullPolicy: {{ .Values.imagePullPolicy }}
34 ports:
35 - containerPort: 8000
36 port: 8000
37 protocol: TCP
38 env:
39 - name: SADISSERVER_PORT
40 value: "8000"
41 - name: SADISSERVER_USERNAME
42 value: "{{ .Values.xosAdminUser }}"
43 - name: SADISSERVER_PASSWORD
44 value: "{{ .Values.xosAdminPassword }}"
45 - name: SADISSERVER_XOS
46 value: xos-chameleon:9101