blob: c22fccd0ff7de31c9d34f146c7d13391aa858f8d [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 Tang75bfc0d2024-09-24 10:56:55 +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 }}"
Mohammed Naser948443c2024-08-23 11:01:17 -040049 # NOTE(mnaser): We need to disable the token cache until the the backported
50 # fix https://tracker.ceph.com/issues/64094 is released.
Mohammed Naser3b655592023-02-10 05:59:10 +000051 configOverride: |
52 [client]
53 rgw keystone api version = 3
54 rgw keystone url = http://keystone-api.openstack.svc.cluster.local:5000
55 rgw keystone admin user = "{{ openstack_helm_endpoints.identity.auth.rgw.username }}"
56 rgw keystone admin password = "{{ openstack_helm_endpoints.identity.auth.rgw.password }}"
57 rgw_keystone admin domain = service
58 rgw_keystone admin project = service
59 rgw keystone implicit tenants = true
Guilherme Steinmüller733ec322023-04-20 16:11:41 -030060 rgw keystone accepted roles = member,admin,reader
Mohammed Naser3b655592023-02-10 05:59:10 +000061 rgw_keystone accepted admin roles = admin
62 rgw keystone token cache size = 0
63 rgw s3 auth use keystone = true
64 rgw swift account in url = true
65 rgw swift versioning enabled = true
66 cephClusterSpec: "{{ _rook_ceph_cluster_spec | combine(rook_ceph_cluster_spec, recursive=True) }}"
67 cephBlockPools: []
68 cephFileSystems: []
69 cephObjectStores:
70 - name: "{{ rook_ceph_cluster_name }}"
71 spec: "{{ _rook_ceph_cluster_radosgw_spec | combine(rook_ceph_cluster_radosgw_spec, recursive=True) }}"
72 storageClass:
73 enabled: false
74
75_rook_ceph_cluster_radosgw_annotations:
76 nginx.ingress.kubernetes.io/proxy-body-size: "0"
77 nginx.ingress.kubernetes.io/proxy-request-buffering: "off"