Documentation ¶
Overview ¶
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.
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.
Index ¶
Constants ¶
const ( KyestoneConfigFilename = "keystone.conf" KyestonePolicyFilename = "policy.yaml" ApacheWSGIFilename = "wsgi-keystone.conf" )
Configuration constants
Variables ¶
var ApacheConfig = `` /* 770-byte string literal not displayed */
var KeystoneConfigDefaults = osconf.IniFile{ "DEFAULT": map[string]string{ "max_token_size": "255", "transport_url": "rabbit://user:password@rabbit", }, "cache": map[string]string{ "backend": "dogpile.cache.memcached", "enabled": "true", "memcach_servers": "memcached.default.svc.cluster.local:11211", }, "credential": map[string]string{ "key_repository": "/etc/keystone/credential-keys/", }, "database": map[string]string{ "connection": "mysql+pymysql://keystone:password@mariadb.default.svc.cluster.local:3306/keystone", "max_retries": "-1", }, "fernet_tokens": map[string]string{ "key_repository": "/etc/keystone/fernet-keys/", }, "identity": map[string]string{ "domain_config_dir": "/etc/keystonedomains", "domain_specific_drivers_enabled": "true", }, "oslo_messaging_notifications": map[string]string{ "driver": "messagingv2", }, "oslo_messaging_rabbit": map[string]string{ "rabbit_ha_queues": "false", }, "oslo_middleware": map[string]string{ "enable_proxy_headers_parsing": "true", }, "security_compliance": map[string]string{ "lockout_duration": "1800", "lockout_failure_attempts": "5", }, "token": map[string]string{ "expiration": "43200", "provider": "fernet", }, }
KeystoneConfigDefaults default values for keystone.conf
var PolicyDefaults = osconf.Policy{
"identity:create_identity_providers": "rule:identity:create_identity_provider",
"identity:get_identity_providers": "rule:identity:get_identity_provider",
"identity:update_identity_providers": "rule:identity:update_identity_provider",
"identity:delete_identity_providers": "rule:identity:delete_identity_provider",
"identity:get_mapping": "rule:identity:list_mappings",
}
var ServerEnvVars = []corev1.EnvVar{ corev1.EnvVar{ Name: "APACHE_RUN_USER", Value: "www-data", }, corev1.EnvVar{ Name: "APACHE_RUN_GROUP", Value: "www-data", }, corev1.EnvVar{ Name: "APACHE_PID_FILE", Value: "/var/run/apache2/apache2.pid", }, corev1.EnvVar{ Name: "APACHE_RUN_DIR", Value: "/var/run/apache2", }, corev1.EnvVar{ Name: "APACHE_LOCK_DIR", Value: "/var/lock/apache2", }, corev1.EnvVar{ Name: "APACHE_LOG_DIR", Value: "/var/log/apache2", }, }
Functions ¶
This section is empty.
Types ¶
type KeystoneServerReconciler ¶
KeystoneServerReconciler reconciles a KeystoneServer object
func (*KeystoneServerReconciler) SetupWithManager ¶
func (r *KeystoneServerReconciler) SetupWithManager(mgr ctrl.Manager) error