add portal example incubator app

This commit is contained in:
kjeld Schouten-Lebbing
2021-09-16 12:10:12 +02:00
parent 0388fdb1b6
commit 87ea7d6ad5
14 changed files with 1354 additions and 0 deletions
@@ -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
@@ -0,0 +1,48 @@
# Changelog<br>
<a name="pihole-2.0.5"></a>
### [pihole-2.0.5](https://github.com/truecharts/apps/compare/pihole-2.0.4...pihole-2.0.5) (2021-09-16)
<a name="pihole-2.0.4"></a>
### [pihole-2.0.4](https://github.com/truecharts/apps/compare/pihole-2.0.3...pihole-2.0.4) (2021-09-16)
<a name="pihole-2.0.3"></a>
### [pihole-2.0.3](https://github.com/truecharts/apps/compare/pihole-2.0.2...pihole-2.0.3) (2021-09-14)
#### Fix
* update pihole digest and versioning to mirror
<a name="pihole-2.0.2"></a>
### [pihole-2.0.2](https://github.com/truecharts/apps/compare/pihole-2.0.1...pihole-2.0.2) (2021-09-14)
#### Fix
* update pihole versioning to 2021 scheme
<a name="pihole-2.0.1"></a>
### [pihole-2.0.1](https://github.com/truecharts/apps/compare/pihole-1.0.7...pihole-2.0.1) (2021-09-13)
#### Chore
* move most remaining Apps to GHCR mirror ([#959](https://github.com/truecharts/apps/issues/959))
* update non-major ([#962](https://github.com/truecharts/apps/issues/962))
#### Feat
* add new GUI and VPN support to all Apps ([#977](https://github.com/truecharts/apps/issues/977))
* Add VPN addon and move some config to includes ([#973](https://github.com/truecharts/apps/issues/973))
* pin all container references to digests ([#963](https://github.com/truecharts/apps/issues/963))
* Move some common containers to our own containers
<a name="pihole-1.0.7"></a>
## [pihole-1.0.7](https://github.com/truecharts/apps/compare/pihole-1.0.6...pihole-1.0.7) (2021-09-08)
+8
View File
@@ -0,0 +1,8 @@
# Configuration Options
##### Connecting to other apps
If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide:
https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/
##### Available config options
In the future this page is going to contain an automated list of options available in the installation/edit UI.
+24
View File
@@ -0,0 +1,24 @@
apiVersion: v2
appVersion: "2021.09"
dependencies:
- name: common
repository: https://truecharts.org/
version: 7.0.12
deprecated: false
description: portal example
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: portalexample
sources:
- https://pi-hole.net/
- https://github.com/pi-hole
- https://github.com/pi-hole/docker-pi-hole
type: application
version: 0.0.1
+39
View File
@@ -0,0 +1,39 @@
# Introduction
DNS and Ad-filtering for your network
TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation.
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)**
## Source Code
* <https://pi-hole.net/>
* <https://github.com/pi-hole>
* <https://github.com/pi-hole/docker-pi-hole>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org/ | common | 7.0.12 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/).
## Uninstalling the Chart
To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/).
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) first.
- See the [Wiki](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/apps/issues/new/choose)
---
All Rights Reserved - The TrueCharts Project
@@ -0,0 +1,3 @@
<a name="pihole-2.0.5"></a>
### [pihole-2.0.5](https://github.com/truecharts/apps/compare/pihole-2.0.4...pihole-2.0.5) (2021-09-16)
@@ -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
@@ -0,0 +1,19 @@
##
# 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: ghcr.io/truecharts/pihole
pullPolicy: IfNotPresent
tag: v2021.09@sha256:e043ab188da4c36abb11d70d82bbfb394ef5054abff21dafbaf54bc21861bd1e
envFrom:
- configMapRef:
name: pihole-env
##
# Most other defaults are set in questions.yaml
# For other options please refer to the wiki, default_values.yaml or the common library chart
##
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,3 @@
DNS and Ad-filtering for your network
This App is supplied by TrueCharts, for more information please visit https://truecharts.org
@@ -0,0 +1,40 @@
# Default Helm-Values
TrueCharts is primarily build to supply TrueNAS SCALE Apps.
However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
Most of our Apps also consume our "common" Helm Chart.
If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| envFrom[0].configMapRef.name | string | `"pihole-env"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/truecharts/pihole"` | |
| image.tag | string | `"v2021.09@sha256:e043ab188da4c36abb11d70d82bbfb394ef5054abff21dafbaf54bc21861bd1e"` | |
| persistence.config.accessMode | string | `"ReadWriteOnce"` | |
| persistence.config.enabled | bool | `true` | |
| persistence.config.mountPath | string | `"/etc/pihole"` | |
| persistence.config.size | string | `"100Gi"` | |
| persistence.config.type | string | `"pvc"` | |
| persistence.dnsmasq.accessMode | string | `"ReadWriteOnce"` | |
| persistence.dnsmasq.enabled | bool | `true` | |
| persistence.dnsmasq.mountPath | string | `"/etc/dnsmasq.d"` | |
| persistence.dnsmasq.size | string | `"100Gi"` | |
| persistence.dnsmasq.type | string | `"pvc"` | |
| pihole.DNS1 | string | `"9.9.9.9"` | |
| pihole.DNS2 | string | `"149.112.112.112"` | |
| pihole.WEBPASSWORD | string | `"somepassword"` | |
| service.dns-tcp.enabled | bool | `true` | |
| service.dns-tcp.ports.https.enabled | bool | `true` | |
| service.dns-tcp.ports.https.port | int | `53` | |
| service.dns.enabled | bool | `true` | |
| service.dns.ports.dns.enabled | bool | `true` | |
| service.dns.ports.dns.port | int | `53` | |
| service.main.enabled | bool | `true` | |
| service.main.ports.main.port | int | `80` | |
All Rights Reserved - The TrueCharts Project
@@ -0,0 +1,13 @@
{{/* Define the configmap */}}
{{- define "pihole.configmap" -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: pihole-env
data:
WEBPASSWORD: {{ .Values.pihole.WEBPASSWORD | squote }}
{{- if .Values.pihole.DNS1 }}
"PIHOLE_DNS_": {{ if .Values.pihole.DNS2 }}{{ ( printf "%v;%v" .Values.pihole.DNS1 .Values.pihole.DNS2 ) | squote }}{{ else }}{{ .Values.pihole.DNS1 | squote }}{{ end }}
{{- end }}
{{- end -}}
@@ -0,0 +1,8 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Render configmap for pihole */}}
{{- include "pihole.configmap" . }}
{{/* Render the templates */}}
{{ include "common.all" . }}
@@ -0,0 +1,49 @@
# Default values for Jackett.
image:
repository: ghcr.io/truecharts/pihole
pullPolicy: IfNotPresent
tag: v2021.09@sha256:e043ab188da4c36abb11d70d82bbfb394ef5054abff21dafbaf54bc21861bd1e
envFrom:
- configMapRef:
name: pihole-env
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
pihole:
WEBPASSWORD: "somepassword"
DNS1: "9.9.9.9"
DNS2: "149.112.112.112"
persistence:
config:
enabled: true
mountPath: "/etc/pihole"
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
dnsmasq:
enabled: true
mountPath: "/etc/dnsmasq.d"
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"