Mohammed Naser | b7b97d6 | 2022-03-12 16:30:00 -0500 | [diff] [blame] | 1 | # 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 Naser | 2145fc3 | 2023-01-29 23:23:03 +0000 | [diff] [blame] | 15 | _glance_helm_values: |
Mohammed Naser | b7b97d6 | 2022-03-12 16:30:00 -0500 | [diff] [blame] | 16 | endpoints: "{{ openstack_helm_endpoints }}" |
| 17 | storage: rbd |
| 18 | images: |
Michiel Piscaer | 60d09f9 | 2023-01-20 18:58:55 +0100 | [diff] [blame] | 19 | tags: "{{ atmosphere_images | vexxhost.atmosphere.openstack_helm_image_tags('glance') }}" |
Mohammed Naser | b7b97d6 | 2022-03-12 16:30:00 -0500 | [diff] [blame] | 20 | bootstrap: |
| 21 | enabled: false |
| 22 | pod: |
Mohammed Naser | 01c78ca | 2022-09-08 22:21:04 -0400 | [diff] [blame] | 23 | security_context: |
| 24 | glance: |
| 25 | container: |
| 26 | glance_api: |
Tadas Sutkaitis | 4ace418 | 2023-02-27 04:31:52 +0200 | [diff] [blame] | 27 | 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 Naser | 2145fc3 | 2023-01-29 23:23:03 +0000 | [diff] [blame] | 29 | privileged: "{{ ('cinder' in glance_helm_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}" |
Mohammed Naser | 01c78ca | 2022-09-08 22:21:04 -0400 | [diff] [blame] | 30 | capabilities: |
Tadas Sutkaitis | 4ace418 | 2023-02-27 04:31:52 +0200 | [diff] [blame] | 31 | add: "{{ ('cinder' in glance_helm_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | ternary(['SYS_ADMIN'], []) }}" # noqa: yaml[line-length] |
Mohammed Naser | 01c78ca | 2022-09-08 22:21:04 -0400 | [diff] [blame] | 32 | useHostNetwork: |
Mohammed Naser | 2145fc3 | 2023-01-29 23:23:03 +0000 | [diff] [blame] | 33 | api: "{{ ('cinder' in glance_helm_values.get('conf', {}).get('glance', {}).get('glance_store', {}).get('stores', '')) | bool }}" |
Mohammed Naser | b7b97d6 | 2022-03-12 16:30:00 -0500 | [diff] [blame] | 34 | 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 Kozachenko | 0be54c6 | 2022-11-10 07:35:04 +0100 | [diff] [blame] | 43 | workers: 8 |
Mohammed Naser | b7b97d6 | 2022-03-12 16:30:00 -0500 | [diff] [blame] | 44 | cors: |
| 45 | allowed_origins: "*" |
Mohammed Naser | c6e431b | 2024-03-15 01:21:44 -0400 | [diff] [blame] | 46 | database: |
vexxhost-bot | 7f7b822 | 2024-08-10 22:41:59 -0400 | [diff] [blame] | 47 | connection_recycle_time: 600 |
| 48 | max_overflow: 50 |
| 49 | max_pool_size: 5 |
| 50 | pool_timeout: 30 |
Mohammed Naser | 124afbb | 2023-03-02 14:24:42 +0100 | [diff] [blame] | 51 | image_format: |
vexxhost-bot | 7249069 | 2024-06-17 20:41:58 +0200 | [diff] [blame] | 52 | disk_formats: aki,ari,qcow2,raw |
ricolin | 2d8dd48 | 2022-07-07 06:55:02 +0800 | [diff] [blame] | 53 | oslo_messaging_notifications: |
| 54 | driver: noop |
Mohammed Naser | b7b97d6 | 2022-03-12 16:30:00 -0500 | [diff] [blame] | 55 | manifests: |
| 56 | ingress_api: false |
| 57 | service_ingress_api: false |
okozachenko | 564a2ac | 2022-05-27 19:03:19 +1000 | [diff] [blame] | 58 | |
Mohammed Naser | 2145fc3 | 2023-01-29 23:23:03 +0000 | [diff] [blame] | 59 | _glance_ingress_annotations: |
okozachenko | 564a2ac | 2022-05-27 19:03:19 +1000 | [diff] [blame] | 60 | nginx.ingress.kubernetes.io/proxy-body-size: "0" |
| 61 | nginx.ingress.kubernetes.io/proxy-request-buffering: "off" |