override osbs default input.json to ensure secure comms everywhere

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller 2016-12-14 23:24:39 +00:00
parent bb8b90aba4
commit 8a3f9ed982
5 changed files with 79 additions and 21 deletions

View file

@ -81,6 +81,10 @@
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 }}",
@ -113,6 +117,10 @@
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,6 +523,10 @@
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 }}",
@ -555,6 +559,10 @@
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

@ -1,19 +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": [
]
}

View file

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

View file

@ -0,0 +1,61 @@
{
"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
}
}
}
},
{
"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
}
}
]
}