J release changes
[ric-plt/ric-dep.git] / helm / infrastructure / subcharts / kong / ci / __snapshots__ / test3-values.snap
1 [test3-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: \"off\"
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: 8100
123                           name: status
124                           protocol: TCP
125                       readinessProbe:
126                         failureThreshold: 3
127                         httpGet:
128                             path: /status/ready
129                             port: status
130                             scheme: HTTP
131                         initialDelaySeconds: 5
132                         periodSeconds: 10
133                         successThreshold: 1
134                         timeoutSeconds: 5
135                       resources: {}
136                       securityContext:
137                         allowPrivilegeEscalation: false
138                         capabilities:
139                             drop:
140                                 - ALL
141                         readOnlyRootFilesystem: true
142                         runAsNonRoot: true
143                         runAsUser: 1000
144                         seccompProfile:
145                             type: RuntimeDefault
146                       volumeMounts:
147                         - mountPath: /kong_prefix/
148                           name: chartsnap-kong-prefix-dir
149                         - mountPath: /tmp
150                           name: chartsnap-kong-tmp
151                         - mountPath: /kong_dbless/
152                           name: kong-custom-dbless-config-volume
153                         - mountPath: /opt/tmp
154                           name: tmpdir
155                 initContainers:
156                     - command:
157                         - rm
158                         - -vrf
159                         - $KONG_PREFIX/pids
160                       env:
161                         - name: KONG_ADMIN_ACCESS_LOG
162                           value: /dev/stdout
163                         - name: KONG_ADMIN_ERROR_LOG
164                           value: /dev/stderr
165                         - name: KONG_ADMIN_GUI_ACCESS_LOG
166                           value: /dev/stdout
167                         - name: KONG_ADMIN_GUI_ERROR_LOG
168                           value: /dev/stderr
169                         - name: KONG_ADMIN_LISTEN
170                           value: 127.0.0.1:8444 http2 ssl, [::1]:8444 http2 ssl
171                         - name: KONG_ANONYMOUS_REPORTS
172                           value: \"off\"
173                         - name: KONG_CLUSTER_LISTEN
174                           value: \"off\"
175                         - name: KONG_DATABASE
176                           value: \"off\"
177                         - name: KONG_DECLARATIVE_CONFIG
178                           value: /kong_dbless/kong.yml
179                         - name: KONG_LUA_PACKAGE_PATH
180                           value: /opt/?.lua;/opt/?/init.lua;;
181                         - name: KONG_NGINX_WORKER_PROCESSES
182                           value: \"2\"
183                         - name: KONG_PORTAL_API_ACCESS_LOG
184                           value: /dev/stdout
185                         - name: KONG_PORTAL_API_ERROR_LOG
186                           value: /dev/stderr
187                         - name: KONG_PORT_MAPS
188                           value: 80:8000, 443:8443
189                         - name: KONG_PREFIX
190                           value: /kong_prefix/
191                         - name: KONG_PROXY_ACCESS_LOG
192                           value: /dev/stdout
193                         - name: KONG_PROXY_ERROR_LOG
194                           value: /dev/stderr
195                         - name: KONG_PROXY_LISTEN
196                           value: 0.0.0.0:8000, [::]:8000, 0.0.0.0:8443 http2 ssl, [::]:8443 http2 ssl
197                         - name: KONG_PROXY_STREAM_ACCESS_LOG
198                           value: /dev/stdout basic
199                         - name: KONG_PROXY_STREAM_ERROR_LOG
200                           value: /dev/stderr
201                         - name: KONG_ROUTER_FLAVOR
202                           value: traditional
203                         - name: KONG_STATUS_ACCESS_LOG
204                           value: \"off\"
205                         - name: KONG_STATUS_ERROR_LOG
206                           value: /dev/stderr
207                         - name: KONG_STATUS_LISTEN
208                           value: 0.0.0.0:8100, [::]:8100
209                         - name: KONG_STREAM_LISTEN
210                           value: \"off\"
211                       image: kong:3.6
212                       imagePullPolicy: IfNotPresent
213                       name: clear-stale-pid
214                       resources: {}
215                       securityContext:
216                         allowPrivilegeEscalation: false
217                         capabilities:
218                             drop:
219                                 - ALL
220                         readOnlyRootFilesystem: true
221                         runAsNonRoot: true
222                         runAsUser: 1000
223                         seccompProfile:
224                             type: RuntimeDefault
225                       volumeMounts:
226                         - mountPath: /kong_prefix/
227                           name: chartsnap-kong-prefix-dir
228                         - mountPath: /tmp
229                           name: chartsnap-kong-tmp
230                         - mountPath: /kong_dbless/
231                           name: kong-custom-dbless-config-volume
232                     - command:
233                         - /bin/sh
234                         - -c
235                         - \"true\"
236                       image: bash:latest
237                       name: bash
238                       resources:
239                         limits:
240                             cpu: 100m
241                             memory: 64Mi
242                         requests:
243                             cpu: 100m
244                             memory: 64Mi
245                       volumeMounts:
246                         - mountPath: /opt/tmp
247                           name: tmpdir
248                 securityContext: {}
249                 serviceAccountName: chartsnap-kong
250                 terminationGracePeriodSeconds: 30
251                 volumes:
252                     - emptyDir:
253                         sizeLimit: 256Mi
254                       name: chartsnap-kong-prefix-dir
255                     - emptyDir:
256                         sizeLimit: 1Gi
257                       name: chartsnap-kong-tmp
258                     - name: chartsnap-kong-token
259                       projected:
260                         sources:
261                             - serviceAccountToken:
262                                 expirationSeconds: 3607
263                                 path: token
264                             - configMap:
265                                 items:
266                                     - key: ca.crt
267                                       path: ca.crt
268                                 name: kube-root-ca.crt
269                             - downwardAPI:
270                                 items:
271                                     - fieldRef:
272                                         apiVersion: v1
273                                         fieldPath: metadata.namespace
274                                       path: namespace
275                     - configMap:
276                         name: chartsnap-kong-custom-dbless-config
277                       name: kong-custom-dbless-config-volume
278                     - emptyDir: {}
279                       name: tmpdir
280 - object:
281     apiVersion: v1
282     data:
283         kong.yml: |
284             _format_version: \"1.1\"
285             services:
286               - name: example.com
287                 url: http://example.com
288                 routes:
289                 - name: example
290                   paths:
291                   - \"/example\"
292     kind: ConfigMap
293     metadata:
294         labels:
295             app.kubernetes.io/instance: chartsnap
296             app.kubernetes.io/managed-by: Helm
297             app.kubernetes.io/name: kong
298             app.kubernetes.io/version: \"3.6\"
299             helm.sh/chart: kong-2.38.0
300         name: chartsnap-kong-custom-dbless-config
301         namespace: default
302 - object:
303     apiVersion: v1
304     kind: Service
305     metadata:
306         labels:
307             app.kubernetes.io/instance: chartsnap
308             app.kubernetes.io/managed-by: Helm
309             app.kubernetes.io/name: kong
310             app.kubernetes.io/version: \"3.6\"
311             helm.sh/chart: kong-2.38.0
312         name: chartsnap-kong-manager
313         namespace: default
314     spec:
315         ports:
316             - name: kong-manager
317               port: 8002
318               protocol: TCP
319               targetPort: 8002
320             - name: kong-manager-tls
321               port: 8445
322               protocol: TCP
323               targetPort: 8445
324         selector:
325             app.kubernetes.io/component: app
326             app.kubernetes.io/instance: chartsnap
327             app.kubernetes.io/name: kong
328         type: NodePort
329 - object:
330     apiVersion: v1
331     kind: Service
332     metadata:
333         labels:
334             app.kubernetes.io/instance: chartsnap
335             app.kubernetes.io/managed-by: Helm
336             app.kubernetes.io/name: kong
337             app.kubernetes.io/version: \"3.6\"
338             enable-metrics: \"true\"
339             helm.sh/chart: kong-2.38.0
340         name: chartsnap-kong-proxy
341         namespace: default
342     spec:
343         ports:
344             - name: kong-proxy
345               port: 80
346               protocol: TCP
347               targetPort: 8000
348             - name: kong-proxy-tls
349               port: 443
350               protocol: TCP
351               targetPort: 8443
352         selector:
353             app.kubernetes.io/component: app
354             app.kubernetes.io/instance: chartsnap
355             app.kubernetes.io/name: kong
356         type: LoadBalancer
357 - object:
358     apiVersion: v1
359     kind: ServiceAccount
360     metadata:
361         labels:
362             app.kubernetes.io/instance: chartsnap
363             app.kubernetes.io/managed-by: Helm
364             app.kubernetes.io/name: kong
365             app.kubernetes.io/version: \"3.6\"
366             helm.sh/chart: kong-2.38.0
367         name: chartsnap-kong
368         namespace: default
369 """