Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame] | 1 | {{/* |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 2 | # Copyright (c) 2017 Amdocs, Bell Canada |
| 3 | # Modifications Copyright (c) 2018 AT&T |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 4 | # Modifications Copyright (c) 2020 Nokia, Orange |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 5 | # |
| 6 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | # you may not use this file except in compliance with the License. |
| 8 | # You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, software |
| 13 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | # See the License for the specific language governing permissions and |
| 16 | # limitations under the License. |
Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame] | 17 | */}} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 18 | |
| 19 | apiVersion: apps/v1 |
| 20 | kind: Deployment |
| 21 | metadata: |
| 22 | name: {{ include "common.fullname" . }} |
| 23 | namespace: {{ include "common.namespace" . }} |
| 24 | labels: |
| 25 | app: {{ include "common.name" . }} |
| 26 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 27 | release: {{ include "common.release" . }} |
| 28 | heritage: {{ .Release.Service }} |
| 29 | spec: |
| 30 | replicas: {{ .Values.replicaCount }} |
| 31 | selector: |
| 32 | matchLabels: |
| 33 | app: {{ include "common.name" . }} |
| 34 | template: |
| 35 | metadata: |
| 36 | labels: |
| 37 | app: {{ include "common.name" . }} |
| 38 | release: {{ include "common.release" . }} |
| 39 | name: {{ include "common.name" . }} |
| 40 | annotations: |
| 41 | checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} |
| 42 | msb.onap.org/service-info: '[ |
| 43 | { |
| 44 | "serviceName": "_aai-generic-query", |
| 45 | "version": "v11", |
| 46 | "url": "/aai/v11/search/generic-query", |
| 47 | "protocol": "REST", |
| 48 | "port": "8446", |
| 49 | "enable_ssl": true, |
| 50 | "lb_policy":"ip_hash", |
| 51 | "visualRange": "1", |
| 52 | "path": "/aai/v11/search/generic-query" |
| 53 | }, |
| 54 | { |
| 55 | "serviceName": "_aai-generic-query", |
| 56 | "version": "v12", |
| 57 | "url": "/aai/v12/search/generic-query", |
| 58 | "protocol": "REST", |
| 59 | "port": "8446", |
| 60 | "enable_ssl": true, |
| 61 | "lb_policy":"ip_hash", |
| 62 | "visualRange": "1", |
| 63 | "path": "/aai/v12/search/generic-query" |
| 64 | }, |
| 65 | { |
| 66 | "serviceName": "_aai-generic-query", |
| 67 | "version": "v13", |
| 68 | "url": "/aai/v13/search/generic-query", |
| 69 | "protocol": "REST", |
| 70 | "port": "8446", |
| 71 | "enable_ssl": true, |
| 72 | "lb_policy":"ip_hash", |
| 73 | "visualRange": "1", |
| 74 | "path": "/aai/v13/search/generic-query" |
| 75 | }, |
| 76 | { |
| 77 | "serviceName": "_aai-generic-query", |
| 78 | "version": "v14", |
| 79 | "url": "/aai/v14/search/generic-query", |
| 80 | "protocol": "REST", |
| 81 | "port": "8446", |
| 82 | "enable_ssl": true, |
| 83 | "lb_policy":"ip_hash", |
| 84 | "visualRange": "1", |
| 85 | "path": "/aai/v14/search/generic-query" |
| 86 | }, |
| 87 | { |
| 88 | "serviceName": "_aai-generic-query", |
| 89 | "version": "v15", |
| 90 | "url": "/aai/v15/search/generic-query", |
| 91 | "protocol": "REST", |
| 92 | "port": "8446", |
| 93 | "enable_ssl": true, |
| 94 | "lb_policy":"ip_hash", |
| 95 | "visualRange": "1", |
| 96 | "path": "/aai/v15/search/generic-query" |
| 97 | }, |
| 98 | { |
| 99 | "serviceName": "_aai-generic-query", |
| 100 | "version": "v16", |
| 101 | "url": "/aai/v16/search/generic-query", |
| 102 | "protocol": "REST", |
| 103 | "port": "8446", |
| 104 | "enable_ssl": true, |
| 105 | "lb_policy":"ip_hash", |
| 106 | "visualRange": "1", |
| 107 | "path": "/aai/v16/search/generic-query" |
| 108 | }, |
| 109 | { |
| 110 | "serviceName": "_aai-generic-query", |
| 111 | "version": "v17", |
| 112 | "url": "/aai/v17/search/generic-query", |
| 113 | "protocol": "REST", |
| 114 | "port": "8446", |
| 115 | "enable_ssl": true, |
| 116 | "lb_policy":"ip_hash", |
| 117 | "visualRange": "1", |
| 118 | "path": "/aai/v17/search/generic-query" |
| 119 | }, |
| 120 | { |
| 121 | "serviceName": "_aai-generic-query", |
| 122 | "version": "v18", |
| 123 | "url": "/aai/v18/search/generic-query", |
| 124 | "protocol": "REST", |
| 125 | "port": "8446", |
| 126 | "enable_ssl": true, |
| 127 | "lb_policy":"ip_hash", |
| 128 | "visualRange": "1", |
| 129 | "path": "/aai/v18/search/generic-query" |
| 130 | }, |
| 131 | { |
| 132 | "serviceName": "_aai-generic-query", |
| 133 | "version": "v19", |
| 134 | "url": "/aai/v19/search/generic-query", |
| 135 | "protocol": "REST", |
| 136 | "port": "8446", |
| 137 | "enable_ssl": true, |
| 138 | "lb_policy":"ip_hash", |
| 139 | "visualRange": "1", |
| 140 | "path": "/aai/v19/search/generic-query" |
| 141 | }, |
| 142 | { |
| 143 | "serviceName": "_aai-nodes-query", |
| 144 | "version": "v11", |
| 145 | "url": "/aai/v11/search/nodes-query", |
| 146 | "protocol": "REST", |
| 147 | "port": "8446", |
| 148 | "enable_ssl": true, |
| 149 | "lb_policy":"ip_hash", |
| 150 | "visualRange": "1", |
| 151 | "path": "/aai/v11/search/nodes-query" |
| 152 | }, |
| 153 | { |
| 154 | "serviceName": "_aai-nodes-query", |
| 155 | "version": "v12", |
| 156 | "url": "/aai/v12/search/nodes-query", |
| 157 | "protocol": "REST", |
| 158 | "port": "8446", |
| 159 | "enable_ssl": true, |
| 160 | "lb_policy":"ip_hash", |
| 161 | "visualRange": "1", |
| 162 | "path": "/aai/v12/search/nodes-query" |
| 163 | }, |
| 164 | { |
| 165 | "serviceName": "_aai-nodes-query", |
| 166 | "version": "v13", |
| 167 | "url": "/aai/v13/search/nodes-query", |
| 168 | "protocol": "REST", |
| 169 | "port": "8446", |
| 170 | "enable_ssl": true, |
| 171 | "lb_policy":"ip_hash", |
| 172 | "visualRange": "1", |
| 173 | "path": "/aai/v13/search/nodes-query" |
| 174 | }, |
| 175 | { |
| 176 | "serviceName": "_aai-nodes-query", |
| 177 | "version": "v14", |
| 178 | "url": "/aai/v14/search/nodes-query", |
| 179 | "protocol": "REST", |
| 180 | "port": "8446", |
| 181 | "enable_ssl": true, |
| 182 | "lb_policy":"ip_hash", |
| 183 | "visualRange": "1", |
| 184 | "path": "/aai/v14/search/nodes-query" |
| 185 | }, |
| 186 | { |
| 187 | "serviceName": "_aai-nodes-query", |
| 188 | "version": "v15", |
| 189 | "url": "/aai/v15/search/nodes-query", |
| 190 | "protocol": "REST", |
| 191 | "port": "8446", |
| 192 | "enable_ssl": true, |
| 193 | "lb_policy":"ip_hash", |
| 194 | "visualRange": "1", |
| 195 | "path": "/aai/v15/search/nodes-query" |
| 196 | }, |
| 197 | { |
| 198 | "serviceName": "_aai-nodes-query", |
| 199 | "version": "v16", |
| 200 | "url": "/aai/v16/search/nodes-query", |
| 201 | "protocol": "REST", |
| 202 | "port": "8446", |
| 203 | "enable_ssl": true, |
| 204 | "lb_policy":"ip_hash", |
| 205 | "visualRange": "1", |
| 206 | "path": "/aai/v16/search/nodes-query" |
| 207 | }, |
| 208 | { |
| 209 | "serviceName": "_aai-nodes-query", |
| 210 | "version": "v17", |
| 211 | "url": "/aai/v17/search/nodes-query", |
| 212 | "protocol": "REST", |
| 213 | "port": "8446", |
| 214 | "enable_ssl": true, |
| 215 | "lb_policy":"ip_hash", |
| 216 | "visualRange": "1", |
| 217 | "path": "/aai/v17/search/nodes-query" |
| 218 | }, |
| 219 | { |
| 220 | "serviceName": "_aai-nodes-query", |
| 221 | "version": "v18", |
| 222 | "url": "/aai/v18/search/nodes-query", |
| 223 | "protocol": "REST", |
| 224 | "port": "8446", |
| 225 | "enable_ssl": true, |
| 226 | "lb_policy":"ip_hash", |
| 227 | "visualRange": "1", |
| 228 | "path": "/aai/v18/search/nodes-query" |
| 229 | }, |
| 230 | { |
| 231 | "serviceName": "_aai-nodes-query", |
| 232 | "version": "v19", |
| 233 | "url": "/aai/v19/search/nodes-query", |
| 234 | "protocol": "REST", |
| 235 | "port": "8446", |
| 236 | "enable_ssl": true, |
| 237 | "lb_policy":"ip_hash", |
| 238 | "visualRange": "1", |
| 239 | "path": "/aai/v19/search/nodes-query" |
| 240 | }, |
| 241 | { |
| 242 | "serviceName": "_aai-query", |
| 243 | "version": "v11", |
| 244 | "url": "/aai/v11/query", |
| 245 | "protocol": "REST", |
| 246 | "port": "8446", |
| 247 | "enable_ssl": true, |
| 248 | "lb_policy":"ip_hash", |
| 249 | "visualRange": "1", |
| 250 | "path": "/aai/v11/query" |
| 251 | }, |
| 252 | { |
| 253 | "serviceName": "_aai-query", |
| 254 | "version": "v12", |
| 255 | "url": "/aai/v12/query", |
| 256 | "protocol": "REST", |
| 257 | "port": "8446", |
| 258 | "enable_ssl": true, |
| 259 | "lb_policy":"ip_hash", |
| 260 | "visualRange": "1", |
| 261 | "path": "/aai/v12/query" |
| 262 | }, |
| 263 | { |
| 264 | "serviceName": "_aai-query", |
| 265 | "version": "v13", |
| 266 | "url": "/aai/v13/query", |
| 267 | "protocol": "REST", |
| 268 | "port": "8446", |
| 269 | "enable_ssl": true, |
| 270 | "lb_policy":"ip_hash", |
| 271 | "visualRange": "1", |
| 272 | "path": "/aai/v13/query" |
| 273 | }, |
| 274 | { |
| 275 | "serviceName": "_aai-query", |
| 276 | "version": "v14", |
| 277 | "url": "/aai/v14/query", |
| 278 | "protocol": "REST", |
| 279 | "port": "8446", |
| 280 | "enable_ssl": true, |
| 281 | "lb_policy":"ip_hash", |
| 282 | "visualRange": "1", |
| 283 | "path": "/aai/v14/query" |
| 284 | }, |
| 285 | { |
| 286 | "serviceName": "_aai-query", |
| 287 | "version": "v15", |
| 288 | "url": "/aai/v15/query", |
| 289 | "protocol": "REST", |
| 290 | "port": "8446", |
| 291 | "enable_ssl": true, |
| 292 | "lb_policy":"ip_hash", |
| 293 | "visualRange": "1", |
| 294 | "path": "/aai/v15/query" |
| 295 | }, |
| 296 | { |
| 297 | "serviceName": "_aai-query", |
| 298 | "version": "v16", |
| 299 | "url": "/aai/v16/query", |
| 300 | "protocol": "REST", |
| 301 | "port": "8446", |
| 302 | "enable_ssl": true, |
| 303 | "lb_policy":"ip_hash", |
| 304 | "visualRange": "1", |
| 305 | "path": "/aai/v16/query" |
| 306 | }, |
| 307 | { |
| 308 | "serviceName": "_aai-query", |
| 309 | "version": "v17", |
| 310 | "url": "/aai/v17/query", |
| 311 | "protocol": "REST", |
| 312 | "port": "8446", |
| 313 | "enable_ssl": true, |
| 314 | "lb_policy":"ip_hash", |
| 315 | "visualRange": "1", |
| 316 | "path": "/aai/v17/query" |
| 317 | }, |
| 318 | { |
| 319 | "serviceName": "_aai-query", |
| 320 | "version": "v18", |
| 321 | "url": "/aai/v18/query", |
| 322 | "protocol": "REST", |
| 323 | "port": "8446", |
| 324 | "enable_ssl": true, |
| 325 | "lb_policy":"ip_hash", |
| 326 | "visualRange": "1", |
| 327 | "path": "/aai/v18/query" |
| 328 | }, |
| 329 | { |
| 330 | "serviceName": "_aai-query", |
| 331 | "version": "v19", |
| 332 | "url": "/aai/v19/query", |
| 333 | "protocol": "REST", |
| 334 | "port": "8446", |
| 335 | "enable_ssl": true, |
| 336 | "lb_policy":"ip_hash", |
| 337 | "visualRange": "1", |
| 338 | "path": "/aai/v19/query" |
| 339 | }, |
| 340 | { |
| 341 | "serviceName": "_aai-named-query", |
| 342 | "url": "/aai/search", |
| 343 | "protocol": "REST", |
| 344 | "port": "8446", |
| 345 | "enable_ssl": true, |
| 346 | "lb_policy":"ip_hash", |
| 347 | "visualRange": "1", |
| 348 | "path": "/aai/search" |
| 349 | }, |
| 350 | { |
| 351 | "serviceName": "aai-generic-query", |
| 352 | "version": "v11", |
| 353 | "url": "/aai/v11/search/generic-query", |
| 354 | "protocol": "REST", |
| 355 | "port": "8446", |
| 356 | "enable_ssl": true, |
| 357 | "lb_policy":"ip_hash", |
| 358 | "visualRange": "1" |
| 359 | }, |
| 360 | { |
| 361 | "serviceName": "aai-generic-query", |
| 362 | "version": "v12", |
| 363 | "url": "/aai/v12/search/generic-query", |
| 364 | "protocol": "REST", |
| 365 | "port": "8446", |
| 366 | "enable_ssl": true, |
| 367 | "lb_policy":"ip_hash", |
| 368 | "visualRange": "1" |
| 369 | }, |
| 370 | { |
| 371 | "serviceName": "aai-generic-query", |
| 372 | "version": "v13", |
| 373 | "url": "/aai/v13/search/generic-query", |
| 374 | "protocol": "REST", |
| 375 | "port": "8446", |
| 376 | "enable_ssl": true, |
| 377 | "lb_policy":"ip_hash", |
| 378 | "visualRange": "1" |
| 379 | }, |
| 380 | { |
| 381 | "serviceName": "aai-generic-query", |
| 382 | "version": "v14", |
| 383 | "url": "/aai/v14/search/generic-query", |
| 384 | "protocol": "REST", |
| 385 | "port": "8446", |
| 386 | "enable_ssl": true, |
| 387 | "lb_policy":"ip_hash", |
| 388 | "visualRange": "1" |
| 389 | }, |
| 390 | { |
| 391 | "serviceName": "aai-generic-query", |
| 392 | "version": "v15", |
| 393 | "url": "/aai/v15/search/generic-query", |
| 394 | "protocol": "REST", |
| 395 | "port": "8446", |
| 396 | "enable_ssl": true, |
| 397 | "lb_policy":"ip_hash", |
| 398 | "visualRange": "1" |
| 399 | }, |
| 400 | { |
| 401 | "serviceName": "aai-generic-query", |
| 402 | "version": "v16", |
| 403 | "url": "/aai/v16/search/generic-query", |
| 404 | "protocol": "REST", |
| 405 | "port": "8446", |
| 406 | "enable_ssl": true, |
| 407 | "lb_policy":"ip_hash", |
| 408 | "visualRange": "1" |
| 409 | }, |
| 410 | { |
| 411 | "serviceName": "aai-generic-query", |
| 412 | "version": "v17", |
| 413 | "url": "/aai/v17/search/generic-query", |
| 414 | "protocol": "REST", |
| 415 | "port": "8446", |
| 416 | "enable_ssl": true, |
| 417 | "lb_policy":"ip_hash", |
| 418 | "visualRange": "1" |
| 419 | }, |
| 420 | { |
| 421 | "serviceName": "aai-generic-query", |
| 422 | "version": "v18", |
| 423 | "url": "/aai/v18/search/generic-query", |
| 424 | "protocol": "REST", |
| 425 | "port": "8446", |
| 426 | "enable_ssl": true, |
| 427 | "lb_policy":"ip_hash", |
| 428 | "visualRange": "1" |
| 429 | }, |
| 430 | { |
| 431 | "serviceName": "aai-generic-query", |
| 432 | "version": "v19", |
| 433 | "url": "/aai/v19/search/generic-query", |
| 434 | "protocol": "REST", |
| 435 | "port": "8446", |
| 436 | "enable_ssl": true, |
| 437 | "lb_policy":"ip_hash", |
| 438 | "visualRange": "1" |
| 439 | }, |
| 440 | { |
| 441 | "serviceName": "aai-nodes-query", |
| 442 | "version": "v11", |
| 443 | "url": "/aai/v11/search/nodes-query", |
| 444 | "protocol": "REST", |
| 445 | "port": "8446", |
| 446 | "enable_ssl": true, |
| 447 | "lb_policy":"ip_hash", |
| 448 | "visualRange": "1" |
| 449 | }, |
| 450 | { |
| 451 | "serviceName": "aai-nodes-query", |
| 452 | "version": "v12", |
| 453 | "url": "/aai/v12/search/nodes-query", |
| 454 | "protocol": "REST", |
| 455 | "port": "8446", |
| 456 | "enable_ssl": true, |
| 457 | "lb_policy":"ip_hash", |
| 458 | "visualRange": "1" |
| 459 | }, |
| 460 | { |
| 461 | "serviceName": "aai-nodes-query", |
| 462 | "version": "v13", |
| 463 | "url": "/aai/v13/search/nodes-query", |
| 464 | "protocol": "REST", |
| 465 | "port": "8446", |
| 466 | "enable_ssl": true, |
| 467 | "lb_policy":"ip_hash", |
| 468 | "visualRange": "1" |
| 469 | }, |
| 470 | { |
| 471 | "serviceName": "aai-nodes-query", |
| 472 | "version": "v14", |
| 473 | "url": "/aai/v14/search/nodes-query", |
| 474 | "protocol": "REST", |
| 475 | "port": "8446", |
| 476 | "enable_ssl": true, |
| 477 | "lb_policy":"ip_hash", |
| 478 | "visualRange": "1" |
| 479 | }, |
| 480 | { |
| 481 | "serviceName": "aai-nodes-query", |
| 482 | "version": "v15", |
| 483 | "url": "/aai/v15/search/nodes-query", |
| 484 | "protocol": "REST", |
| 485 | "port": "8446", |
| 486 | "enable_ssl": true, |
| 487 | "lb_policy":"ip_hash", |
| 488 | "visualRange": "1" |
| 489 | }, |
| 490 | { |
| 491 | "serviceName": "aai-nodes-query", |
| 492 | "version": "v16", |
| 493 | "url": "/aai/v16/search/nodes-query", |
| 494 | "protocol": "REST", |
| 495 | "port": "8446", |
| 496 | "enable_ssl": true, |
| 497 | "lb_policy":"ip_hash", |
| 498 | "visualRange": "1" |
| 499 | }, |
| 500 | { |
| 501 | "serviceName": "aai-nodes-query", |
| 502 | "version": "v17", |
| 503 | "url": "/aai/v17/search/nodes-query", |
| 504 | "protocol": "REST", |
| 505 | "port": "8446", |
| 506 | "enable_ssl": true, |
| 507 | "lb_policy":"ip_hash", |
| 508 | "visualRange": "1" |
| 509 | }, |
| 510 | { |
| 511 | "serviceName": "aai-nodes-query", |
| 512 | "version": "v18", |
| 513 | "url": "/aai/v18/search/nodes-query", |
| 514 | "protocol": "REST", |
| 515 | "port": "8446", |
| 516 | "enable_ssl": true, |
| 517 | "lb_policy":"ip_hash", |
| 518 | "visualRange": "1" |
| 519 | }, |
| 520 | { |
| 521 | "serviceName": "aai-nodes-query", |
| 522 | "version": "v19", |
| 523 | "url": "/aai/v19/search/nodes-query", |
| 524 | "protocol": "REST", |
| 525 | "port": "8446", |
| 526 | "enable_ssl": true, |
| 527 | "lb_policy":"ip_hash", |
| 528 | "visualRange": "1" |
| 529 | }, |
| 530 | { |
| 531 | "serviceName": "aai-query", |
| 532 | "version": "v11", |
| 533 | "url": "/aai/v11/query", |
| 534 | "protocol": "REST", |
| 535 | "port": "8446", |
| 536 | "enable_ssl": true, |
| 537 | "lb_policy":"ip_hash", |
| 538 | "visualRange": "1" |
| 539 | }, |
| 540 | { |
| 541 | "serviceName": "aai-query", |
| 542 | "version": "v12", |
| 543 | "url": "/aai/v12/query", |
| 544 | "protocol": "REST", |
| 545 | "port": "8446", |
| 546 | "enable_ssl": true, |
| 547 | "lb_policy":"ip_hash", |
| 548 | "visualRange": "1" |
| 549 | }, |
| 550 | { |
| 551 | "serviceName": "aai-query", |
| 552 | "version": "v13", |
| 553 | "url": "/aai/v13/query", |
| 554 | "protocol": "REST", |
| 555 | "port": "8446", |
| 556 | "enable_ssl": true, |
| 557 | "lb_policy":"ip_hash", |
| 558 | "visualRange": "1" |
| 559 | }, |
| 560 | { |
| 561 | "serviceName": "aai-query", |
| 562 | "version": "v14", |
| 563 | "url": "/aai/v14/query", |
| 564 | "protocol": "REST", |
| 565 | "port": "8446", |
| 566 | "enable_ssl": true, |
| 567 | "lb_policy":"ip_hash", |
| 568 | "visualRange": "1" |
| 569 | }, |
| 570 | { |
| 571 | "serviceName": "aai-query", |
| 572 | "version": "v15", |
| 573 | "url": "/aai/v15/query", |
| 574 | "protocol": "REST", |
| 575 | "port": "8446", |
| 576 | "enable_ssl": true, |
| 577 | "lb_policy":"ip_hash", |
| 578 | "visualRange": "1" |
| 579 | }, |
| 580 | { |
| 581 | "serviceName": "aai-query", |
| 582 | "version": "v16", |
| 583 | "url": "/aai/v16/query", |
| 584 | "protocol": "REST", |
| 585 | "port": "8446", |
| 586 | "enable_ssl": true, |
| 587 | "lb_policy":"ip_hash", |
| 588 | "visualRange": "1" |
| 589 | }, |
| 590 | { |
| 591 | "serviceName": "aai-query", |
| 592 | "version": "v17", |
| 593 | "url": "/aai/v17/query", |
| 594 | "protocol": "REST", |
| 595 | "port": "8446", |
| 596 | "enable_ssl": true, |
| 597 | "lb_policy":"ip_hash", |
| 598 | "visualRange": "1" |
| 599 | }, |
| 600 | { |
| 601 | "serviceName": "aai-query", |
| 602 | "version": "v18", |
| 603 | "url": "/aai/v18/query", |
| 604 | "protocol": "REST", |
| 605 | "port": "8446", |
| 606 | "enable_ssl": true, |
| 607 | "lb_policy":"ip_hash", |
| 608 | "visualRange": "1" |
| 609 | }, |
| 610 | { |
| 611 | "serviceName": "aai-query", |
| 612 | "version": "v19", |
| 613 | "url": "/aai/v19/query", |
| 614 | "protocol": "REST", |
| 615 | "port": "8446", |
| 616 | "enable_ssl": true, |
| 617 | "lb_policy":"ip_hash", |
| 618 | "visualRange": "1" |
| 619 | }, |
| 620 | { |
| 621 | "serviceName": "aai-named-query", |
| 622 | "url": "/aai/search", |
| 623 | "protocol": "REST", |
| 624 | "port": "8446", |
| 625 | "enable_ssl": true, |
| 626 | "lb_policy":"ip_hash", |
| 627 | "visualRange": "1" |
| 628 | } |
| 629 | ]' |
| 630 | spec: |
| 631 | hostname: aai-traversal |
| 632 | {{ if .Values.global.initContainers.enabled }} |
| 633 | initContainers: |
| 634 | - command: |
| 635 | {{ if .Values.global.jobs.migration.enabled }} |
| 636 | - /app/ready.py |
| 637 | args: |
| 638 | - --job-name |
| 639 | - {{ include "common.release" . }}-aai-graphadmin-migration |
| 640 | {{ else if .Values.global.jobs.createSchema.enabled }} |
| 641 | - /app/ready.py |
| 642 | args: |
| 643 | - --job-name |
| 644 | - {{ include "common.release" . }}-aai-graphadmin-create-db-schema |
| 645 | {{ else }} |
| 646 | - /app/ready.py |
| 647 | args: |
| 648 | - --container-name |
| 649 | {{- if .Values.global.cassandra.localCluster }} |
| 650 | - aai-cassandra |
| 651 | {{- else }} |
| 652 | - cassandra |
| 653 | {{- end }} |
| 654 | - --container-name |
| 655 | - aai-schema-service |
| 656 | {{ end }} |
| 657 | env: |
| 658 | - name: NAMESPACE |
| 659 | valueFrom: |
| 660 | fieldRef: |
| 661 | apiVersion: v1 |
| 662 | fieldPath: metadata.namespace |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 663 | image: {{ include "repositoryGenerator.image.readiness" . }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 664 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 665 | name: {{ include "common.name" . }}-readiness |
| 666 | {{ end }} |
| 667 | containers: |
| 668 | - name: {{ include "common.name" . }} |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 669 | image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 670 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 671 | env: |
| 672 | - name: DISABLE_UPDATE_QUERY |
| 673 | value: {{ .Values.config.disableUpdateQuery | quote }} |
| 674 | - name: LOCAL_USER_ID |
| 675 | value: {{ .Values.global.config.userId | quote }} |
| 676 | - name: LOCAL_GROUP_ID |
| 677 | value: {{ .Values.global.config.groupId | quote }} |
| 678 | volumeMounts: |
| 679 | - mountPath: /etc/localtime |
| 680 | name: localtime |
| 681 | readOnly: true |
| 682 | - mountPath: /opt/app/aai-traversal/resources/etc/appprops/janusgraph-realtime.properties |
| 683 | name: {{ include "common.fullname" . }}-config |
| 684 | subPath: janusgraph-realtime.properties |
| 685 | - mountPath: /opt/app/aai-traversal/resources/etc/appprops/janusgraph-cached.properties |
| 686 | name: {{ include "common.fullname" . }}-config |
| 687 | subPath: janusgraph-cached.properties |
| 688 | - mountPath: /opt/app/aai-traversal/resources/etc/appprops/aaiconfig.properties |
| 689 | name: {{ include "common.fullname" . }}-config |
| 690 | subPath: aaiconfig.properties |
| 691 | - mountPath: /opt/aai/logroot/AAI-GQ |
| 692 | name: {{ include "common.fullname" . }}-logs |
| 693 | - mountPath: /opt/aai/logroot/AAI-GQ/misc |
| 694 | name: {{ include "common.fullname" . }}-logs-misc |
| 695 | - mountPath: /opt/app/aai-traversal/resources/logback.xml |
| 696 | name: {{ include "common.fullname" . }}-config |
| 697 | subPath: logback.xml |
| 698 | - mountPath: /opt/app/aai-traversal/resources/localhost-access-logback.xml |
| 699 | name: {{ include "common.fullname" . }}-config |
| 700 | subPath: localhost-access-logback.xml |
| 701 | - mountPath: /opt/app/aai-traversal/resources/etc/auth/realm.properties |
| 702 | name: {{ include "common.fullname" . }}-config |
| 703 | subPath: realm.properties |
| 704 | - mountPath: /opt/app/aai-traversal/resources/aaf/org.onap.aai.keyfile |
| 705 | name: {{ include "common.fullname" . }}-aaf-certs |
| 706 | subPath: org.onap.aai.keyfile |
| 707 | - mountPath: /opt/app/aai-traversal/resources/aaf/bath_config.csv |
| 708 | name: {{ include "common.fullname" . }}-aaf-certs |
| 709 | subPath: bath_config.csv |
| 710 | - mountPath: /opt/app/aai-traversal/resources/aaf/org.onap.aai.props |
| 711 | name: {{ include "common.fullname" . }}-aaf-properties |
| 712 | subPath: org.onap.aai.props |
| 713 | - mountPath: /opt/app/aai-traversal/resources/aaf/org.osaaf.location.props |
| 714 | name: {{ include "common.fullname" . }}-aaf-properties |
| 715 | subPath: org.osaaf.location.props |
| 716 | - mountPath: /opt/app/aai-traversal/resources/aaf/permissions.properties |
| 717 | name: {{ include "common.fullname" . }}-aaf-properties |
| 718 | subPath: permissions.properties |
| 719 | - mountPath: /opt/app/aai-traversal/resources/cadi.properties |
| 720 | name: {{ include "common.fullname" . }}-aaf-properties |
| 721 | subPath: cadi.properties |
| 722 | - mountPath: /opt/app/aai-traversal/resources/aaf/org.onap.aai.p12 |
| 723 | name: {{ include "common.fullname" . }}-aaf-certs |
| 724 | subPath: org.onap.aai.p12 |
| 725 | - mountPath: /opt/app/aai-traversal/resources/aaf/truststoreONAPall.jks |
| 726 | name: aai-common-aai-auth-mount |
| 727 | subPath: truststoreONAPall.jks |
| 728 | - mountPath: /opt/app/aai-traversal/resources/application.properties |
| 729 | name: {{ include "common.fullname" . }}-config |
| 730 | subPath: application.properties |
| 731 | {{ $global := . }} |
| 732 | {{ range $job := .Values.global.config.auth.files }} |
| 733 | - mountPath: /opt/app/aai-traversal/resources/etc/auth/{{ . }} |
| 734 | name: {{ include "common.fullname" $global }}-auth-truststore-sec |
| 735 | subPath: {{ . }} |
| 736 | {{ end }} |
| 737 | ports: |
| 738 | - containerPort: {{ .Values.service.internalPort }} |
| 739 | - containerPort: {{ .Values.service.internalPort2 }} |
| 740 | # disable liveness probe when breakpoints set in debugger |
| 741 | # so K8s doesn't restart unresponsive container |
| 742 | {{ if .Values.liveness.enabled }} |
| 743 | livenessProbe: |
| 744 | tcpSocket: |
| 745 | port: {{ .Values.service.internalPort }} |
| 746 | initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} |
| 747 | periodSeconds: {{ .Values.liveness.periodSeconds }} |
| 748 | {{ end }} |
| 749 | readinessProbe: |
| 750 | tcpSocket: |
| 751 | port: {{ .Values.service.internalPort }} |
| 752 | initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} |
| 753 | periodSeconds: {{ .Values.readiness.periodSeconds }} |
| 754 | resources: |
| 755 | {{ include "common.resources" . }} |
| 756 | {{- if .Values.nodeSelector }} |
| 757 | nodeSelector: |
| 758 | {{ toYaml .Values.nodeSelector | indent 8 }} |
| 759 | {{- end -}} |
| 760 | {{- if .Values.affinity }} |
| 761 | affinity: |
| 762 | {{ toYaml .Values.affinity | indent 8 }} |
| 763 | {{- end }} |
| 764 | |
| 765 | # side car containers |
| 766 | - name: filebeat-onap |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 767 | image: {{ include "repositoryGenerator.image.logging" . }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 768 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 769 | volumeMounts: |
| 770 | - mountPath: /usr/share/filebeat/filebeat.yml |
| 771 | subPath: filebeat.yml |
| 772 | name: filebeat-conf |
| 773 | - mountPath: /var/log/onap |
| 774 | name: {{ include "common.fullname" . }}-logs |
| 775 | - mountPath: /usr/share/filebeat/data |
| 776 | name: {{ include "common.fullname" . }}-filebeat |
| 777 | resources: |
| 778 | {{ include "common.resources" . }} |
| 779 | volumes: |
| 780 | - name: localtime |
| 781 | hostPath: |
| 782 | path: /etc/localtime |
| 783 | - name: filebeat-conf |
| 784 | configMap: |
| 785 | name: aai-filebeat |
| 786 | - name: {{ include "common.fullname" . }}-logs |
| 787 | emptyDir: {} |
| 788 | - name: {{ include "common.fullname" . }}-logs-misc |
| 789 | emptyDir: {} |
| 790 | - name: {{ include "common.fullname" . }}-filebeat |
| 791 | emptyDir: {} |
| 792 | - name: {{ include "common.fullname" . }}-config |
| 793 | configMap: |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 794 | name: {{ include "common.fullname" . }}-configmap |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 795 | - name: {{ include "common.fullname" . }}-aaf-properties |
| 796 | configMap: |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 797 | name: {{ include "common.fullname" . }}-aaf-props |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 798 | - name: {{ include "common.fullname" . }}-aaf-certs |
| 799 | secret: |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 800 | secretName: {{ include "common.fullname" . }}-aaf-keys |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 801 | - name: aai-common-aai-auth-mount |
| 802 | secret: |
| 803 | secretName: aai-common-aai-auth |
| 804 | - name: {{ include "common.fullname" . }}-auth-truststore-sec |
| 805 | secret: |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 806 | secretName: aai-common-truststore |
| 807 | items: |
| 808 | {{ range $job := .Values.global.config.auth.files }} |
| 809 | - key: {{ . }} |
| 810 | path: {{ . }} |
| 811 | {{ end }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 812 | restartPolicy: {{ .Values.global.restartPolicy | default .Values.restartPolicy }} |
| 813 | imagePullSecrets: |
| 814 | - name: "{{ include "common.namespace" . }}-docker-registry-key" |