Revert "override osbs default input.json to ensure secure comms everywhere"

This reverts commit 7f809c31fb.
This commit is contained in:
Adam Miller 2016-12-16 06:39:35 +00:00
parent a6747b056a
commit 0a260d3ebc
5 changed files with 21 additions and 80 deletions

View file

@ -81,10 +81,6 @@
verbose: 0,
build_json_dir: '/etc/osbs/input/',
openshift_required_version: 1.1.0,
ipa_realm: "{{ipa_realm}}",
osbs_url: "{{osbs_url}}",
registry: "{{docker_registry}}",
parent_registry: "{{source_registry}}"
},
default: {
username: "{{ osbs_koji_stg_username }}",
@ -117,10 +113,6 @@
verbose: 0,
build_json_dir: '/etc/osbs/input/',
openshift_required_version: 1.1.0,
ipa_realm: "{{ipa_realm}}",
osbs_url: "{{osbs_url}}",
registry: "{{docker_registry}}",
parent_registry: "{{source_registry}}"
},
default: {
username: "{{ osbs_koji_prod_username }}",

View file

@ -523,10 +523,6 @@
verbose: 0,
build_json_dir: '/etc/osbs/input/',
openshift_required_version: 1.1.0,
ipa_realm: "{{ipa_realm}}",
osbs_url: "{{osbs_url}}",
registry: "{{docker_registry}}",
parent_registry: "{{source_registry}}"
},
default: {
username: "{{ osbs_koji_stg_username }}",
@ -559,10 +555,6 @@
verbose: 0,
build_json_dir: '/etc/osbs/input/',
openshift_required_version: 1.1.0,
ipa_realm: "{{ipa_realm}}",
osbs_url: "{{osbs_url}}",
registry: "{{docker_registry}}",
parent_registry: "{{source_registry}}"
},
default: {
username: "{{ osbs_koji_prod_username }}",

View file

@ -0,0 +1,19 @@
{
"disable_plugins": [
{
"plugin_type": "postbuild_plugins",
"plugin_name": "pulp_push"
},
{
"plugin_type": "postbuild_plugins",
"plugin_name": "pulp_sync"
},
{
"plugin_type": "postbuild_plugins",
"plugin_name": "pulp_pull"
}
],
"enable_plugins": [
]
}

View file

@ -13,8 +13,8 @@
state: directory
- name: Upload OSBS Site Customizations plugin conf
template:
src: "osbs-site-customize.json.j2"
copy:
src: "osbs-site-customize.json"
dest: "/etc/osbs/input/prod_customize.json"
mode: 0400

View file

@ -1,62 +0,0 @@
{
"disable_plugins": [
{
"plugin_type": "postbuild_plugins",
"plugin_name": "pulp_push"
},
{
"plugin_type": "postbuild_plugins",
"plugin_name": "pulp_sync"
},
{
"plugin_type": "postbuild_plugins",
"plugin_name": "pulp_pull"
}
],
"enable_plugins": [
{
"plugin_type": "postbuild_plugins",
"plugin_name": "tag_and_push",
"plugin_args": {
"registries": {
"{{general.registry}}": {
"insecure": false,
"version": "v2"
}
}
}
},
{
"plugin_type": "prebuild_plugins",
"plugin_name": "pull_base_image",
"plugin_args": {
"parent_registry_insecure": false,
"parent_registry": "{{general.parent_registry}}"
}
},
{
"plugin_type": "exit_plugins",
"plugin_name": "koji_promote",
"plugin_args": {
"kojihub": "{{default.koji_hub}}",
"verify_ssl": true,
"target": "rawhide-docker-candidate",
"url": "{{default.openshift_url}}",
"blocksize": 10485760,
"koji_principal": "osbs/{{general.osbs_url}}@{{general.ipa_realm}}",
"koji_keytab": "FILE:/etc/krb5.osbs_{{general.osbs_url}}.keytab",
"use_auth": true
}
},
{
"plugin_type": "exit_plugins",
"plugin_name": "store_metadata_in_osv3",
"plugin_args": {
"url": "{{default.openshift_url}}",
"verify_ssl": false,
"use_auth": true
}
}
]
}