shipyard/tools/resources/shipyard.conf
Carter, Matthew (mc981n) 222b074cb1 Be configuration driven when referencing document names/schemas
Currently, any document name or schema referenced in the Shipyard
code base is a hard-coded string. Often times, these strings are
repeated throughout the code. This patch set adds a new configuration
section to shipyard.conf to define document names and schemas so they
can then be referenced in the Shipyard code via the oslo
configuration object. This functionality will be important for
upcoming Shipyard features which will call for more documents to be
validated as well as some new Shipyard-created docs.

Change-Id: I34ae8cd578bab730d004c3d176e3817b5a45c89e
2019-05-02 10:47:38 -05:00

51 lines
1.6 KiB
Plaintext

# A fake configuration file with default/fake values specified for use in
# basic testing of the Shipyard image
[airflow]
worker_endpoint_scheme = http
worker_port = 8793
[armada]
service_type = armada
[base]
postgresql_airflow_db = postgresql+psycopg2://airflow:password@postgresql.ucp.svc.cluster.local:5432/airflow
postgresql_db = postgresql+psycopg2://shipyard:password@postgresql.ucp.svc.cluster.local:5432/shipyard
web_server = http://airflow-web-int.ucp.svc.cluster.local:8080/
upgrade_db = false
[deckhand]
service_type = deckhand
[drydock]
service_type = physicalprovisioner
[keystone_authtoken]
auth_section = keystone_authtoken
auth_type = password
auth_uri = http://keystone-api.ucp.svc.cluster.local:80/v3
auth_url = http://keystone-api.ucp.svc.cluster.local:80/v3
auth_version = v3
delay_auth_decision = true
memcache_secret_key = secret
memcache_security_strategy = None
memcached_servers = memcached.ucp.svc.cluster.local:11211
password = password
project_domain_name = default
project_name = service
user_domain_name = default
username = shipyard
[k8s_logs]
ucp_namespace = ucp
[promenade]
service_type = kubernetesprovisioner
[requests_config]
airflow_log_connect_timeout = 5
airflow_log_read_timeout = 300
deckhand_client_connect_timeout = 5
deckhand_client_read_timeout = 300
validation_connect_timeout = 5
validation_read_timeout = 300
[shipyard]
service_type = shipyard
[oslo_policy]
policy_file = /etc/shipyard/policy.yaml
policy_default_rule = deny_all
[document_info]
deployment_configuration_name = deployment-configuration
deployment_configuration_schema = shipyard/DeploymentConfiguration/v1
deployment_strategy_schema = shipyard/DeploymentStrategy/v1