blob: fe95008da844bb102538467c691e47d6863915c0 [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
20
21_rook_ceph_cluster_radosgw_spec:
22 preservePoolsOnDelete: true
23 metadataPool:
24 failureDomain: host
25 replicated:
26 size: 3
27 dataPool:
28 failureDomain: host
29 replicated:
30 size: 3
31 gateway:
32 port: 80
33 instances: 3
34 placement:
35 nodeAffinity:
36 requiredDuringSchedulingIgnoredDuringExecution:
37 nodeSelectorTerms:
38 - matchExpressions:
39 - key: openstack-control-plane
40 operator: In
41 values: ["enabled"]
42
43_rook_ceph_cluster_helm_values:
44 clusterName: "{{ rook_ceph_cluster_name }}"
45 configOverride: |
46 [client]
47 rgw keystone api version = 3
48 rgw keystone url = http://keystone-api.openstack.svc.cluster.local:5000
49 rgw keystone admin user = "{{ openstack_helm_endpoints.identity.auth.rgw.username }}"
50 rgw keystone admin password = "{{ openstack_helm_endpoints.identity.auth.rgw.password }}"
51 rgw_keystone admin domain = service
52 rgw_keystone admin project = service
53 rgw keystone implicit tenants = true
Guilherme Steinmüller733ec322023-04-20 16:11:41 -030054 rgw keystone accepted roles = member,admin,reader
Mohammed Naser3b655592023-02-10 05:59:10 +000055 rgw_keystone accepted admin roles = admin
56 rgw keystone token cache size = 0
57 rgw s3 auth use keystone = true
58 rgw swift account in url = true
59 rgw swift versioning enabled = true
60 cephClusterSpec: "{{ _rook_ceph_cluster_spec | combine(rook_ceph_cluster_spec, recursive=True) }}"
61 cephBlockPools: []
62 cephFileSystems: []
63 cephObjectStores:
64 - name: "{{ rook_ceph_cluster_name }}"
65 spec: "{{ _rook_ceph_cluster_radosgw_spec | combine(rook_ceph_cluster_radosgw_spec, recursive=True) }}"
66 storageClass:
67 enabled: false
68
69_rook_ceph_cluster_radosgw_annotations:
70 nginx.ingress.kubernetes.io/proxy-body-size: "0"
71 nginx.ingress.kubernetes.io/proxy-request-buffering: "off"