
1. Keystone, heat, and horizon CRs are eliminated, and deploy automatically at the beginning. 2. Use a constant namespace "openstack" for the auto-deployed resources. 3. Adjust resource request. Depends-On: https://review.opendev.org/727868/ Change-Id: I75bc8b9e73035f3ca73f00612bc4c50f42473dc3
41 lines
1.2 KiB
Django/Jinja
41 lines
1.2 KiB
Django/Jinja
---
|
|
# Copyright 2020 VEXXHOST, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: horizon
|
|
namespace: openstack
|
|
data:
|
|
local_settings.py: |
|
|
import os
|
|
from openstack_dashboard.defaults import OPENSTACK_NEUTRON_NETWORK
|
|
from openstack_dashboard.settings import HORIZON_CONFIG
|
|
|
|
ALLOWED_HOSTS = ['*']
|
|
|
|
SECRET_KEY = os.getenv('SECRET_KEY')
|
|
|
|
CACHES = {
|
|
'default': {
|
|
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
|
|
'LOCATION': 'mcrouter-memcached-horizon:11211',
|
|
},
|
|
}
|
|
|
|
OPENSTACK_KEYSTONE_URL = '{{ auth_url }}'
|
|
|
|
OPENSTACK_NEUTRON_NETWORK['enable_ha_router'] = True
|