add app registry config to setup tool: default off

This commit is contained in:
Jimmy Zelinskie 2017-06-16 15:10:15 -04:00
parent 37a6f1f5d9
commit e028e159c0
2 changed files with 17 additions and 0 deletions

View file

@ -399,6 +399,22 @@
</div>
</div>
<!-- App Registry -->
<div class="co-panel">
<div class="co-panel-heading">
<i class="fa ci-appcube"></i> Application Registry
</div>
<div class="co-panel-body">
<div class="description">
<p>If enabled, an additional registry API will be available for managing applications (Kubernetes manifests, Helm charts) via the <a href="https://github.com/app-registry">App Registry specification</a>. A great place to get started is to install the <a href="https://github.com/app-registry/appr-helm-plugin">Helm Registry Plugin</a>.
</div>
<div class="config-bool-field" binding="config.FEATURE_APP_REGISTRY">
Enable App Registry
</div>
</div>
</div>
<!-- BitTorrent pull -->
<div class="co-panel">
<div class="co-panel-heading">

View file

@ -25,6 +25,7 @@ def add_enterprise_config_defaults(config_obj, current_secret_key, hostname):
config_obj['FEATURE_MAILING'] = config_obj.get('FEATURE_MAILING', False)
config_obj['FEATURE_BUILD_SUPPORT'] = config_obj.get('FEATURE_BUILD_SUPPORT', False)
config_obj['FEATURE_ACI_CONVERSION'] = config_obj.get('FEATURE_ACI_CONVERSION', False)
config_obj['FEATURE_APP_REGISTRY'] = config_obj.get('FEATURE_APP_REGISTRY', False)
# Default the signer config.
config_obj['GPG2_PRIVATE_KEY_FILENAME'] = config_obj.get('GPG2_PRIVATE_KEY_FILENAME',