NONRTRIC-979: ServiceManager - deployment and undeployment
[it/dep.git] / nonrtric / helm / kongstorage / kongvalues.yaml
1
2 #  ============LICENSE_START===============================================
3 #  Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
4 #  ========================================================================
5 #  Licensed under the Apache License, Version 2.0 (the "License");
6 #  you may not use this file except in compliance with the License.
7 #  You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 #  Unless required by applicable law or agreed to in writing, software
12 #  distributed under the License is distributed on an "AS IS" BASIS,
13 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 #  See the License for the specific language governing permissions and
15 #  limitations under the License.
16 #  ============LICENSE_END=================================================
17 #
18 # Default values for Kong's Helm Chart.
19 #
20 # Sections:
21 # - Deployment parameters
22 # - Kong parameters
23 # - Ingress Controller parameters
24 # - Postgres sub-chart parameters
25 # - Miscellaneous parameters
26 # For a detailed example of values.yaml, please see https://github.com/Kong/charts/blob/main/charts/kong/values.yaml
27 # -----------------------------------------------------------------------------
28 # Deployment parameters
29 # -----------------------------------------------------------------------------
30 deployment:
31   kong:
32     enabled: true
33   serviceAccount:
34     create: true
35     automountServiceAccountToken: false
36 # -----------------------------------------------------------------------------
37 # Kong parameters
38 # -----------------------------------------------------------------------------
39 env:
40   database: "postgres"
41 # Specify Kong's Docker image and repository details here
42 image:
43   repository: kong
44   tag: "3.4"
45   pullPolicy: IfNotPresent
46 # Specify Kong admin API service and listener configuration
47 admin:
48   enabled: true
49   type: NodePort
50   http:
51     # Enable plaintext HTTP listen for the admin API
52     enabled: true
53     servicePort: 8001
54     containerPort: 8001
55     nodePort: 32081
56     parameters: []
57   tls:
58     # Enable HTTPS listen for the admin API
59     enabled: false
60     servicePort: 8444
61     containerPort: 8444
62     nodePort: 32444
63     parameters:
64     - http2
65   ingress:
66     enabled: false
67 # Specify Kong proxy service configuration
68 proxy:
69   # Enable creating a Kubernetes service for the proxy
70   enabled: true
71   type: LoadBalancer
72   loadBalancerClass:
73   nameOverride: ""
74   annotations: {}
75   labels:
76     enable-metrics: "true"
77   http:
78     # Enable plaintext HTTP listen for the proxy
79     enabled: true
80     servicePort: 80
81     containerPort: 8000
82     # Set a nodePort which is available if service type is NodePort
83     nodePort: 32080
84     parameters: []
85   tls:
86     # Enable HTTPS listen for the proxy
87     enabled: false
88     servicePort: 443
89     containerPort: 8443
90     parameters:
91     - http2
92 # -----------------------------------------------------------------------------
93 # Ingress Controller parameters
94 # -----------------------------------------------------------------------------
95 ingressController:
96   enabled: true
97   installCRDs: false
98   image:
99     repository: kong/kubernetes-ingress-controller
100     tag: "3.0"
101   env:
102     kong_admin_tls_skip_verify: true
103 # -----------------------------------------------------------------------------
104 # Postgres sub-chart parameters
105 # -----------------------------------------------------------------------------
106 postgresql:
107   enabled: true
108   auth:
109     username: kong
110     database: kong
111     password: kong
112     postgresPassword: kong
113   image:
114     # use postgres < 14 until is https://github.com/Kong/kong/issues/8533 resolved
115     tag: 13.11.0-debian-11-r20
116   service:
117     ports:
118       postgresql: "5432"
119   volumePermissions:
120     enabled: true
121   primary:
122     persistence:
123       existingClaim: kongpvc
124 # -----------------------------------------------------------------------------
125 # Miscellaneous parameters
126 # -----------------------------------------------------------------------------
127 waitImage:
128   enabled: true
129   pullPolicy: IfNotPresent
130 replicaCount: 1