questions.yaml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. groups:
  2. - name: Configuration
  3. description: Remote Assist is used by iX Support for Enterprise troubleshooting
  4. - name: Storage Configuration
  5. description: Configure Storage for Tailscale
  6. questions:
  7. - variable: remote_assist
  8. label: ""
  9. group: Configuration
  10. schema:
  11. type: dict
  12. attrs:
  13. - variable: hostname
  14. label: System Identifier
  15. description: |
  16. Identifier for this System.</br>
  17. One will be given to you by iX Support.
  18. schema:
  19. type: string
  20. default: "truenas-scale"
  21. valid_chars: "^[a-z0-9-]+$"
  22. valid_chars_error: |
  23. Only lowercase letters, numbers, and hyphens are allowed.
  24. required: true
  25. - variable: auth_key
  26. label: Auth Key
  27. description: |
  28. The auth key for Remote Assistance.</br>
  29. Please enter the key as provided by iX support.</br>
  30. schema:
  31. type: string
  32. default: ""
  33. required: true
  34. private: true
  35. - variable: storage
  36. label: ""
  37. group: Storage Configuration
  38. schema:
  39. type: dict
  40. hidden: true
  41. attrs:
  42. - variable: state
  43. label: Tailscale State Storage
  44. description: The path to store Tailscale State.
  45. schema:
  46. type: dict
  47. attrs:
  48. - variable: type
  49. label: Type
  50. description: |
  51. ixVolume: Is dataset created automatically by the system.</br>
  52. Host Path: Is a path that already exists on the system.
  53. schema:
  54. type: string
  55. required: true
  56. default: "ix_volume"
  57. enum:
  58. - value: "ix_volume"
  59. description: ixVolume (Dataset created automatically by the system)
  60. - variable: ix_volume_config
  61. label: ixVolume Configuration
  62. description: The configuration for the ixVolume dataset.
  63. schema:
  64. type: dict
  65. show_if: [["type", "=", "ix_volume"]]
  66. $ref:
  67. - "normalize/ix_volume"
  68. attrs:
  69. - variable: acl_enable
  70. label: Enable ACL
  71. description: Enable ACL for the storage.
  72. schema:
  73. type: boolean
  74. default: false
  75. - variable: dataset_name
  76. label: Dataset Name
  77. description: The name of the dataset to use for storage.
  78. schema:
  79. type: string
  80. required: true
  81. hidden: true
  82. default: "state"
  83. - variable: acl_entries
  84. label: ACL Configuration
  85. schema:
  86. type: dict
  87. show_if: [["acl_enable", "=", true]]
  88. attrs: []