Add warning message when the default storage class is not set
[it/dep.git] / smo-install / oran_oom / kong / values.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 PV and PVC
19
20 kongpv:
21   enabled: true # Disabled for Minikube
22   persistence:
23     volumeReclaimPolicy: Delete
24     accessMode: ReadWriteOnce
25     size: 2Gi
26     path: "/tmp/kongpv"
27
28 kongpvc:
29   persistence:
30     volumeReclaimPolicy: Delete
31     accessMode: ReadWriteOnce
32     size: 2Gi
33
34 #
35 # Default values for Kong's Helm Chart.
36 #
37
38 kong:
39   # Sections:
40   # - Deployment parameters
41   # - Kong parameters
42   # - Ingress Controller parameters
43   # - Postgres sub-chart parameters
44   # - Miscellaneous parameters
45   # For a detailed example of values.yaml, please see https://github.com/Kong/charts/blob/main/charts/kong/values.yaml
46   # -----------------------------------------------------------------------------
47   # Deployment parameters
48   # -----------------------------------------------------------------------------
49   deployment:
50     kong:
51       enabled: true
52     serviceAccount:
53       create: true
54       automountServiceAccountToken: false
55   # -----------------------------------------------------------------------------
56   # Kong parameters
57   # -----------------------------------------------------------------------------
58   env:
59     database: "postgres"
60   # Specify Kong's Docker image and repository details here
61   image:
62     repository: kong
63     tag: "3.4"
64     pullPolicy: IfNotPresent
65   # Specify Kong admin API service and listener configuration
66   admin:
67     enabled: true
68     type: NodePort
69     http:
70       # Enable plaintext HTTP listen for the admin API
71       enabled: true
72       servicePort: 8001
73       containerPort: 8001
74       nodePort: 32081
75       parameters: []
76     tls:
77       # Enable HTTPS listen for the admin API
78       enabled: false
79       servicePort: 8444
80       containerPort: 8444
81       nodePort: 32444
82       parameters:
83       - http2
84     ingress:
85       enabled: false
86   # Specify Kong proxy service configuration
87   proxy:
88     # Enable creating a Kubernetes service for the proxy
89     enabled: true
90     type: LoadBalancer
91     loadBalancerClass:
92     nameOverride: ""
93     annotations: {}
94     labels:
95       enable-metrics: "true"
96     http:
97       # Enable plaintext HTTP listen for the proxy
98       enabled: true
99       servicePort: 80
100       containerPort: 8000
101       # Set a nodePort which is available if service type is NodePort
102       nodePort: 32080
103       parameters: []
104     tls:
105       # Enable HTTPS listen for the proxy
106       enabled: false
107       servicePort: 443
108       containerPort: 8443
109       parameters:
110       - http2
111   # -----------------------------------------------------------------------------
112   # Ingress Controller parameters
113   # -----------------------------------------------------------------------------
114   ingressController:
115     enabled: true
116     installCRDs: false
117     image:
118       repository: kong/kubernetes-ingress-controller
119       tag: "3.0"
120     env:
121       kong_admin_tls_skip_verify: true
122   # -----------------------------------------------------------------------------
123   # Postgres sub-chart parameters
124   # -----------------------------------------------------------------------------
125   postgresql:
126     enabled: true
127     auth:
128       database: kong
129       username: kong
130       password: kong
131       postgresPassword: kong
132     image:
133       # use postgres < 14 until is https://github.com/Kong/kong/issues/8533 resolved
134       tag: 13.11.0-debian-11-r20
135     service:
136       ports:
137         postgresql: "5432"
138     volumePermissions:
139       enabled: true
140     primary:
141       persistence:
142         existingClaim: data-oran-nonrtric-postgresql-0
143   # -----------------------------------------------------------------------------
144   # Miscellaneous parameters
145   # -----------------------------------------------------------------------------
146   waitImage:
147     enabled: true
148     pullPolicy: IfNotPresent
149   replicaCount: 1