extension.yaml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. ---
  2. # Extension variables for archetype testing
  3. # These variables are only available when testing archetypes
  4. # and are NOT part of the main module spec
  5. # They provide reasonable defaults for variables that normally have None values
  6. # General service defaults
  7. service_name:
  8. type: str
  9. description: Service name for testing
  10. default: testapp
  11. container_name:
  12. type: str
  13. description: Container name for testing
  14. default: testapp-container
  15. container_hostname:
  16. type: str
  17. description: Container hostname for testing
  18. default: testapp-host
  19. # Traefik defaults
  20. traefik_host:
  21. type: hostname
  22. description: Traefik host for testing
  23. default: app.example.com
  24. # Database defaults
  25. database_port:
  26. type: int
  27. description: Database port for testing
  28. default: 5432
  29. database_name:
  30. type: str
  31. description: Database name for testing
  32. default: testdb
  33. database_user:
  34. type: str
  35. description: Database user for testing
  36. default: dbuser
  37. database_password:
  38. type: str
  39. description: Database password for testing
  40. default: secretpassword123
  41. sensitive: true
  42. # Email server defaults
  43. email_host:
  44. type: str
  45. description: Email server host for testing
  46. default: smtp.example.com
  47. email_username:
  48. type: str
  49. description: Email username for testing
  50. default: noreply@example.com
  51. email_password:
  52. type: str
  53. description: Email password for testing
  54. default: emailpass123
  55. sensitive: true
  56. email_from:
  57. type: str
  58. description: Email from address for testing
  59. default: noreply@example.com
  60. # Authentik SSO defaults
  61. authentik_url:
  62. type: url
  63. description: Authentik URL for testing
  64. default: https://auth.example.com
  65. authentik_slug:
  66. type: str
  67. description: Authentik application slug for testing
  68. default: testapp
  69. authentik_client_id:
  70. type: str
  71. description: Authentik client ID for testing
  72. default: client_id_12345
  73. authentik_client_secret:
  74. type: str
  75. description: Authentik client secret for testing
  76. default: client_secret_abcdef
  77. sensitive: true
  78. # Ports defaults
  79. ports_http:
  80. type: int
  81. description: HTTP port for testing
  82. default: 8080
  83. ports_https:
  84. type: int
  85. description: HTTPS port for testing
  86. default: 8443
  87. # Additional test variables
  88. test_image:
  89. type: str
  90. description: Docker image for testing
  91. default: nginx:alpine
  92. test_port:
  93. type: int
  94. description: Port number for testing
  95. default: 80
  96. test_secret_token:
  97. type: str
  98. description: Example secret token
  99. default: my-secret-token-123
  100. sensitive: true
  101. test_api_key:
  102. type: str
  103. description: Example API key
  104. default: api_key_example_12345
  105. sensitive: true
  106. test_database_url:
  107. type: str
  108. description: Example database connection string
  109. default: postgresql://user:pass@localhost:5432/db
  110. test_environment_var:
  111. type: str
  112. description: Example environment variable
  113. default: production
  114. test_config_path:
  115. type: str
  116. description: Example configuration file path
  117. default: /etc/app/config.yaml