8장. OpenShift Ansible 브로커 구성
8.1. 개요 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
OpenShift Ansible 브로커 (OAB)를 클러스터에 배포하면 시작 시 로드된 브로커의 구성 파일에 의해 해당 동작이 크게 지정됩니다. 브로커의 구성은 브로커의 네임스페이스(기본적으로openshift-ansible-service-broker )에 ConfigMap 오브젝트로 저장됩니다.
OpenShift Ansible 브로커 구성 파일의 예
registry:
- type: dockerhub
name: docker
url: https://registry.hub.docker.com
org: <dockerhub_org>
fail_on_error: false
- type: rhcc
name: rhcc
url: https://registry.redhat.io
fail_on_error: true
white_list:
- "^foo.*-apb$"
- ".*-apb$"
black_list:
- "bar.*-apb$"
- "^my-apb$"
- type: local_openshift
name: lo
namespaces:
- openshift
white_list:
- ".*-apb$"
dao:
etcd_host: localhost
etcd_port: 2379
log:
logfile: /var/log/ansible-service-broker/asb.log
stdout: true
level: debug
color: true
openshift:
host: ""
ca_file: ""
bearer_token_file: ""
image_pull_policy: IfNotPresent
sandbox_role: "edit"
keep_namespace: false
keep_namespace_on_error: true
broker:
bootstrap_on_startup: true
dev_broker: true
launch_apb_on_bind: false
recovery: true
output_request: true
ssl_cert_key: /path/to/key
ssl_cert: /path/to/cert
refresh_interval: "600s"
auth:
- type: basic
enabled: true
secrets:
- title: Database credentials
secret: db_creds
apb_name: dh-rhscl-postgresql-apb