questions.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. groups:
  2. - name: Zerotier Configuration
  3. description: Configure Zerotier
  4. - name: Network Configuration
  5. description: Configure Network for Zerotier
  6. - name: Resources Configuration
  7. description: Configure Resources for Zerotier
  8. questions:
  9. - variable: zerotierConfig
  10. label: ""
  11. group: Zerotier Configuration
  12. schema:
  13. type: dict
  14. attrs:
  15. - variable: networks
  16. label: Networks
  17. description: The network(s) to join
  18. schema:
  19. type: list
  20. empty: false
  21. required: true
  22. min: 1
  23. default: []
  24. items:
  25. - variable: networkEntry
  26. label: Network
  27. schema:
  28. type: string
  29. required: true
  30. - variable: authToken
  31. label: Auth Token (API Key)
  32. description: |
  33. (Optional) The auth token for Zerotier.</br>
  34. Same as authtoken.secret.
  35. schema:
  36. type: string
  37. default: ""
  38. private: true
  39. - variable: identitySecret
  40. label: Identity Secret
  41. description: |
  42. (Optional) The identity secret for Zerotier.</br>
  43. Same as identity.secret.
  44. schema:
  45. type: string
  46. default: ""
  47. private: true
  48. - variable: identityPublic
  49. label: Identity Public
  50. description: |
  51. (Optional) The identity public for Zerotier.</br>
  52. Same as identity.public.
  53. schema:
  54. type: string
  55. default: ""
  56. private: true
  57. - variable: additionalEnvs
  58. label: Additional Environment Variables
  59. description: Configure additional environment variables for Zerotier.
  60. schema:
  61. type: list
  62. default: []
  63. items:
  64. - variable: env
  65. label: Environment Variable
  66. schema:
  67. type: dict
  68. attrs:
  69. - variable: name
  70. label: Name
  71. schema:
  72. type: string
  73. required: true
  74. - variable: value
  75. label: Value
  76. schema:
  77. type: string
  78. required: true
  79. - variable: zerotierNetwork
  80. label: ""
  81. group: Network Configuration
  82. schema:
  83. type: dict
  84. attrs:
  85. - variable: hostNetwork
  86. label: Host Network
  87. description: |
  88. Bind to the host network. It's recommended to keep this disabled.</br>
  89. schema:
  90. type: boolean
  91. default: false
  92. - variable: resources
  93. group: Resources Configuration
  94. label: ""
  95. schema:
  96. type: dict
  97. attrs:
  98. - variable: limits
  99. label: Limits
  100. schema:
  101. type: dict
  102. attrs:
  103. - variable: cpu
  104. label: CPU
  105. description: CPU limit for Zerotier.
  106. schema:
  107. type: string
  108. default: "4000m"
  109. required: true
  110. - variable: memory
  111. label: Memory
  112. description: Memory limit for Zerotier.
  113. schema:
  114. type: string
  115. default: "8Gi"
  116. required: true