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 8.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  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.user
  137. dest:
  138. path: .values.endpoints.oslo_messaging.auth.user
  139. - src:
  140. schema: pegleg/AccountCatalogue/v1
  141. name: ucp_service_accounts
  142. path: .ucp.airflow.oslo_messaging.admin
  143. dest:
  144. path: .values.endpoints.oslo_messaging.auth.admin
  145. # Secrets
  146. - dest:
  147. path: .values.endpoints.identity.auth.admin.password
  148. src:
  149. schema: deckhand/Passphrase/v1
  150. name: ucp_keystone_admin_password
  151. path: .
  152. - dest:
  153. path: .values.endpoints.postgresql_shipyard_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_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.postgresql_airflow_celery_db.auth.admin.password
  166. src:
  167. schema: deckhand/Passphrase/v1
  168. name: ucp_postgres_admin_password
  169. path: .
  170. - dest:
  171. path: .values.endpoints.identity.auth.shipyard.password
  172. src:
  173. schema: deckhand/Passphrase/v1
  174. name: ucp_shipyard_keystone_password
  175. path: .
  176. - dest:
  177. path: .values.endpoints.postgresql_shipyard_db.auth.user.password
  178. src:
  179. schema: deckhand/Passphrase/v1
  180. name: ucp_shipyard_postgres_password
  181. path: .
  182. - dest:
  183. path: .values.endpoints.postgresql_airflow_db.auth.user.password
  184. src:
  185. schema: deckhand/Passphrase/v1
  186. name: ucp_airflow_postgres_password
  187. path: .
  188. - dest:
  189. path: .values.endpoints.postgresql_airflow_celery_db.auth.user.password
  190. src:
  191. schema: deckhand/Passphrase/v1
  192. name: ucp_airflow_postgres_password
  193. path: .
  194. - src:
  195. schema: deckhand/Passphrase/v1
  196. name: ucp_airflow_oslo_messaging_password
  197. path: .
  198. dest:
  199. path: .values.endpoints.oslo_messaging.auth.user.password
  200. - src:
  201. schema: deckhand/Passphrase/v1
  202. name: ucp_oslo_messaging_password
  203. path: .
  204. dest:
  205. path: .values.endpoints.oslo_messaging.auth.admin.password
  206. data:
  207. chart_name: shipyard
  208. release: ucp-shipyard
  209. namespace: ucp
  210. wait:
  211. timeout: 600
  212. labels:
  213. release_group: airship-ucp-shipyard
  214. test:
  215. enabled: true
  216. options:
  217. cleanup: true
  218. install:
  219. no_hooks: false
  220. upgrade:
  221. no_hooks: false
  222. pre:
  223. delete:
  224. - type: job
  225. labels:
  226. release_group: airship-ucp-shipyard
  227. values:
  228. endpoints:
  229. postgresql_airflow_db:
  230. name: postgresql
  231. hosts:
  232. default: postgresql
  233. path: /DB_NAME
  234. scheme: postgresql+psycopg2
  235. port:
  236. postgresql:
  237. default: 5432
  238. host_fqdn_override:
  239. default: null
  240. postgresql_shipyard_db:
  241. name: postgresql
  242. hosts:
  243. default: postgresql
  244. path: /DB_NAME
  245. scheme: postgresql+psycopg2
  246. port:
  247. postgresql:
  248. default: 5432
  249. host_fqdn_override:
  250. default: null
  251. prod_environment: true
  252. pod:
  253. replicas:
  254. shipyard:
  255. api: 1
  256. airflow:
  257. web: 1
  258. worker: 1
  259. flower: 1
  260. scheduler: 1
  261. labels:
  262. job:
  263. node_selector_key: ucp-control-plane
  264. node_selector_value: enabled
  265. network:
  266. shipyard:
  267. enable_node_port: true
  268. airflow:
  269. web:
  270. enable_node_port: true
  271. conf:
  272. shipyard:
  273. keystone_authtoken:
  274. memcache_security_strategy: None
  275. dependencies:
  276. - shipyard-htk
  277. ...
  278. ---
  279. schema: armada/Chart/v1
  280. metadata:
  281. schema: metadata/Document/v1
  282. name: shipyard-htk
  283. layeringDefinition:
  284. abstract: false
  285. layer: global
  286. storagePolicy: cleartext
  287. substitutions:
  288. - src:
  289. schema: pegleg/SoftwareVersions/v1
  290. name: software-versions
  291. path: .charts.ucp.shipyard-htk
  292. dest:
  293. path: .source
  294. data:
  295. chart_name: shipyard-htk
  296. release: shipyard-htk
  297. namespace: shipyard-htk
  298. values: {}
  299. dependencies: []
  300. ...