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.

77 lines
2.1 KiB

  1. apiVersion: template.openshift.io/v1
  2. kind: Template
  3. metadata:
  4. name: ${TEMPLATE_NAME}
  5. objects:
  6. - apiVersion: v1
  7. kind: Secret
  8. stringData :
  9. ConnectionString: ${CATALOG_DB_CONNECTION_SECRET}
  10. metadata:
  11. name: catalog-db-connection-secret
  12. type: Opaque
  13. - apiVersion: v1
  14. kind: Secret
  15. stringData :
  16. ConnectionString: ${IDENTITY_DB_CONNECTION_SECRET}
  17. metadata:
  18. name: identity-db-connection-secret
  19. type: Opaque
  20. - apiVersion: v1
  21. kind: Secret
  22. stringData :
  23. ConnectionString: ${MARKETING_DB_CONNECTION_SECRET}
  24. metadata:
  25. name: marketing-db-connection-secret
  26. type: Opaque
  27. - apiVersion: v1
  28. kind: Secret
  29. stringData :
  30. ConnectionString: ${ORDERING_DB_CONNECTION_SECRET}
  31. metadata:
  32. name: ordering-db-connection-secret
  33. type: Opaque
  34. - apiVersion: v1
  35. kind: Secret
  36. stringData :
  37. ConnectionString: ${SQL_PASSWORD_SECRET}
  38. metadata:
  39. name: sql-password--secret
  40. type: Opaque
  41. - apiVersion: v1
  42. kind: Secret
  43. stringData :
  44. ConnectionString: ${WEBHOOKS_DB_CONNECTION_SECRET}
  45. metadata:
  46. name: webhooks-db-connection-secret
  47. type: Opaque
  48. parameters:
  49. - description: The Catalog database connection string.
  50. displayName: Catalog Database Connection String
  51. name: CATALOG_DB_CONNECTION_SECRET
  52. required: true
  53. - description: The Identity database connection string.
  54. displayName: Identity Database Connection String
  55. name: IDENTITY_DB_CONNECTION_SECRET
  56. required: true
  57. - description: The Marketing database connection string.
  58. displayName: Marketing Database Connection String
  59. name: MARKETING_DB_CONNECTION_SECRET
  60. required: true
  61. - description: The Ordering database connection string.
  62. displayName: Ordering Database Connection String
  63. name: ORDERING_DB_CONNECTION_SECRET
  64. required: true
  65. - description: The SQL Server sa password.
  66. displayName: SQL Server SA password
  67. name: SQL_PASSWORD_SECRET
  68. required: true
  69. - description: The Webhooks database connection string.
  70. displayName: Webhooks Database Connection String
  71. name: WEBHOOKS_DB_CONNECTION_SECRET
  72. required: true
  73. - description: The template name.
  74. displayName: Template Name
  75. name: TEMPLATE_NAME
  76. required: true
  77. value: secrets-template