J release changes
[ric-plt/ric-dep.git] / helm / infrastructure / subcharts / kong / ci / __snapshots__ / test4-values.snap
1 [test4-values]
2 SnapShot = """
3 - object:
4     apiVersion: apps/v1
5     kind: Deployment
6     metadata:
7         labels:
8             app.kubernetes.io/component: app
9             app.kubernetes.io/instance: chartsnap
10             app.kubernetes.io/managed-by: Helm
11             app.kubernetes.io/name: kong
12             app.kubernetes.io/version: \"3.6\"
13             helm.sh/chart: kong-2.38.0
14         name: chartsnap-kong
15         namespace: default
16     spec:
17         replicas: 1
18         selector:
19             matchLabels:
20                 app.kubernetes.io/component: app
21                 app.kubernetes.io/instance: chartsnap
22                 app.kubernetes.io/name: kong
23         template:
24             metadata:
25                 annotations:
26                     checksum/dbless.config: 95c0309e6b27de23d64edae3a3602472635243f133fba88af3034ed4d5703d4a
27                     kuma.io/gateway: enabled
28                     kuma.io/service-account-token-volume: chartsnap-kong-token
29                     traffic.sidecar.istio.io/includeInboundPorts: \"\"
30                 labels:
31                     app: chartsnap-kong
32                     app.kubernetes.io/component: app
33                     app.kubernetes.io/instance: chartsnap
34                     app.kubernetes.io/managed-by: Helm
35                     app.kubernetes.io/name: kong
36                     app.kubernetes.io/version: \"3.6\"
37                     helm.sh/chart: kong-2.38.0
38                     version: \"3.6\"
39             spec:
40                 automountServiceAccountToken: false
41                 containers:
42                     - env:
43                         - name: KONG_ADMIN_ACCESS_LOG
44                           value: /dev/stdout
45                         - name: KONG_ADMIN_ERROR_LOG
46                           value: /dev/stderr
47                         - name: KONG_ADMIN_GUI_ACCESS_LOG
48                           value: /dev/stdout
49                         - name: KONG_ADMIN_GUI_ERROR_LOG
50                           value: /dev/stderr
51                         - name: KONG_ADMIN_LISTEN
52                           value: 127.0.0.1:8444 http2 ssl, [::1]:8444 http2 ssl
53                         - name: KONG_ANONYMOUS_REPORTS
54                           value: \"off\"
55                         - name: KONG_CLUSTER_LISTEN
56                           value: \"off\"
57                         - name: KONG_DATABASE
58                           value: \"off\"
59                         - name: KONG_DECLARATIVE_CONFIG
60                           value: /kong_dbless/kong.yml
61                         - name: KONG_LUA_PACKAGE_PATH
62                           value: /opt/?.lua;/opt/?/init.lua;;
63                         - name: KONG_NGINX_WORKER_PROCESSES
64                           value: \"2\"
65                         - name: KONG_PORTAL_API_ACCESS_LOG
66                           value: /dev/stdout
67                         - name: KONG_PORTAL_API_ERROR_LOG
68                           value: /dev/stderr
69                         - name: KONG_PORT_MAPS
70                           value: 80:8000, 443:8443
71                         - name: KONG_PREFIX
72                           value: /kong_prefix/
73                         - name: KONG_PROXY_ACCESS_LOG
74                           value: /dev/stdout
75                         - name: KONG_PROXY_ERROR_LOG
76                           value: /dev/stderr
77                         - name: KONG_PROXY_LISTEN
78                           value: 0.0.0.0:8000, [::]:8000, 0.0.0.0:8443 http2 ssl, [::]:8443 http2 ssl
79                         - name: KONG_PROXY_STREAM_ACCESS_LOG
80                           value: /dev/stdout basic
81                         - name: KONG_PROXY_STREAM_ERROR_LOG
82                           value: /dev/stderr
83                         - name: KONG_ROUTER_FLAVOR
84                           value: traditional
85                         - name: KONG_STATUS_ACCESS_LOG
86                           value: \"off\"
87                         - name: KONG_STATUS_ERROR_LOG
88                           value: /dev/stderr
89                         - name: KONG_STATUS_LISTEN
90                           value: 0.0.0.0:8100, [::]:8100
91                         - name: KONG_STREAM_LISTEN
92                           value: 0.0.0.0:9000, [::]:9000, 0.0.0.0:9001 ssl, [::]:9001 ssl
93                         - name: KONG_NGINX_DAEMON
94                           value: \"off\"
95                       image: kong:3.6
96                       imagePullPolicy: IfNotPresent
97                       lifecycle:
98                         preStop:
99                             exec:
100                                 command:
101                                     - kong
102                                     - quit
103                                     - --wait=15
104                       livenessProbe:
105                         failureThreshold: 3
106                         httpGet:
107                             path: /status
108                             port: status
109                             scheme: HTTP
110                         initialDelaySeconds: 5
111                         periodSeconds: 10
112                         successThreshold: 1
113                         timeoutSeconds: 5
114                       name: proxy
115                       ports:
116                         - containerPort: 8000
117                           name: proxy
118                           protocol: TCP
119                         - containerPort: 8443
120                           name: proxy-tls
121                           protocol: TCP
122                         - containerPort: 9000
123                           name: stream-9000
124                           protocol: TCP
125                         - containerPort: 9001
126                           name: stream-9001
127                           protocol: TCP
128                         - containerPort: 8100
129                           name: status
130                           protocol: TCP
131                       readinessProbe:
132                         failureThreshold: 3
133                         httpGet:
134                             path: /status/ready
135                             port: status
136                             scheme: HTTP
137                         initialDelaySeconds: 5
138                         periodSeconds: 10
139                         successThreshold: 1
140                         timeoutSeconds: 5
141                       resources: {}
142                       securityContext:
143                         allowPrivilegeEscalation: false
144                         capabilities:
145                             drop:
146                                 - ALL
147                         readOnlyRootFilesystem: true
148                         runAsNonRoot: true
149                         runAsUser: 1000
150                         seccompProfile:
151                             type: RuntimeDefault
152                       volumeMounts:
153                         - mountPath: /kong_prefix/
154                           name: chartsnap-kong-prefix-dir
155                         - mountPath: /tmp
156                           name: chartsnap-kong-tmp
157                         - mountPath: /kong_dbless/
158                           name: kong-custom-dbless-config-volume
159                 initContainers:
160                     - command:
161                         - rm
162                         - -vrf
163                         - $KONG_PREFIX/pids
164                       env:
165                         - name: KONG_ADMIN_ACCESS_LOG
166                           value: /dev/stdout
167                         - name: KONG_ADMIN_ERROR_LOG
168                           value: /dev/stderr
169                         - name: KONG_ADMIN_GUI_ACCESS_LOG
170                           value: /dev/stdout
171                         - name: KONG_ADMIN_GUI_ERROR_LOG
172                           value: /dev/stderr
173                         - name: KONG_ADMIN_LISTEN
174                           value: 127.0.0.1:8444 http2 ssl, [::1]:8444 http2 ssl
175                         - name: KONG_ANONYMOUS_REPORTS
176                           value: \"off\"
177                         - name: KONG_CLUSTER_LISTEN
178                           value: \"off\"
179                         - name: KONG_DATABASE
180                           value: \"off\"
181                         - name: KONG_DECLARATIVE_CONFIG
182                           value: /kong_dbless/kong.yml
183                         - name: KONG_LUA_PACKAGE_PATH
184                           value: /opt/?.lua;/opt/?/init.lua;;
185                         - name: KONG_NGINX_WORKER_PROCESSES
186                           value: \"2\"
187                         - name: KONG_PORTAL_API_ACCESS_LOG
188                           value: /dev/stdout
189                         - name: KONG_PORTAL_API_ERROR_LOG
190                           value: /dev/stderr
191                         - name: KONG_PORT_MAPS
192                           value: 80:8000, 443:8443
193                         - name: KONG_PREFIX
194                           value: /kong_prefix/
195                         - name: KONG_PROXY_ACCESS_LOG
196                           value: /dev/stdout
197                         - name: KONG_PROXY_ERROR_LOG
198                           value: /dev/stderr
199                         - name: KONG_PROXY_LISTEN
200                           value: 0.0.0.0:8000, [::]:8000, 0.0.0.0:8443 http2 ssl, [::]:8443 http2 ssl
201                         - name: KONG_PROXY_STREAM_ACCESS_LOG
202                           value: /dev/stdout basic
203                         - name: KONG_PROXY_STREAM_ERROR_LOG
204                           value: /dev/stderr
205                         - name: KONG_ROUTER_FLAVOR
206                           value: traditional
207                         - name: KONG_STATUS_ACCESS_LOG
208                           value: \"off\"
209                         - name: KONG_STATUS_ERROR_LOG
210                           value: /dev/stderr
211                         - name: KONG_STATUS_LISTEN
212                           value: 0.0.0.0:8100, [::]:8100
213                         - name: KONG_STREAM_LISTEN
214                           value: 0.0.0.0:9000, [::]:9000, 0.0.0.0:9001 ssl, [::]:9001 ssl
215                       image: kong:3.6
216                       imagePullPolicy: IfNotPresent
217                       name: clear-stale-pid
218                       resources: {}
219                       securityContext:
220                         allowPrivilegeEscalation: false
221                         capabilities:
222                             drop:
223                                 - ALL
224                         readOnlyRootFilesystem: true
225                         runAsNonRoot: true
226                         runAsUser: 1000
227                         seccompProfile:
228                             type: RuntimeDefault
229                       volumeMounts:
230                         - mountPath: /kong_prefix/
231                           name: chartsnap-kong-prefix-dir
232                         - mountPath: /tmp
233                           name: chartsnap-kong-tmp
234                         - mountPath: /kong_dbless/
235                           name: kong-custom-dbless-config-volume
236                 securityContext: {}
237                 serviceAccountName: chartsnap-kong
238                 terminationGracePeriodSeconds: 30
239                 volumes:
240                     - emptyDir:
241                         sizeLimit: 256Mi
242                       name: chartsnap-kong-prefix-dir
243                     - emptyDir:
244                         sizeLimit: 1Gi
245                       name: chartsnap-kong-tmp
246                     - name: chartsnap-kong-token
247                       projected:
248                         sources:
249                             - serviceAccountToken:
250                                 expirationSeconds: 3607
251                                 path: token
252                             - configMap:
253                                 items:
254                                     - key: ca.crt
255                                       path: ca.crt
256                                 name: kube-root-ca.crt
257                             - downwardAPI:
258                                 items:
259                                     - fieldRef:
260                                         apiVersion: v1
261                                         fieldPath: metadata.namespace
262                                       path: namespace
263                     - configMap:
264                         name: chartsnap-kong-custom-dbless-config
265                       name: kong-custom-dbless-config-volume
266 - object:
267     apiVersion: networking.k8s.io/v1
268     kind: Ingress
269     metadata:
270         labels:
271             app.kubernetes.io/instance: chartsnap
272             app.kubernetes.io/managed-by: Helm
273             app.kubernetes.io/name: kong
274             app.kubernetes.io/version: \"3.6\"
275             helm.sh/chart: kong-2.38.0
276         name: chartsnap-kong-proxy
277         namespace: default
278     spec:
279         rules:
280             - http:
281                 paths:
282                     - backend:
283                         service:
284                             name: chartsnap-kong-proxy
285                             port:
286                                 number: 443
287                       path: /
288                       pathType: ImplementationSpecific
289 - object:
290     apiVersion: v1
291     data:
292         kong.yml: |
293             _format_version: \"1.1\"
294             services:
295               - name: example.com
296                 url: http://example.com
297                 routes:
298                 - name: example
299                   paths:
300                   - \"/example\"
301     kind: ConfigMap
302     metadata:
303         labels:
304             app.kubernetes.io/instance: chartsnap
305             app.kubernetes.io/managed-by: Helm
306             app.kubernetes.io/name: kong
307             app.kubernetes.io/version: \"3.6\"
308             helm.sh/chart: kong-2.38.0
309         name: chartsnap-kong-custom-dbless-config
310         namespace: default
311 - object:
312     apiVersion: v1
313     kind: Service
314     metadata:
315         labels:
316             app.kubernetes.io/instance: chartsnap
317             app.kubernetes.io/managed-by: Helm
318             app.kubernetes.io/name: kong
319             app.kubernetes.io/version: \"3.6\"
320             helm.sh/chart: kong-2.38.0
321         name: chartsnap-kong-manager
322         namespace: default
323     spec:
324         ports:
325             - name: kong-manager
326               port: 8002
327               protocol: TCP
328               targetPort: 8002
329             - name: kong-manager-tls
330               port: 8445
331               protocol: TCP
332               targetPort: 8445
333         selector:
334             app.kubernetes.io/component: app
335             app.kubernetes.io/instance: chartsnap
336             app.kubernetes.io/name: kong
337         type: NodePort
338 - object:
339     apiVersion: v1
340     kind: Service
341     metadata:
342         labels:
343             app.kubernetes.io/instance: chartsnap
344             app.kubernetes.io/managed-by: Helm
345             app.kubernetes.io/name: kong
346             app.kubernetes.io/version: \"3.6\"
347             enable-metrics: \"true\"
348             helm.sh/chart: kong-2.38.0
349         name: chartsnap-kong-proxy
350         namespace: default
351     spec:
352         ports:
353             - name: kong-proxy
354               port: 80
355               protocol: TCP
356               targetPort: 8000
357             - name: kong-proxy-tls
358               port: 443
359               protocol: TCP
360               targetPort: 8443
361             - name: stream-9000
362               port: 9000
363               protocol: TCP
364               targetPort: 9000
365             - name: stream-9001
366               port: 9001
367               protocol: TCP
368               targetPort: 9001
369         selector:
370             app.kubernetes.io/component: app
371             app.kubernetes.io/instance: chartsnap
372             app.kubernetes.io/name: kong
373         type: LoadBalancer
374 - object:
375     apiVersion: v1
376     kind: ServiceAccount
377     metadata:
378         labels:
379             app.kubernetes.io/instance: chartsnap
380             app.kubernetes.io/managed-by: Helm
381             app.kubernetes.io/name: kong
382             app.kubernetes.io/version: \"3.6\"
383             helm.sh/chart: kong-2.38.0
384         name: chartsnap-kong
385         namespace: default
386 """