Fuel CCP - Glance deployment
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

glance-registry.yaml 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. dsl_version: 0.4.0
  2. service:
  3. name: glance-registry
  4. ports:
  5. - {{ glance.registry_port }}
  6. annotations:
  7. service:
  8. prometheus.io/probe: "true"
  9. prometheus.io/probe_path: "/healthcheck"
  10. containers:
  11. - name: glance-registry
  12. image: glance-registry
  13. daemon:
  14. files:
  15. - glance-registry-conf
  16. # {% if glance.tls.enabled %}
  17. - ca_cert
  18. # {% endif %}
  19. dependencies:
  20. - glance-api
  21. command: glance-registry
  22. # {% if glance.tls.enabled %}
  23. - name: nginx-glance-registry
  24. image: nginx
  25. daemon:
  26. files:
  27. - upstreams
  28. - servers
  29. - server-cert
  30. - server-key
  31. command: nginx
  32. # {% endif %}
  33. files:
  34. glance-registry-conf:
  35. path: /etc/glance/glance-registry.conf
  36. content: glance-registry.conf.j2
  37. # {% if glance.tls.enabled %}
  38. servers:
  39. path: /etc/nginx/conf.d/servers.conf
  40. content: nginx-registry.conf.j2
  41. perm: "0400"
  42. upstreams:
  43. path: /etc/nginx/conf.d/upstreams.conf
  44. content: upstreams.conf.j2
  45. perm: "0400"
  46. ca_cert:
  47. path: /opt/ccp/etc/tls/ca.pem
  48. content: ca-cert.pem.j2
  49. server-cert:
  50. path: /opt/ccp/etc/tls/server-cert.pem
  51. content: server-cert.pem.j2
  52. perm: "0400"
  53. server-key:
  54. path: /opt/ccp/etc/tls/server-key.pem
  55. content: server-key.pem.j2
  56. perm: "0400"
  57. # {% endif %}