blob: 00371b55efff8f75861eeef64ddc631cbdc911f4 [file] [log] [blame]
Mohammed Naser3b655592023-02-10 05:59:10 +00001# Copyright (c) 2023 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
15_rook_ceph_cluster_spec:
16 cephVersion:
Mohammed Naser31171f42023-03-19 00:10:46 +000017 image: "{{ atmosphere_images['ceph'] | vexxhost.kubernetes.docker_image('ref') }}"
Mohammed Naser3b655592023-02-10 05:59:10 +000018 external:
19 enable: true
Yaguang Tang3a3e4092024-10-07 02:04:07 +080020 # NOTE(yaguang): As we are using external ceph cluster, so we can safely disable
21 # rook operator monitoring related metrics collection.
22 monitoring:
23 metricsDisabled: true
Mohammed Naser3b655592023-02-10 05:59:10 +000024
25_rook_ceph_cluster_radosgw_spec:
26 preservePoolsOnDelete: true
27 metadataPool:
28 failureDomain: host
29 replicated:
30 size: 3
31 dataPool:
32 failureDomain: host
33 replicated:
34 size: 3
35 gateway:
36 port: 80
37 instances: 3
38 placement:
39 nodeAffinity:
40 requiredDuringSchedulingIgnoredDuringExecution:
41 nodeSelectorTerms:
42 - matchExpressions:
43 - key: openstack-control-plane
44 operator: In
45 values: ["enabled"]
46
47_rook_ceph_cluster_helm_values:
48 clusterName: "{{ rook_ceph_cluster_name }}"
49 configOverride: |
50 [client]
51 rgw keystone api version = 3
52 rgw keystone url = http://keystone-api.openstack.svc.cluster.local:5000
53 rgw keystone admin user = "{{ openstack_helm_endpoints.identity.auth.rgw.username }}"
54 rgw keystone admin password = "{{ openstack_helm_endpoints.identity.auth.rgw.password }}"
55 rgw_keystone admin domain = service
56 rgw_keystone admin project = service
57 rgw keystone implicit tenants = true
Guilherme Steinmüller733ec322023-04-20 16:11:41 -030058 rgw keystone accepted roles = member,admin,reader
Mohammed Naser3b655592023-02-10 05:59:10 +000059 rgw_keystone accepted admin roles = admin
60 rgw keystone token cache size = 0
61 rgw s3 auth use keystone = true
62 rgw swift account in url = true
63 rgw swift versioning enabled = true
64 cephClusterSpec: "{{ _rook_ceph_cluster_spec | combine(rook_ceph_cluster_spec, recursive=True) }}"
65 cephBlockPools: []
66 cephFileSystems: []
67 cephObjectStores:
68 - name: "{{ rook_ceph_cluster_name }}"
69 spec: "{{ _rook_ceph_cluster_radosgw_spec | combine(rook_ceph_cluster_radosgw_spec, recursive=True) }}"
70 storageClass:
71 enabled: false
72
73_rook_ceph_cluster_radosgw_annotations:
74 nginx.ingress.kubernetes.io/proxy-body-size: "0"
75 nginx.ingress.kubernetes.io/proxy-request-buffering: "off"