extension.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. ---
  2. # Extension variables for archetype testing
  3. # These variables provide defaults for variables that have no default in the module spec
  4. # or add custom variables specifically needed for archetype testing
  5. # Variables from spec that need defaults for testing
  6. service_name:
  7. type: str
  8. description: Service name for testing
  9. default: testapp
  10. container_name:
  11. type: str
  12. description: Container name for testing
  13. default: testapp-container
  14. container_hostname:
  15. type: str
  16. description: Container hostname for testing
  17. default: testapp-host
  18. traefik_host:
  19. type: hostname
  20. description: Traefik host for testing
  21. default: app.example.com
  22. database_port:
  23. type: int
  24. description: Database port for testing
  25. default: 5432
  26. database_name:
  27. type: str
  28. description: Database name for testing
  29. default: testdb
  30. database_user:
  31. type: str
  32. description: Database user for testing
  33. default: dbuser
  34. database_password:
  35. type: str
  36. description: Database password for testing
  37. default: secretpassword123
  38. sensitive: true
  39. email_host:
  40. type: str
  41. description: Email server host for testing
  42. default: smtp.example.com
  43. email_username:
  44. type: str
  45. description: Email username for testing
  46. default: noreply@example.com
  47. email_password:
  48. type: str
  49. description: Email password for testing
  50. default: emailpass123
  51. sensitive: true
  52. email_from:
  53. type: str
  54. description: Email from address for testing
  55. default: noreply@example.com
  56. authentik_url:
  57. type: url
  58. description: Authentik URL for testing
  59. default: https://auth.example.com
  60. authentik_slug:
  61. type: str
  62. description: Authentik application slug for testing
  63. default: testapp
  64. authentik_client_id:
  65. type: str
  66. description: Authentik client ID for testing
  67. default: client_id_12345
  68. authentik_client_secret:
  69. type: str
  70. description: Authentik client secret for testing
  71. default: client_secret_abcdef
  72. sensitive: true
  73. # Custom variables specific to archetype testing (not in module spec)
  74. network_enabled:
  75. type: bool
  76. description: Enable network configuration for testing
  77. default: true
  78. volume_external:
  79. type: bool
  80. description: Use external volume for testing
  81. default: false
  82. ports_http:
  83. type: int
  84. description: HTTP port for testing
  85. default: 8080
  86. secret_name:
  87. type: str
  88. description: Secret name for testing
  89. default: app_secret
  90. config_name:
  91. type: str
  92. description: Config name for testing
  93. default: app_config
  94. service_image:
  95. type: str
  96. description: Service image for testing
  97. default: nginx:alpine
  98. service_port:
  99. type: int
  100. description: Service port for testing
  101. default: 8080
  102. volume_name:
  103. type: str
  104. description: Volume name for testing
  105. default: app_data
  106. traefik_middleware:
  107. type: str
  108. description: Traefik middleware for testing
  109. default: auth@file