blob: 4e0ac0f59147b3e3cd296e76154fdd29d3340a11 [file] [log] [blame]
Mohammed Naserb7b97d62022-03-12 16:30:00 -05001# Copyright (c) 2022 VEXXHOST, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
Mohammed Naser2145fc32023-01-29 23:23:03 +000015_glance_helm_values:
Mohammed Naserb7b97d62022-03-12 16:30:00 -050016 endpoints: "{{ openstack_helm_endpoints }}"
17 storage: rbd
18 images:
Michiel Piscaer60d09f92023-01-20 18:58:55 +010019 tags: "{{ atmosphere_images | vexxhost.atmosphere.openstack_helm_image_tags('glance') }}"
Mohammed Naserb7b97d62022-03-12 16:30:00 -050020 bootstrap:
21 enabled: false
22 pod:
Mohammed Naser01c78ca2022-09-08 22:21:04 -040023 security_context:
24 glance:
25 container:
26 glance_api:
Tadas Sutkaitis4ace4182023-02-27 04:31:52 +020027 allowPrivilegeEscalation: "{{ ('cinder' in glance_helm_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}" # noqa: yaml[line-length]
28 readOnlyRootFilesystem: "{{ ('cinder' not in glance_helm_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}" # noqa: yaml[line-length]
Mohammed Naser2145fc32023-01-29 23:23:03 +000029 privileged: "{{ ('cinder' in glance_helm_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}"
Mohammed Naser01c78ca2022-09-08 22:21:04 -040030 capabilities:
Tadas Sutkaitis4ace4182023-02-27 04:31:52 +020031 add: "{{ ('cinder' in glance_helm_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | ternary(['SYS_ADMIN'], []) }}" # noqa: yaml[line-length]
Mohammed Naser01c78ca2022-09-08 22:21:04 -040032 useHostNetwork:
Mohammed Naser2145fc32023-01-29 23:23:03 +000033 api: "{{ ('cinder' in glance_helm_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}"
Mohammed Naserb7b97d62022-03-12 16:30:00 -050034 replicas:
35 api: 3
36 conf:
37 glance:
38 DEFAULT:
39 log_config_append: null
40 show_image_direct_url: true
41 show_multiple_locations: true
42 enable_import_methods: "[]"
Oleksandr Kozachenko0be54c62022-11-10 07:35:04 +010043 workers: 8
Mohammed Naserb7b97d62022-03-12 16:30:00 -050044 cors:
45 allowed_origins: "*"
Mohammed Naserc6e431b2024-03-15 01:21:44 -040046 database:
vexxhost-botb6d97b92024-08-11 23:04:34 -040047 connection_recycle_time: 600
48 max_overflow: 50
49 max_pool_size: 5
50 pool_timeout: 30
Mohammed Naser124afbb2023-03-02 14:24:42 +010051 image_format:
vexxhost-bota0998682024-06-17 20:39:37 +020052 disk_formats: aki,ari,qcow2,raw
ricolin2d8dd482022-07-07 06:55:02 +080053 oslo_messaging_notifications:
54 driver: noop
Mohammed Naserb7b97d62022-03-12 16:30:00 -050055 manifests:
56 ingress_api: false
57 service_ingress_api: false
okozachenko564a2ac2022-05-27 19:03:19 +100058
Mohammed Naser2145fc32023-01-29 23:23:03 +000059_glance_ingress_annotations:
okozachenko564a2ac2022-05-27 19:03:19 +100060 nginx.ingress.kubernetes.io/proxy-body-size: "0"
61 nginx.ingress.kubernetes.io/proxy-request-buffering: "off"