configmap.yaml.j2 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ---
  2. apiVersion: v1
  3. kind: ConfigMap
  4. metadata:
  5. name: broker-config
  6. namespace: openshift-ansible-service-broker
  7. labels:
  8. app: openshift-ansible-service-broker
  9. data:
  10. broker-config: |
  11. registry:
  12. - type: {{ ansible_service_broker_registry_type }}
  13. name: {{ ansible_service_broker_registry_name }}
  14. url: {{ ansible_service_broker_registry_url }}
  15. org: {{ ansible_service_broker_registry_organization }}
  16. tag: {{ ansible_service_broker_registry_tag }}
  17. white_list: {{ ansible_service_broker_registry_whitelist | to_yaml }}
  18. auth_type: "{{ ansible_service_broker_registry_auth_type | default("") }}"
  19. auth_name: "{{ ansible_service_broker_registry_auth_name | default("") }}"
  20. - type: local_openshift
  21. name: localregistry
  22. namespaces: ['openshift']
  23. white_list: {{ ansible_service_broker_local_registry_whitelist | to_yaml }}
  24. dao:
  25. type: crd
  26. log:
  27. stdout: true
  28. level: {{ ansible_service_broker_log_level }}
  29. color: true
  30. openshift:
  31. host: ""
  32. ca_file: ""
  33. bearer_token_file: ""
  34. namespace: openshift-ansible-service-broker
  35. sandbox_role: {{ ansible_service_broker_sandbox_role }}
  36. image_pull_policy: {{ ansible_service_broker_image_pull_policy }}
  37. keep_namespace: {{ ansible_service_broker_keep_namespace | bool | lower }}
  38. keep_namespace_on_error: {{ ansible_service_broker_keep_namespace_on_error | bool | lower }}
  39. broker:
  40. dev_broker: {{ ansible_service_broker_dev_broker | bool | lower }}
  41. {% if ansible_service_broker_enable_dashboard_redirector %}
  42. dashboard_redirector: {{ ansible_service_broker_dashboard_redirector_route }}
  43. {% endif %}
  44. bootstrap_on_startup: {{ ansible_service_broker_bootstrap_on_startup | bool | lower }}
  45. refresh_interval: {{ ansible_service_broker_refresh_interval }}
  46. launch_apb_on_bind: {{ ansible_service_broker_launch_apb_on_bind | bool | lower }}
  47. output_request: {{ ansible_service_broker_output_request | bool | lower }}
  48. recovery: {{ ansible_service_broker_recovery | bool | lower }}
  49. ssl_cert_key: /etc/tls/private/tls.key
  50. ssl_cert: /etc/tls/private/tls.crt
  51. auto_escalate: {{ ansible_service_broker_auto_escalate }}
  52. auth:
  53. - type: basic
  54. enabled: false