J release changes
[ric-plt/ric-dep.git] / helm / infrastructure / subcharts / kong / ci / test2-values.yaml
1 # This tests the following unrelated aspects of Ingress Controller
2 # - ingressController deploys with a database
3 # - stream listens work
4 # - a mixture of controller, Kong, and shared volumes successfully mount
5 # - watchNamespaces is set
6 # - the admission webhook is enabled; has the timeout explicitly set
7 ingressController:
8   enabled: true
9   admissionWebhook:
10     enabled: true
11     timeoutSeconds: 5
12   env:
13     anonymous_reports: "false"
14   envFrom:
15   - configMapRef:
16       name: env-config
17   customEnv:
18     TZ: "Europe/Berlin"
19   watchNamespaces:
20   - default
21 postgresql:
22   enabled: true
23   auth:
24     username: kong
25     password: kong
26 env:
27   anonymous_reports: "off"
28   database: "postgres"
29 envFrom:
30 - configMapRef:
31     name: env-config
32 # - ingress resources are created without hosts
33 admin:
34   ingress:
35     enabled: true
36     hosts: []
37     path: /
38 proxy:
39   ingress:
40     enabled: true
41     hostname: proxy.kong.example
42     annotations: {}
43     path: /
44 # - add stream listens
45   stream:
46   - containerPort: 9000
47     servicePort: 9000
48     parameters: []
49   - containerPort: 9001
50     servicePort: 9001
51     parameters:
52     - ssl
53
54 # update strategy
55 updateStrategy:
56   type: "RollingUpdate"
57   rollingUpdate:
58     maxSurge: 1
59     maxUnavailable: 0
60 deployment:
61   initContainers:
62     - name: "bash"
63       image: "bash:latest"
64       command: ["/bin/sh", "-c", "true"]
65       resources:
66         limits:
67           cpu: "100m"
68           memory: "64Mi"
69         requests:
70           cpu: "100m"
71           memory: "64Mi"
72
73 extraObjects:
74 - apiVersion: v1
75   kind: ConfigMap
76   metadata:
77     name: env-config
78   data:
79     test-env: test