diff --git a/charts/incubator/pihole/.helmignore b/charts/incubator/pihole/.helmignore new file mode 100644 index 00000000000..e559de0a012 --- /dev/null +++ b/charts/incubator/pihole/.helmignore @@ -0,0 +1,24 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS diff --git a/charts/incubator/pihole/CONFIG.md b/charts/incubator/pihole/CONFIG.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/charts/incubator/pihole/Chart.yaml b/charts/incubator/pihole/Chart.yaml new file mode 100644 index 00000000000..ac8bb2f9c96 --- /dev/null +++ b/charts/incubator/pihole/Chart.yaml @@ -0,0 +1,24 @@ +apiVersion: v2 +appVersion: auto +dependencies: +- name: common + repository: https://truecharts.org/ + version: 6.13.7 +deprecated: false +description: DNS and Ad-filtering for your network +home: https://github.com/truecharts/apps/tree/master/charts/stable/pihole +icon: https://upload.wikimedia.org/wikipedia/en/thumb/1/15/Pi-hole_vector_logo.svg/1200px-Pi-hole_vector_logo.svg.png +keywords: +- DNS +kubeVersion: '>=1.16.0-0' +maintainers: +- email: info@truecharts.org + name: TrueCharts + url: truecharts.org +name: pihole +sources: +- https://pi-hole.net/ +- https://github.com/pi-hole +- https://github.com/pi-hole/docker-pi-hole +type: application +version: 0.0.1 diff --git a/charts/incubator/pihole/README.md b/charts/incubator/pihole/README.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/charts/incubator/pihole/SCALE/item.yaml b/charts/incubator/pihole/SCALE/item.yaml new file mode 100644 index 00000000000..5baf68f09c7 --- /dev/null +++ b/charts/incubator/pihole/SCALE/item.yaml @@ -0,0 +1,3 @@ +categories: + - networking +icon_url: https://upload.wikimedia.org/wikipedia/en/thumb/1/15/Pi-hole_vector_logo.svg/1200px-Pi-hole_vector_logo.svg.png diff --git a/charts/incubator/pihole/SCALE/ix_values.yaml b/charts/incubator/pihole/SCALE/ix_values.yaml new file mode 100644 index 00000000000..90cf7ed2deb --- /dev/null +++ b/charts/incubator/pihole/SCALE/ix_values.yaml @@ -0,0 +1,15 @@ +## +# This file contains Values.yaml content that gets added to the output of questions.yaml +# It's ONLY meant for content that the user is NOT expected to change. +# Example: Everything under "image" is not included in questions.yaml but is included here. +## + +image: + repository: pihole/pihole + pullPolicy: IfNotPresent + tag: v5.8.1 + +## +# Most other defaults are set in questions.yaml +# For other options please refer to the wiki, default_values.yaml or the common library chart +## diff --git a/charts/incubator/pihole/SCALE/questions.yaml b/charts/incubator/pihole/SCALE/questions.yaml new file mode 100644 index 00000000000..d6f1de4788f --- /dev/null +++ b/charts/incubator/pihole/SCALE/questions.yaml @@ -0,0 +1,1386 @@ +groups: + - name: "Container Image" + description: "Image to be used for container" + - name: "Controller" + description: "Configure workload deployment" + - name: "Container Configuration" + description: "additional container configuration" + - name: "App Configuration" + description: "App specific config options" + - name: "Networking and Services" + description: "Configure Network and Services for container" + - name: "Storage and Persistence" + description: "Persist and share data that is separate from the container" + - name: "Ingress" + description: "Ingress Configuration" + - name: "Security and Permissions" + description: "Configure security context and permissions" + - name: "Resources and Devices" + description: "Specify resources/devices to be allocated to workload" + - name: "Advanced" + description: "Advanced Configuration" +portals: + web_portal: + protocols: + - "$kubernetes-resource_configmap_portal_protocol" + host: + - "$kubernetes-resource_configmap_portal_host" + ports: + - "$kubernetes-resource_configmap_portal_port" +questions: + - variable: portal + group: "Container Image" + label: "Configure Portal Button" + schema: + type: dict + hidden: true + attrs: + - variable: enabled + label: "Enable" + description: "enable the portal button" + schema: + hidden: true + editable: false + type: boolean + default: true + - variable: controller + group: "Controller" + label: "" + schema: + type: dict + attrs: + - variable: type + description: "Please specify type of workload to deploy" + label: "(Advanced) Controller Type" + schema: + type: string + default: "deployment" + required: true + enum: + - value: "deployment" + description: "Deployment" + - value: "statefulset" + description: "Statefulset" + - value: "daemonset" + description: "Daemonset" + - variable: replicas + description: "Number of desired pod replicas" + label: "Desired Replicas" + schema: + type: int + default: 1 + required: true + - variable: strategy + description: "Please specify type of workload to deploy" + label: "(Advanced) Update Strategy" + schema: + type: string + default: "Recreate" + required: true + enum: + - value: "Recreate" + description: "Recreate: Kill existing pods before creating new ones" + - value: "RollingUpdate" + description: "RollingUpdate: Create new pods and then kill old ones" + - value: "OnDelete" + description: "(Legacy) OnDelete: ignore .spec.template changes" + - variable: labelsList + label: "Controller Labels" + schema: + type: list + default: [] + items: + - variable: labelItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: annotationsList + label: " Controller Annotations" + schema: + type: list + default: [] + items: + - variable: annotationItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + + + - variable: podLabelsList + group: "Container Configuration" + label: "Pod Labels" + schema: + type: list + default: [] + items: + - variable: podLabelItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + + - variable: podAnnotationsList + group: "Container Configuration" + label: "Pod Annotations" + schema: + type: list + default: [] + items: + - variable: podAnnotationItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + + - variable: termination + group: "Container Configuration" + label: "Termination settings" + schema: + type: dict + attrs: + - variable: gracePeriodSeconds + label: "Grace Period Seconds" + schema: + type: int + default: 10 + + - variable: env + group: "Container Configuration" + label: "Image Environment" + schema: + type: dict + attrs: + - variable: TZ + label: "Timezone" + schema: + type: string + default: "Etc/UTC" + $ref: + - "definitions/timezone" + - variable: UMASK + label: "UMASK" + description: "Sets the UMASK env var for LinuxServer.io (compatible) containers" + schema: + type: string + default: "002" + - variable: WEBPASSWORD + label: "WEBPASSWORD" + description: "Sets the UMASK env var for LinuxServer.io (compatible) containers" + schema: + type: string + default: "" + required: true + - variable: DNS1 + label: "DNS1" + description: "Sets the UMASK env var for LinuxServer.io (compatible) containers" + schema: + type: string + default: "1.1.1.1" + - variable: DNS2 + label: "DNS2" + description: "Sets the UMASK env var for LinuxServer.io (compatible) containers" + schema: + type: string + default: "1.0.0.1" + # Configure Enviroment Variables + - variable: envList + label: "Image environment" + group: "Container Configuration" + schema: + type: list + default: [] + items: + - variable: envItem + label: "Environment Variable" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + + - variable: hostNetwork + group: "Networking and Services" + label: "Enable Host Networking" + schema: + type: boolean + default: false + + - variable: service + group: "Networking and Services" + label: "Configure Service(s)" + schema: + type: dict + attrs: + - variable: main + label: "Main Service" + description: "The Primary service on which the healthcheck runs, often the webUI" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable the service" + schema: + type: boolean + default: true + hidden: true + - variable: type + label: "Service Type" + description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System, Loadbalancer exposes the service using the system loadbalancer" + schema: + type: string + default: "NodePort" + enum: + - value: "NodePort" + description: "NodePort" + - value: "ClusterIP" + description: "ClusterIP" + - value: "LoadBalancer" + description: "LoadBalancer" + - variable: loadBalancerIP + label: "LoadBalancer IP" + description: "LoadBalancerIP" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: string + default: "" + - variable: externalIPs + label: "External IP's" + description: "External IP's" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: list + default: [] + items: + - variable: externalIP + label: "External IP" + schema: + type: string + - variable: ports + label: "Service's Port(s) Configuration" + schema: + type: dict + attrs: + - variable: main + label: "Main Service Port Configuration" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable the port" + schema: + type: boolean + default: true + hidden: true + - variable: protocol + label: "Port Type" + schema: + type: string + default: "HTTP" + enum: + - value: HTTP + description: "HTTP" + - value: "HTTPS" + description: "HTTPS" + - value: TCP + description: "TCP" + - value: "UDP" + description: "UDP" + - variable: targetPort + label: "Target Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 80 + editable: false + hidden: true + - variable: port + label: "Container Port" + schema: + type: int + default: 80 + editable: true + required: true + - variable: nodePort + label: "Node Port (Optional)" + description: "This port gets exposed to the node. Only considered when service type is NodePort" + schema: + type: int + min: 9000 + max: 65535 + default: 36101 + - variable: dns + label: "DNS Service" + description: "The Primary service on which the healthcheck runs, often the webUI" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable the service" + schema: + type: boolean + default: true + hidden: true + - variable: type + label: "Service Type" + description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System, Loadbalancer exposes the service using the system loadbalancer" + schema: + type: string + default: "NodePort" + enum: + - value: "NodePort" + description: "NodePort" + - value: "ClusterIP" + description: "ClusterIP" + - value: "LoadBalancer" + description: "LoadBalancer" + - variable: loadBalancerIP + label: "LoadBalancer IP" + description: "LoadBalancerIP" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: string + default: "" + - variable: externalIPs + label: "External IP's" + description: "External IP's" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: list + default: [] + items: + - variable: externalIP + label: "External IP" + schema: + type: string + - variable: ports + label: "Service's Port(s) Configuration" + schema: + type: dict + attrs: + - variable: dns + label: "DNS Service Port Configuration" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable the port" + schema: + type: boolean + default: true + hidden: true + - variable: protocol + label: "Port Type" + schema: + type: string + default: "UDP" + enum: + - value: HTTP + description: "HTTP" + - value: "HTTPS" + description: "HTTPS" + - value: TCP + description: "TCP" + - value: "UDP" + description: "UDP" + - variable: targetPort + label: "Target Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 53 + editable: false + hidden: true + - variable: port + label: "Container Port" + schema: + type: int + default: 53 + editable: true + required: true + - variable: nodePort + label: "Node Port (Optional)" + description: "This port gets exposed to the node. Only considered when service type is NodePort" + schema: + type: int + min: 9000 + max: 65535 + - variable: dns-tcp + label: "DNS-TCP Service" + description: "The Primary service on which the healthcheck runs, often the webUI" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable the service" + schema: + type: boolean + default: true + hidden: true + - variable: type + label: "Service Type" + description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System, Loadbalancer exposes the service using the system loadbalancer" + schema: + type: string + default: "LoadBalancer" + enum: + - value: "NodePort" + description: "NodePort" + - value: "ClusterIP" + description: "ClusterIP" + - value: "LoadBalancer" + description: "LoadBalancer" + - variable: loadBalancerIP + label: "LoadBalancer IP" + description: "LoadBalancerIP" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: string + default: "" + - variable: externalIPs + label: "External IP's" + description: "External IP's" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: list + default: [] + items: + - variable: externalIP + label: "External IP" + schema: + type: string + - variable: ports + label: "Service's Port(s) Configuration" + schema: + type: dict + attrs: + - variable: dns-tcp + label: "DNS-TCP Service Port Configuration" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable the port" + schema: + type: boolean + default: true + hidden: true + - variable: protocol + label: "Port Type" + schema: + type: string + default: "TCP" + enum: + - value: HTTP + description: "HTTP" + - value: "HTTPS" + description: "HTTPS" + - value: TCP + description: "TCP" + - value: "UDP" + description: "UDP" + - variable: targetPort + label: "Target Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 53 + editable: false + hidden: true + - variable: port + label: "Container Port" + schema: + type: int + default: 53 + editable: true + required: true + - variable: nodePort + label: "Node Port (Optional)" + description: "This port gets exposed to the node. Only considered when service type is NodePort" + schema: + type: int + min: 9000 + max: 65535 + + - variable: serviceList + label: "Additional Services" + group: "Networking and Services" + schema: + type: list + default: [] + items: + - variable: serviceListEntry + label: "Custom Service" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable the service" + schema: + type: boolean + default: true + hidden: true + - variable: name + label: "Name" + schema: + type: string + default: "" + - variable: type + label: "Service Type" + description: "ClusterIP's are only internally available, nodePorts expose the container to the host node System, Loadbalancer exposes the service using the system loadbalancer" + schema: + type: string + default: "NodePort" + enum: + - value: "NodePort" + description: "NodePort" + - value: "ClusterIP" + description: "ClusterIP" + - value: "LoadBalancer" + description: "LoadBalancer" + - variable: loadBalancerIP + label: "LoadBalancer IP" + description: "LoadBalancerIP" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: string + default: "" + - variable: externalIPs + label: "External IP's" + description: "External IP's" + schema: + show_if: [["type", "=", "LoadBalancer"]] + type: list + default: [] + items: + - variable: externalIP + label: "External IP" + schema: + type: string + - variable: portsList + label: "Additional Service Ports" + schema: + type: list + default: [] + items: + - variable: portsListEntry + label: "Custom ports" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable the port" + schema: + type: boolean + default: true + hidden: true + - variable: name + label: "Port Name" + schema: + type: string + default: "" + - variable: protocol + label: "Port Type" + schema: + type: string + default: "TCP" + enum: + - value: HTTP + description: "HTTP" + - value: "HTTPS" + description: "HTTPS" + - value: TCP + description: "TCP" + - value: "UDP" + description: "UDP" + - variable: targetPort + label: "Target Port" + description: "This port exposes the container port on the service" + schema: + type: int + required: true + - variable: port + label: "Container Port" + schema: + type: int + required: true + - variable: nodePort + label: "Node Port (Optional)" + description: "This port gets exposed to the node. Only considered when service type is NodePort" + schema: + type: int + min: 9000 + max: 65535 + + - variable: persistence + label: "Integrated Persistent Storage" + group: "Storage and Persistence" + schema: + type: dict + attrs: + - variable: config + label: "App Config Storage" + description: "Stores the Application Configuration." + schema: + type: dict + attrs: + - variable: enabled + label: "Enable the storage" + schema: + type: boolean + default: true + - variable: type + label: "(Advanced) Type of Storage" + description: "Sets the persistence type" + schema: + type: string + default: "pvc" + enum: + - value: "pvc" + description: "pvc" + - value: "emptyDir" + description: "emptyDir" + - value: "hostPath" + description: "hostPath" + - variable: storageClass + label: "(Advanced) storageClass" + description: " Warning: Anything other than SCALE-ZFS will break rollback!" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: "SCALE-ZFS" + - variable: labelsList + label: "Labels" + schema: + type: list + default: [] + items: + - variable: labelItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: annotationsList + label: "Annotations" + schema: + type: list + default: [] + items: + - variable: annotationItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: setPermissions + label: "Automatic Permissions" + description: "Automatically set permissions on install" + schema: + show_if: [["type", "=", "hostPath"]] + type: boolean + default: true + - variable: readOnly + label: "readOnly" + schema: + type: boolean + default: false + - variable: hostPath + label: "hostPath" + description: "Path inside the container the storage is mounted" + schema: + show_if: [["type", "=", "hostPath"]] + type: hostpath + - variable: hostPathType + label: "hostPath Type" + schema: + show_if: [["type", "=", "hostPath"]] + type: string + default: "" + enum: + - value: "" + description: "Default" + - value: "DirectoryOrCreate" + description: "DirectoryOrCreate" + - value: "Directory" + description: "Directory" + - value: "FileOrCreate" + description: "FileOrCreate" + - value: "File" + description: "File" + - value: "Socket" + description: "Socket" + - value: "CharDevice" + description: "CharDevice" + - value: "BlockDevice" + description: "BlockDevice" + - variable: mountPath + label: "mountPath" + description: "Path inside the container the storage is mounted" + schema: + type: string + default: "/config" + hidden: true + - variable: medium + label: "EmptyDir Medium" + schema: + show_if: [["type", "=", "emptyDir"]] + type: string + default: "" + enum: + - value: "" + description: "Default" + - value: "Memory" + description: "Memory" + - variable: accessMode + label: "Access Mode (Advanced)" + description: "Allow or disallow multiple PVC's writhing to the same PV" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: "ReadWriteOnce" + enum: + - value: "ReadWriteOnce" + description: "ReadWriteOnce" + - value: "ReadOnlyMany" + description: "ReadOnlyMany" + - value: "ReadWriteMany" + description: "ReadWriteMany" + - variable: size + label: "Size quotum of storage" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: "100Gi" + - variable: persistenceList + label: "Additional app storage" + group: "Storage and Persistence" + schema: + type: list + default: [] + items: + - variable: persistenceListEntry + label: "Custom Storage" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable the storage" + schema: + type: boolean + default: true + - variable: type + label: "(Advanced) Type of Storage" + description: "Sets the persistence type" + schema: + type: string + default: "hostPath" + enum: + - value: "pvc" + description: "pvc" + - value: "emptyDir" + description: "emptyDir" + - value: "hostPath" + description: "hostPath" + - variable: storageClass + label: "(Advanced) storageClass" + description: " Warning: Anything other than SCALE-ZFS will break rollback!" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: "SCALE-ZFS" + - variable: labelsList + label: "Labels" + schema: + type: list + default: [] + items: + - variable: labelItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: annotationsList + label: "Annotations" + schema: + type: list + default: [] + items: + - variable: annotationItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: setPermissions + label: "Automatic Permissions" + description: "Automatically set permissions on install" + schema: + show_if: [["type", "=", "hostPath"]] + type: boolean + default: true + - variable: readOnly + label: "readOnly" + schema: + type: boolean + default: false + - variable: hostPath + label: "hostPath" + description: "Path inside the container the storage is mounted" + schema: + show_if: [["type", "=", "hostPath"]] + type: hostpath + - variable: hostPathType + label: "hostPath Type" + schema: + show_if: [["type", "=", "hostPath"]] + type: string + default: "" + enum: + - value: "" + description: "Default" + - value: "DirectoryOrCreate" + description: "DirectoryOrCreate" + - value: "Directory" + description: "Directory" + - value: "FileOrCreate" + description: "FileOrCreate" + - value: "File" + description: "File" + - value: "Socket" + description: "Socket" + - value: "CharDevice" + description: "CharDevice" + - value: "BlockDevice" + description: "BlockDevice" + - variable: mountPath + label: "mountPath" + description: "Path inside the container the storage is mounted" + schema: + type: string + required: true + default: "" + - variable: medium + label: "EmptyDir Medium" + schema: + show_if: [["type", "=", "emptyDir"]] + type: string + default: "" + enum: + - value: "" + description: "Default" + - value: "Memory" + description: "Memory" + - variable: accessMode + label: "Access Mode (Advanced)" + description: "Allow or disallow multiple PVC's writhing to the same PVC" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: "ReadWriteOnce" + enum: + - value: "ReadWriteOnce" + description: "ReadWriteOnce" + - value: "ReadOnlyMany" + description: "ReadOnlyMany" + - value: "ReadWriteMany" + description: "ReadWriteMany" + - variable: size + label: "Size quotum of storage" + schema: + show_if: [["type", "=", "pvc"]] + type: string + default: "100Gi" + + - variable: ingress + label: "" + group: "Ingress" + schema: + type: dict + attrs: + - variable: main + label: "Main Ingress" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable Ingress" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: ingressClassName + label: "IngressClass Name" + schema: + type: string + default: "" + - variable: labelsList + label: "Labels" + schema: + type: list + default: [] + items: + - variable: labelItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: annotationsList + label: "Annotations" + schema: + type: list + default: [] + items: + - variable: annotationItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: hosts + label: "Hosts" + schema: + type: list + default: [] + items: + - variable: hostEntry + label: "Host" + schema: + type: dict + attrs: + - variable: host + label: "HostName" + schema: + type: string + default: "" + required: true + - variable: paths + label: "Paths" + schema: + type: list + default: [] + items: + - variable: pathEntry + label: "Host" + schema: + type: dict + attrs: + - variable: path + label: "path" + schema: + type: string + required: true + default: "/" + - variable: pathType + label: "pathType" + schema: + type: string + required: true + default: "Prefix" + - variable: tls + label: "TLS-Settings" + schema: + type: list + default: [] + items: + - variable: tlsEntry + label: "Host" + schema: + type: dict + attrs: + - variable: hosts + label: "Certificate Hosts" + schema: + type: list + default: [] + items: + - variable: host + label: "Host" + schema: + type: string + default: "" + required: true + - variable: scaleCert + label: "Select TrueNAS SCALE Certificate" + schema: + type: int + $ref: + - "definitions/certificate" + - variable: entrypoint + label: "Traefik Entrypoint" + description: "Entrypoint used by Traefik when using Traefik as Ingress Provider" + schema: + type: string + default: "websecure" + required: true + - variable: middlewares + label: "Traefik Middlewares" + description: "Add previously created Traefik Middlewares to this Ingress" + schema: + type: list + default: [] + items: + - variable: name + label: "Name" + schema: + type: string + default: "" + required: true + + + + + - variable: ingressList + label: "Additional Ingress" + group: "Ingress" + schema: + type: list + default: [] + items: + - variable: ingressListEntry + label: "Custom Ingress" + schema: + type: dict + attrs: + - variable: enabled + label: "Enable Ingress" + schema: + type: boolean + default: true + hidden: true + - variable: name + label: "Name" + schema: + type: string + default: "" + - variable: ingressClassName + label: "IngressClass Name" + schema: + type: string + default: "" + - variable: labelsList + label: "Labels" + schema: + type: list + default: [] + items: + - variable: labelItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: annotationsList + label: "Annotations" + schema: + type: list + default: [] + items: + - variable: annotationItem + label: "Label" + schema: + type: dict + attrs: + - variable: name + label: "Name" + schema: + type: string + - variable: value + label: "Value" + schema: + type: string + - variable: hosts + label: "Hosts" + schema: + type: list + default: [] + items: + - variable: hostEntry + label: "Host" + schema: + type: dict + attrs: + - variable: host + label: "HostName" + schema: + type: string + default: "" + required: true + - variable: paths + label: "Paths" + schema: + type: list + default: [] + items: + - variable: pathEntry + label: "Host" + schema: + type: dict + attrs: + - variable: path + label: "path" + schema: + type: string + required: true + default: "/" + - variable: pathType + label: "pathType" + schema: + type: string + required: true + default: "Prefix" + - variable: service + label: "Linked Service" + schema: + type: dict + attrs: + - variable: name + label: "Service Name" + schema: + type: string + default: "" + - variable: port + label: "Service Port" + schema: + type: int + - variable: tls + label: "TLS-Settings" + schema: + type: list + default: [] + items: + - variable: tlsEntry + label: "Host" + schema: + type: dict + attrs: + - variable: hosts + label: "Certificate Hosts" + schema: + type: list + default: [] + items: + - variable: host + label: "Host" + schema: + type: string + default: "" + required: true + - variable: scaleCert + label: "Select TrueNAS SCALE Certificate" + schema: + type: int + $ref: + - "definitions/certificate" + - variable: entrypoint + label: "Traefik Entrypoint" + description: "Entrypoint used by Traefik when using Traefik as Ingress Provider" + schema: + type: string + default: "websecure" + required: true + - variable: middlewares + label: "Traefik Middlewares" + description: "Add previously created Traefik Middlewares to this Ingress" + schema: + type: list + default: [] + items: + - variable: name + label: "Name" + schema: + type: string + default: "" + required: true + + + - variable: securityContext + group: "Security and Permissions" + label: "Security Context" + schema: + type: dict + attrs: + - variable: privileged + label: "Privileged mode" + schema: + type: boolean + default: false + - variable: readOnlyRootFilesystem + label: "ReadOnly Root Filesystem" + schema: + type: boolean + default: false + - variable: allowPrivilegeEscalation + label: "Allow Privilege Escalation" + schema: + type: boolean + default: true + + - variable: resources + group: "Resources and Devices" + label: "Resource Limits" + schema: + type: dict + attrs: + - variable: limits + label: "Advanced Limit Resource Consumption" + schema: + type: dict + attrs: + - variable: cpu + label: "CPU" + schema: + type: string + default: "2000m" + - variable: memory + label: "Memory RAM" + schema: + type: string + default: "2Gi" + - variable: requests + label: "Advanced Request minimum resources required" + schema: + type: dict + attrs: + - variable: cpu + label: "CPU" + schema: + type: string + default: "10m" + - variable: memory + label: "Memory RAM" + schema: + type: string + default: "50Mi" + + + - variable: autoscaling + group: "Resources and Devices" + label: "Horizontal Pod Autoscaler" + schema: + type: dict + attrs: + - variable: enabled + label: "enabled" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: target + label: "Target" + description: "deployment name, defaults to main deployment" + schema: + type: string + default: "" + - variable: minReplicas + label: "Minimum Replicas" + schema: + type: int + default: 1 + - variable: maxReplicas + label: "Maximum Replicas" + schema: + type: int + default: 5 + - variable: targetCPUUtilizationPercentage + label: "Target CPU Utilization Percentage" + schema: + type: int + default: 80 + - variable: targetMemoryUtilizationPercentage + label: "Target Memory Utilization Percentage" + schema: + type: int + default: 80 diff --git a/charts/incubator/pihole/app-readme.md b/charts/incubator/pihole/app-readme.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/charts/incubator/pihole/helm-values.md b/charts/incubator/pihole/helm-values.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/charts/incubator/pihole/templates/common.yaml b/charts/incubator/pihole/templates/common.yaml new file mode 100644 index 00000000000..a6613c2ce21 --- /dev/null +++ b/charts/incubator/pihole/templates/common.yaml @@ -0,0 +1 @@ +{{ include "common.all" . }} diff --git a/charts/incubator/pihole/values.yaml b/charts/incubator/pihole/values.yaml new file mode 100644 index 00000000000..aae7d101f54 --- /dev/null +++ b/charts/incubator/pihole/values.yaml @@ -0,0 +1,40 @@ +# Default values for Jackett. + +image: + repository: pihole/pihole + pullPolicy: IfNotPresent + tag: v5.8.1 + + +service: + main: + enabled: true + ports: + main: + port: 80 + dns-tcp: + enabled: true + ports: + https: + enabled: true + port: 53 + dns: + enabled: true + ports: + dns: + enabled: true + port: 53 + +env: + WEBPASSWORD: "somepassword" + DNS1: "1.1.1.1" + DNS2: "1.0.0.1" + + +persistence: + config: + enabled: true + mountPath: "/etc/pihole" + type: pvc + accessMode: ReadWriteOnce + size: "100Gi" diff --git a/charts/library/common/Chart.yaml b/charts/library/common/Chart.yaml index 0b917ebf1fc..867b92c30a2 100644 --- a/charts/library/common/Chart.yaml +++ b/charts/library/common/Chart.yaml @@ -18,4 +18,4 @@ maintainers: name: common sources: null type: library -version: 6.13.7 +version: 6.13.8 diff --git a/charts/library/common/templates/jobs/_mountPermissions.tpl b/charts/library/common/templates/jobs/_mountPermissions.tpl index c861142fe19..e082aef40c1 100644 --- a/charts/library/common/templates/jobs/_mountPermissions.tpl +++ b/charts/library/common/templates/jobs/_mountPermissions.tpl @@ -41,6 +41,7 @@ spec: args: {{- range $_, $hpm := $hostPathMounts }} - chown -R {{ printf ":%d %s" (int $group) ( $hpm.mountPath | squote ) }} + - chmod -R g+w {{ $hpm.mountPath | squote }} {{- end }} volumeMounts: {{- range $name, $hpm := $hostPathMounts }} diff --git a/docs/manual/default-nodePorts.md b/docs/manual/default-nodePorts.md deleted file mode 100644 index d2b4a3a39c6..00000000000 --- a/docs/manual/default-nodePorts.md +++ /dev/null @@ -1,113 +0,0 @@ -# Default Node Ports - -| App | Service | NodePort | -| :------------------ | :-------: | :------: | -| Unifi | comm | 8080 | -| JDownloader2 | myjd | 36092 | -| Plex | Main | 32400 | -| Handbrake | Main | 36002 | -| Handbrake | VNC | 36003 | -| Collabora | Main | 36004 | -| Deepstack | Main | 36005 | -| Emby | Main | 36006 | -| ESPHome | Main | 36007 | -| Home Assistant | Main | 36008 | -| Jackett | Main | 36009 | -| Jellyfin | Main | 36010 | -| KMS | Main | 36011 | -| Lidarr | Main | 36012 | -| Ombi | Main | 36013 | -| Lidarr | Main | 36014 | -| Calibre-Web | Main | 36015 | -| Radarr | Main | 36016 | -| Sonarr | Main | 36017 | -| Tautulli | Main | 36018 | -| Transmission | Main | 36019 | -| Transmission | TCP | 36020 | -| Transmission | UDP | 36020 | -| NZBGet | Main | 36021 | -| ZwaveJS2Mqtt | Main | 36022 | -| ZwaveJS2Mqtt | Websocket | 36023 | -| Syncthing | Main | 36024 | -| Bazarr | Main | 36025 | -| Deluge | Main | 36026 | -| Deluge | TCP | 51413 | -| Deluge | UPD | 51413 | -| Navidrome | Main | 36027 | -| Node-RED | Main | 36028 | -| FreshRSS | Main | 36029 | -| GAPS | Main | 36030 | -| Grocy | Main | 36031 | -| Heimdall | Main | 36032 | -| Lazy Librarian | Main | 36033 | -| Lychee | Main | 36034 | -| Unifi | Main | 36035 | -| Unifi | TCP | 36036 | -| Unifi | UDP | 36037 | -| Readarr | Main | 36038 | -| QBitTorrent | Main | 36039 | -| QBitTorrent | TCP | 36040 | -| QBitTorrent | UDP | 36040 | -| NZBHydra | Main | 36041 | -| TVHeadend | Main | 36042 | -| TVHeadend | HTSP | 36043 | -| True Command | Main | 36044 | -| SABnzbd | Main | 36045 | -| Organizr | Main | 36046 | -| Podgrab | Main | 36047 | -| Fireflyiii | Main | 36048 | -| FocalBoard | Main | 36049 | -| Airsonic | Main | 36050 | -| Appdaemon | Main | 36051 | -| Booksonic-air | Main | 36052 | -| Calibre | Main | 36053 | -| Calibre | WebServer | 36054 | -| Deconz | Main | 36055 | -| Deconz | Websocket | 36056 | -| Deconz | VNC | 36057 | -| Dizquetv | Main | 36058 | -| Duplicati | Main | 36059 | -| Flaresolverr | Main | 36060 | -| Flood | Main | 36061 | -| Gonic | Main | 36062 | -| Healthchecks | Main | 36063 | -| Hyperion-ng | Main | 36064 | -| Komga | Main | 36065 | -| Librespeed | Main | 36066 | -| Mealie | Main | 36067 | -| Mosquitto | Main | 36068 | -| Mylar | Main | 36068 | -| Nullserv | Main | 36069 | -| Nullserv | Https | 36070 | -| Octoprint | Main | 36071 | -| Omada-controller | Main | 36072 | -| Overseerr | Main | 36073 | -| Owncast | Main | 36074 | -| Owncast | Rtmp | 36075 | -| Owncloud-ocis | Main | 36076 | -| Photoprism | Main | 36077 | -| Piaware | Main | 36078 | -| Pretend-youre-xyzzy | Main | 36079 | -| Protonmail-bridge | Main | 36080 | -| Prowlarr | Main | 36081 | -| Pyload | Main | 36082 | -| Reg | Main | 36083 | -| Ser2sock | Main | 36084 | -| Stash | Main | 36085 | -| Thelounge | Main | 36086 | -| Xteve | Main | 36087 | -| Resillio-sync | Main | 36088 | -| Resillio-sync | UDP | 36089 | -| Resillio-sync | TCP | 36090 | -| Nextcloud | Main | 36091 | -| LittleLink | Main | 36092 | -| JDownloader2 | Main | 36093 | -| JDownloader2 | VNC | 36094 | -| Authelia | Main | 36095 | -| Hyperion-ng | json | 36096 | -| Hyperion-ng | protobuf | 36097 | -| Hyperion-ng | boblight | 36098 | -| OpenLDAP | main | 36099 | -| OpenLDAP | https | 36100 | - -#### Note: TCP and UPD ports that are the same in each App, are not by mistake. diff --git a/docs/manual/default-ports.md b/docs/manual/default-ports.md new file mode 100644 index 00000000000..4f963797250 --- /dev/null +++ b/docs/manual/default-ports.md @@ -0,0 +1,125 @@ +# Default Ports + +This document documents the default ports used by Apps. +These defaults can ofcoarse be changed, but as we guarantee "sane, working defaults" they should provide no or minimal conflicts without being changed + + +| App | Service | NodePort | LoadBalancer-Port | Note | +| :------------------ | :-------: | :------: | :---------------: | :----------------------------------: | +| k8s-gateway | main | | 53/UDP | Potenial conflict with pihole | +| pihole | dns | | 53/UDP | Potenial conflict with k8s-gateway | +| pihole | dns-tcp | | 53 | | +| Unifi | comm | | 8080 | | +| traefik | main | 9000 | | | +| traefik | web | | 9080 | Adviced to be changed to 80 | +| traefik | metrics | 9100 | | | +| traefik | websecure | | 9443 | Adviced to be changed to 443 | +| JDownloader2 | myjd | 36092 | | | +| Plex | Main | 32400 | | | +| Handbrake | Main | 36002 | | | +| Handbrake | VNC | 36003 | | | +| Collabora | Main | 36004 | | | +| Deepstack | Main | 36005 | | | +| Emby | Main | 36006 | | | +| ESPHome | Main | 36007 | | | +| Home Assistant | Main | 36008 | | | +| Jackett | Main | 36009 | | | +| Jellyfin | Main | 36010 | | | +| KMS | Main | 36011 | | | +| Lidarr | Main | 36012 | | | +| Ombi | Main | 36013 | | | +| Lidarr | Main | 36014 | | | +| Calibre-Web | Main | 36015 | | | +| Radarr | Main | 36016 | | | +| Sonarr | Main | 36017 | | | +| Tautulli | Main | 36018 | | | +| Transmission | Main | 36019 | | | +| Transmission | TCP | 36020 | | | +| Transmission | UDP | 36020 | | | +| NZBGet | Main | 36021 | | | +| ZwaveJS2Mqtt | Main | 36022 | | | +| ZwaveJS2Mqtt | Websocket | 36023 | | | +| Syncthing | Main | 36024 | | | +| Bazarr | Main | 36025 | | | +| Deluge | Main | 36026 | | | +| Deluge | TCP | 51413 | | | +| Deluge | UPD | 51413 | | | +| Navidrome | Main | 36027 | | | +| Node-RED | Main | 36028 | | | +| FreshRSS | Main | 36029 | | | +| GAPS | Main | 36030 | | | +| Grocy | Main | 36031 | | | +| Heimdall | Main | 36032 | | | +| Lazy Librarian | Main | 36033 | | | +| Lychee | Main | 36034 | | | +| Unifi | Main | 36035 | | | +| Unifi | TCP | 36036 | | | +| Unifi | UDP | 36037 | | | +| Readarr | Main | 36038 | | | +| QBitTorrent | Main | 36039 | | | +| QBitTorrent | TCP | 36040 | | | +| QBitTorrent | UDP | 36040 | | | +| NZBHydra | Main | 36041 | | | +| TVHeadend | Main | 36042 | | | +| TVHeadend | HTSP | 36043 | | | +| True Command | Main | 36044 | | | +| SABnzbd | Main | 36045 | | | +| Organizr | Main | 36046 | | | +| Podgrab | Main | 36047 | | | +| Fireflyiii | Main | 36048 | | | +| FocalBoard | Main | 36049 | | | +| Airsonic | Main | 36050 | | | +| Appdaemon | Main | 36051 | | | +| Booksonic-air | Main | 36052 | | | +| Calibre | Main | 36053 | | | +| Calibre | WebServer | 36054 | | | +| Deconz | Main | 36055 | | | +| Deconz | Websocket | 36056 | | | +| Deconz | VNC | 36057 | | | +| Dizquetv | Main | 36058 | | | +| Duplicati | Main | 36059 | | | +| Flaresolverr | Main | 36060 | | | +| Flood | Main | 36061 | | | +| Gonic | Main | 36062 | | | +| Healthchecks | Main | 36063 | | | +| Hyperion-ng | Main | 36064 | | | +| Komga | Main | 36065 | | | +| Librespeed | Main | 36066 | | | +| Mealie | Main | 36067 | | | +| Mosquitto | Main | 36068 | | | +| Mylar | Main | 36068 | | | +| Nullserv | Main | 36069 | | | +| Nullserv | Https | 36070 | | | +| Octoprint | Main | 36071 | | | +| Omada-controller | Main | 36072 | | | +| Overseerr | Main | 36073 | | | +| Owncast | Main | 36074 | | | +| Owncast | Rtmp | 36075 | | | +| Owncloud-ocis | Main | 36076 | | | +| Photoprism | Main | 36077 | | | +| Piaware | Main | 36078 | | | +| Pretend-youre-xyzzy | Main | 36079 | | | +| Protonmail-bridge | Main | 36080 | | | +| Prowlarr | Main | 36081 | | | +| Pyload | Main | 36082 | | | +| Reg | Main | 36083 | | | +| Ser2sock | Main | 36084 | | | +| Stash | Main | 36085 | | | +| Thelounge | Main | 36086 | | | +| Xteve | Main | 36087 | | | +| Resillio-sync | Main | 36088 | | | +| Resillio-sync | UDP | 36089 | | | +| Resillio-sync | TCP | 36090 | | | +| Nextcloud | Main | 36091 | | | +| LittleLink | Main | 36092 | | | +| JDownloader2 | Main | 36093 | | | +| JDownloader2 | VNC | 36094 | | | +| Authelia | Main | 36095 | | | +| Hyperion-ng | json | 36096 | | | +| Hyperion-ng | protobuf | 36097 | | | +| Hyperion-ng | boblight | 36098 | | | +| OpenLDAP | main | 36099 | | | +| OpenLDAP | https | 36100 | | | +| pihole | main | 36101 | | | + +#### Note: TCP and UPD ports that are the same in each App, are not by mistake.