|
@@ -0,0 +1,227 @@
|
|
|
+groups:
|
|
|
+ - name: "Container Images"
|
|
|
+ description: "Image to be used for container"
|
|
|
+ - name: "Workload Configuration"
|
|
|
+ description: "Configure workload deployment"
|
|
|
+ - name: "Netdata Configuration"
|
|
|
+ description: "Configure Netdata credentials"
|
|
|
+ - name: "Storage"
|
|
|
+ description: "Configure Storage for Netdata"
|
|
|
+ - name: "Advanced DNS Settings"
|
|
|
+ description: "Configure DNS settings"
|
|
|
+
|
|
|
+portals:
|
|
|
+ web_portal:
|
|
|
+ protocols:
|
|
|
+ - "http"
|
|
|
+ host:
|
|
|
+ - "$node_ip"
|
|
|
+ ports:
|
|
|
+ - "$variable-service.nodePort"
|
|
|
+
|
|
|
+questions:
|
|
|
+ - variable: dnsConfig
|
|
|
+ label: "DNS Configuration"
|
|
|
+ group: "Advanced DNS Settings"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: options
|
|
|
+ label: "DNS Options"
|
|
|
+ schema:
|
|
|
+ type: list
|
|
|
+ items:
|
|
|
+ - variable: optionsEntry
|
|
|
+ label: "Option Entry Configuration"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: name
|
|
|
+ label: "Option Name"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ required: true
|
|
|
+ - variable: value
|
|
|
+ label: "Option Value"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ required: true
|
|
|
+
|
|
|
+ - variable: environmentVariables
|
|
|
+ label: "Netdata image environment"
|
|
|
+ group: "Netdata Configuration"
|
|
|
+ schema:
|
|
|
+ type: list
|
|
|
+ default: []
|
|
|
+ items:
|
|
|
+ - variable: environmentVariable
|
|
|
+ label: "Environment Variable"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: name
|
|
|
+ label: "Name"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ - variable: value
|
|
|
+ label: "Value"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+
|
|
|
+ - variable: service
|
|
|
+ description: "Netdata Service Configuration"
|
|
|
+ label: "Netdata Service Configuration"
|
|
|
+ group: "Netdata Configuration"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ required: true
|
|
|
+ attrs:
|
|
|
+ - variable: nodePort
|
|
|
+ label: "Node Port to use for Netdata UI"
|
|
|
+ schema:
|
|
|
+ type: int
|
|
|
+ min: 9000
|
|
|
+ max: 65535
|
|
|
+ default: 20489
|
|
|
+ required: true
|
|
|
+
|
|
|
+ - variable: appVolumeMounts
|
|
|
+ label: "Netdata Storage"
|
|
|
+ group: "Storage"
|
|
|
+ schema:
|
|
|
+ immutable: true
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: netdataconfig
|
|
|
+ label: "Configuration Volume"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: datasetName
|
|
|
+ label: "Configuration Volume Name"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ hidden: true
|
|
|
+ $ref:
|
|
|
+ - "normalize/ixVolume"
|
|
|
+ show_if: [ [ "hostPathEnabled", "=", false ] ]
|
|
|
+ default: "ix-config"
|
|
|
+ editable: false
|
|
|
+ - variable: mountPath
|
|
|
+ label: "Configuration Mount Path"
|
|
|
+ description: "Path where the volume will be mounted inside the pod"
|
|
|
+ schema:
|
|
|
+ type: path
|
|
|
+ hidden: true
|
|
|
+ editable: false
|
|
|
+ default: "/etc/netdata"
|
|
|
+ - variable: hostPathEnabled
|
|
|
+ label: "Enable Host Path for Netdata Configuration Volume"
|
|
|
+ schema:
|
|
|
+ type: boolean
|
|
|
+ default: false
|
|
|
+ show_subquestions_if: true
|
|
|
+ subquestions:
|
|
|
+ - variable: hostPath
|
|
|
+ label: "Host Path for Netdata Configuration Volume"
|
|
|
+ schema:
|
|
|
+ type: hostpath
|
|
|
+ required: true
|
|
|
+ immutable: true
|
|
|
+ - variable: netdatacache
|
|
|
+ label: "Cache Volume"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: datasetName
|
|
|
+ label: "Cache Volume Name"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ hidden: true
|
|
|
+ $ref:
|
|
|
+ - "normalize/ixVolume"
|
|
|
+ show_if: [["hostPathEnabled", "=", false]]
|
|
|
+ default: "ix-cache"
|
|
|
+ editable: false
|
|
|
+ - variable: mountPath
|
|
|
+ label: "Cache Mount Path"
|
|
|
+ description: "Path where the volume will be mounted inside the pod"
|
|
|
+ schema:
|
|
|
+ type: path
|
|
|
+ hidden: true
|
|
|
+ editable: false
|
|
|
+ default: "/var/cache/netdata"
|
|
|
+ - variable: hostPathEnabled
|
|
|
+ label: "Enable Host Path for Netdata Cache Volume"
|
|
|
+ schema:
|
|
|
+ type: boolean
|
|
|
+ default: false
|
|
|
+ show_subquestions_if: true
|
|
|
+ subquestions:
|
|
|
+ - variable: hostPath
|
|
|
+ label: "Host Path for Netdata Cache Volume"
|
|
|
+ schema:
|
|
|
+ type: hostpath
|
|
|
+ required: true
|
|
|
+ immutable: true
|
|
|
+ - variable: netdatalib
|
|
|
+ label: "Netdata Library Volume"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: datasetName
|
|
|
+ label: "Netdata Library Volume Name"
|
|
|
+ schema:
|
|
|
+ type: string
|
|
|
+ hidden: true
|
|
|
+ $ref:
|
|
|
+ - "normalize/ixVolume"
|
|
|
+ show_if: [ [ "hostPathEnabled", "=", false ] ]
|
|
|
+ default: "ix-lib"
|
|
|
+ editable: false
|
|
|
+ - variable: mountPath
|
|
|
+ label: "Netdata Library Mount Path"
|
|
|
+ description: "Path where the volume will be mounted inside the pod"
|
|
|
+ schema:
|
|
|
+ type: path
|
|
|
+ hidden: true
|
|
|
+ editable: false
|
|
|
+ default: "/var/lib/netdata"
|
|
|
+ - variable: hostPathEnabled
|
|
|
+ label: "Enable Host Path for Netdata Library Volume"
|
|
|
+ schema:
|
|
|
+ type: boolean
|
|
|
+ default: false
|
|
|
+ show_subquestions_if: true
|
|
|
+ subquestions:
|
|
|
+ - variable: hostPath
|
|
|
+ label: "Host Path for Netdata Library Volume"
|
|
|
+ schema:
|
|
|
+ type: hostpath
|
|
|
+ required: true
|
|
|
+ immutable: true
|
|
|
+
|
|
|
+ - variable: extraAppVolumeMounts
|
|
|
+ label: "Extra Host Path Volumes"
|
|
|
+ group: "Storage"
|
|
|
+ schema:
|
|
|
+ type: list
|
|
|
+ items:
|
|
|
+ - variable: extraAppVolume
|
|
|
+ label: "Host Path Volume"
|
|
|
+ description: "Add an extra host path volume for Netdata application"
|
|
|
+ schema:
|
|
|
+ type: dict
|
|
|
+ attrs:
|
|
|
+ - variable: mountPath
|
|
|
+ label: "Mount Path in Pod"
|
|
|
+ description: "Path where the volume will be mounted inside the pod"
|
|
|
+ schema:
|
|
|
+ type: path
|
|
|
+ required: true
|
|
|
+ - variable: hostPath
|
|
|
+ label: "Host Path"
|
|
|
+ description: "Host path"
|
|
|
+ schema:
|
|
|
+ type: hostpath
|
|
|
+ required: true
|