Integrated deployment configuration and documentation.
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.

shipyard.yaml 7.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. ---
  2. schema: armada/Chart/v1
  3. metadata:
  4. schema: metadata/Document/v1
  5. name: ucp-shipyard
  6. layeringDefinition:
  7. abstract: false
  8. layer: global
  9. storagePolicy: cleartext
  10. substitutions:
  11. # Chart source
  12. - src:
  13. schema: pegleg/SoftwareVersions/v1
  14. name: software-versions
  15. path: .charts.ucp.shipyard
  16. dest:
  17. path: .source
  18. # Images
  19. - src:
  20. schema: pegleg/SoftwareVersions/v1
  21. name: software-versions
  22. path: .images.ucp.shipyard
  23. dest:
  24. path: .values.images.tags
  25. # Node ports
  26. - src:
  27. schema: pegleg/CommonAddresses/v1
  28. name: common-addresses
  29. path: .node_ports.shipyard_api
  30. dest:
  31. path: .values.network.shipyard.node_port
  32. - src:
  33. schema: pegleg/CommonAddresses/v1
  34. name: common-addresses
  35. path: .node_ports.airflow_web
  36. dest:
  37. path: .values.network.airflow.web.node_port
  38. # Endpoints
  39. - src:
  40. schema: pegleg/EndpointCatalogue/v1
  41. name: ucp_endpoints
  42. path: .ucp.identity
  43. dest:
  44. path: .values.endpoints.identity
  45. - src:
  46. schema: pegleg/EndpointCatalogue/v1
  47. name: ucp_endpoints
  48. path: .ucp.postgresql
  49. dest:
  50. path: .values.endpoints.postgresql_shipyard_db
  51. - src:
  52. schema: pegleg/EndpointCatalogue/v1
  53. name: ucp_endpoints
  54. path: .ucp.postgresql
  55. dest:
  56. path: .values.endpoints.postgresql_airflow_db
  57. - src:
  58. schema: pegleg/EndpointCatalogue/v1
  59. name: ucp_endpoints
  60. path: .ucp.shipyard
  61. dest:
  62. path: .values.endpoints.shipyard
  63. - src:
  64. schema: pegleg/EndpointCatalogue/v1
  65. name: ucp_endpoints
  66. path: .ucp.airflow_web
  67. dest:
  68. path: .values.endpoints.airflow_web
  69. - src:
  70. schema: pegleg/EndpointCatalogue/v1
  71. name: ucp_endpoints
  72. path: .ucp.airflow_flower
  73. dest:
  74. path: .values.endpoints.airflow_flower
  75. - src:
  76. schema: pegleg/EndpointCatalogue/v1
  77. name: ucp_endpoints
  78. path: .ucp.oslo_messaging
  79. dest:
  80. path: .values.endpoints.olso_messaging
  81. - src:
  82. schema: pegleg/EndpointCatalogue/v1
  83. name: ucp_endpoints
  84. path: .ucp.oslo_cache
  85. dest:
  86. path: .values.endpoints.oslo_cache
  87. # Database path
  88. - src:
  89. schema: pegleg/AccountCatalogue/v1
  90. name: ucp_service_accounts
  91. path: .ucp.shipyard.postgres.database
  92. dest:
  93. path: .values.endpoints.postgresql_shipyard_db.path
  94. pattern: 'DB_NAME'
  95. - src:
  96. schema: pegleg/AccountCatalogue/v1
  97. name: ucp_service_accounts
  98. path: .ucp.airflow.postgres.database
  99. dest:
  100. path: .values.endpoints.postgresql_airflow_db.path
  101. pattern: 'DB_NAME'
  102. # Credentials
  103. - src:
  104. schema: pegleg/AccountCatalogue/v1
  105. name: ucp_service_accounts
  106. path: .ucp.postgres.admin
  107. dest:
  108. path: .values.endpoints.postgresql_shipyard_db.auth.admin
  109. - src:
  110. schema: pegleg/AccountCatalogue/v1
  111. name: ucp_service_accounts
  112. path: .ucp.postgres.admin
  113. dest:
  114. path: .values.endpoints.postgresql_airflow_db.auth.admin
  115. - src:
  116. schema: pegleg/AccountCatalogue/v1
  117. name: ucp_service_accounts
  118. path: .ucp.keystone.admin
  119. dest:
  120. path: .values.endpoints.identity.auth.admin
  121. - src:
  122. schema: pegleg/AccountCatalogue/v1
  123. name: ucp_service_accounts
  124. path: .ucp.shipyard.postgres
  125. dest:
  126. path: .values.endpoints.postgresql_shipyard_db.auth.user
  127. - src:
  128. schema: pegleg/AccountCatalogue/v1
  129. name: ucp_service_accounts
  130. path: .ucp.airflow.postgres
  131. dest:
  132. path: .values.endpoints.postgresql_airflow_db.auth.user
  133. - src:
  134. schema: pegleg/AccountCatalogue/v1
  135. name: ucp_service_accounts
  136. path: .ucp.airflow.oslo_messaging
  137. dest:
  138. path: .values.endpoints.oslo_messaging.auth.user
  139. # Secrets
  140. - dest:
  141. path: .values.endpoints.identity.auth.admin.password
  142. src:
  143. schema: deckhand/Passphrase/v1
  144. name: ucp_keystone_admin_password
  145. path: .
  146. - dest:
  147. path: .values.endpoints.postgresql_shipyard_db.auth.admin.password
  148. src:
  149. schema: deckhand/Passphrase/v1
  150. name: ucp_postgres_admin_password
  151. path: .
  152. - dest:
  153. path: .values.endpoints.postgresql_airflow_db.auth.admin.password
  154. src:
  155. schema: deckhand/Passphrase/v1
  156. name: ucp_postgres_admin_password
  157. path: .
  158. - dest:
  159. path: .values.endpoints.postgresql_airflow_celery_db.auth.admin.password
  160. src:
  161. schema: deckhand/Passphrase/v1
  162. name: ucp_postgres_admin_password
  163. path: .
  164. - dest:
  165. path: .values.endpoints.identity.auth.shipyard.password
  166. src:
  167. schema: deckhand/Passphrase/v1
  168. name: ucp_shipyard_keystone_password
  169. path: .
  170. - dest:
  171. path: .values.endpoints.postgresql_shipyard_db.auth.user.password
  172. src:
  173. schema: deckhand/Passphrase/v1
  174. name: ucp_shipyard_postgres_password
  175. path: .
  176. - dest:
  177. path: .values.endpoints.postgresql_airflow_db.auth.user.password
  178. src:
  179. schema: deckhand/Passphrase/v1
  180. name: ucp_airflow_postgres_password
  181. path: .
  182. - dest:
  183. path: .values.endpoints.postgresql_airflow_celery_db.auth.user.password
  184. src:
  185. schema: deckhand/Passphrase/v1
  186. name: ucp_airflow_postgres_password
  187. path: .
  188. - src:
  189. schema: deckhand/Passphrase/v1
  190. name: ucp_oslo_messaging_password
  191. path: .
  192. dest:
  193. path: .values.endpoints.oslo_messaging.auth.user.password
  194. data:
  195. chart_name: shipyard
  196. release: ucp-shipyard
  197. namespace: ucp
  198. wait:
  199. timeout: 600
  200. labels:
  201. release_group: airship-ucp-shipyard
  202. test:
  203. enabled: true
  204. options:
  205. cleanup: true
  206. install:
  207. no_hooks: false
  208. upgrade:
  209. no_hooks: false
  210. pre:
  211. delete:
  212. - type: job
  213. labels:
  214. release_group: airship-ucp-shipyard
  215. values:
  216. endpoints:
  217. postgresql_airflow_db:
  218. name: postgresql
  219. hosts:
  220. default: postgresql
  221. path: /DB_NAME
  222. scheme: postgresql+psycopg2
  223. port:
  224. postgresql:
  225. default: 5432
  226. host_fqdn_override:
  227. default: null
  228. postgresql_shipyard_db:
  229. name: postgresql
  230. hosts:
  231. default: postgresql
  232. path: /DB_NAME
  233. scheme: postgresql+psycopg2
  234. port:
  235. postgresql:
  236. default: 5432
  237. host_fqdn_override:
  238. default: null
  239. prod_environment: true
  240. pod:
  241. replicas:
  242. shipyard:
  243. api: 1
  244. airflow:
  245. web: 1
  246. worker: 1
  247. flower: 1
  248. scheduler: 1
  249. labels:
  250. job:
  251. node_selector_key: ucp-control-plane
  252. node_selector_value: enabled
  253. network:
  254. shipyard:
  255. enable_node_port: true
  256. airflow:
  257. web:
  258. enable_node_port: true
  259. conf:
  260. shipyard:
  261. keystone_authtoken:
  262. memcache_security_strategy: None
  263. dependencies:
  264. - shipyard-htk
  265. ...
  266. ---
  267. schema: armada/Chart/v1
  268. metadata:
  269. schema: metadata/Document/v1
  270. name: shipyard-htk
  271. layeringDefinition:
  272. abstract: false
  273. layer: global
  274. storagePolicy: cleartext
  275. substitutions:
  276. - src:
  277. schema: pegleg/SoftwareVersions/v1
  278. name: software-versions
  279. path: .charts.ucp.shipyard-htk
  280. dest:
  281. path: .source
  282. data:
  283. chart_name: shipyard-htk
  284. release: shipyard-htk
  285. namespace: shipyard-htk
  286. values: {}
  287. dependencies: []
  288. ...