a27bbcf52c3610991f1826d2f08efdffce51ba07
[demo.git] / vnfs / DAaaS / deploy / 00-init / keycloak / values.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 metadata:
17   name: keycloak
18   namespace: keycloak
19 image:
20     repository: jboss/keycloak
21     tag: 6.0.1
22     pullPolicy: IfNotPresent
23 spec:
24   replicas: 1
25   selector:
26     matchLabels:
27       app: keycloak
28   template:
29     metadata:
30       labels:
31         app: keycloak
32     spec:
33       containers:
34       - name: keycloak
35 resources: {}
36 env:
37 - name: KEYCLOAK_USER
38   value: "admin"
39 - name: KEYCLOAK_PASSWORD
40   value: "admin"
41 - name: PROXY_ADDRESS_FORWARDING
42   value: "true"
43 readinessProbe:
44   httpGet:
45     path: /auth/realms/master
46     port: 8080
47   failureThreshold: 10
48   initialDelaySeconds: 30
49 livenessProbe:
50   httpGet:
51     path: /auth/realms/master
52     port: 8080
53   initialDelaySeconds: 60
54 ports:
55 - name: http
56   containerPort: 8080
57 - name: https
58   containerPort: 8443
59
60 Service:
61   metadata:
62     name: keycloak
63     labels:
64       app: keycloak
65   spec:
66     type: LoadBalancer
67     ports:
68     - name: http
69       port: 8080
70     selector:
71       app: keycloak