feat(app): Move to stable (#2279)

* move to stable

* update image version

* no message

Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
sagit
2022-03-25 19:47:47 +02:00
committed by GitHub
co-authored by Stavros Kois
parent 275093acf6
commit f9d1e5110e
20 changed files with 4 additions and 5 deletions
+26
View File
@@ -0,0 +1,26 @@
# 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
# helm-docs templates
*.gotmpl
+18
View File
@@ -0,0 +1,18 @@
# Changelog<br>
<a name="rsshub-0.0.2"></a>
### [rsshub-0.0.2](https://github.com/truecharts/apps/compare/rsshub-0.0.1...rsshub-0.0.2) (2022-03-22)
#### Chore
* update image ([#2243](https://github.com/truecharts/apps/issues/2243))
<a name="rsshub-0.0.1"></a>
### rsshub-0.0.1 (2022-03-21)
#### Feat
* Add rsshub ([#2223](https://github.com/truecharts/apps/issues/2223))
+7
View File
@@ -0,0 +1,7 @@
# 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](https://truecharts.org/manual/Quick-Start%20Guides/06-linking-apps/) quick-start guide.
##### Available config options
In the future this page is going to contain an automated list of options available in the installation/edit UI.
+33
View File
@@ -0,0 +1,33 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: rsshub
version: 1.0.0
appVersion: "2022"
description: RSSHub can generate RSS feeds from pretty much everything
type: application
deprecated: false
home: https://github.com/truecharts/apps/tree/master/charts/stable/rsshub
icon: https://truecharts.org/_static/img/appicons/rsshub.png
keywords:
- rsshub
- rss
sources:
- https://docs.rsshub.app/en/install/
- https://github.com/DIYgod/RSSHub
dependencies:
- name: common
repository: https://truecharts.org
version: 9.1.8
- condition: redis.enabled
name: redis
repository: https://truecharts.org
version: 2.0.6
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
annotations:
truecharts.org/catagories: |
- media
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
+39
View File
@@ -0,0 +1,39 @@
# Introduction
RSSHub can generate RSS feeds from pretty much everything
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://docs.rsshub.app/en/install/>
* <https://github.com/DIYgod/RSSHub>
## Requirements
Kubernetes: `>=1.16.0-0`
## Dependencies
| Repository | Name | Version |
|------------|------|---------|
| https://truecharts.org | common | 9.1.6 |
| https://truecharts.org | redis | 2.0.5 |
## Installing the Chart
To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/02-Installing-an-App/).
## Upgrading, Rolling Back and Uninstalling the Chart
To upgrade, rollback or delete this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/04-Upgrade-rollback-delete-an-App/).
## Support
- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Adding-TrueCharts/) 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
+45
View File
@@ -0,0 +1,45 @@
# 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 |
|-----|------|---------|-------------|
| additionalContainers.browserless.image | string | `"{{ .Values.browserlessImage.repository }}:{{ .Values.browserlessImage.tag }}"` | |
| additionalContainers.browserless.name | string | `"browserless"` | |
| additionalContainers.browserless.ports[0].containerPort | int | `3000` | |
| additionalContainers.browserless.ports[0].name | string | `"main"` | |
| browserlessImage.repository | string | `"tccr.io/truecharts/browserless-chrome"` | |
| browserlessImage.tag | string | `"v1.51.1-chrome@sha256:39b1e2641af7fb437a8dbe886dc8cb1f613835338f2d8f9c57516f97716d5467"` | |
| env.CACHE_TYPE | string | `"redis"` | |
| env.DISALLOW_ROBOT | bool | `false` | |
| env.NODE_ENV | string | `"production"` | |
| env.NODE_NAME | string | `"{{ .Release.Name }}-{{ randAlphaNum 5 }}"` | |
| env.PORT | string | `"{{ .Values.service.main.ports.main.port }}"` | |
| env.PUPPETEER_WS_ENDPOINT | string | `"ws://localhost:3000"` | |
| env.TITLE_LENGTH_LIMIT | int | `150` | |
| envValueFrom.REDIS_URL.secretKeyRef.key | string | `"url"` | |
| envValueFrom.REDIS_URL.secretKeyRef.name | string | `"rediscreds"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"tccr.io/truecharts/rsshub"` | |
| image.tag | string | `"v2022-03@sha256:3e80aa5d9d3f10bdcfcb80c0fcf5000772a3b4ce915253cc8f0d8b94b1e0fa8e"` | |
| redis.enabled | bool | `true` | |
| redis.existingSecret | string | `"rediscreds"` | |
| secret.BITBUCKET_PASSWORD | string | `""` | |
| secret.BITBUCKET_USERNAME | string | `""` | |
| secret.GITHUB_ACCESS_TOKEN | string | `""` | |
| secret.GOOGLE_FONTS_API_KEY | string | `""` | |
| secret.HTTP_BASIC_AUTH_NAME | string | `""` | |
| secret.HTTP_BASIC_AUTH_PASS | string | `""` | |
| secret.LASTFM_API_KEY | string | `""` | |
| secret.TELEGRAM_TOKEN | string | `""` | |
| secret.YOUTUBE_KEY | string | `""` | |
| service.main.ports.main.port | int | `10191` | |
All Rights Reserved - The TrueCharts Project
+329
View File
@@ -0,0 +1,329 @@
# Include{groups}
portals:
open:
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
# Include{global}
- variable: controller
group: "Controller"
label: ""
schema:
additional_attrs: true
type: dict
attrs:
- variable: advanced
label: "Show Advanced Controller Settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- 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"
# Include{controllerExpert}
- variable: secret
group: "Container Configuration"
label: "Image Secrets"
schema:
additional_attrs: true
type: dict
attrs:
- variable: HTTP_BASIC_AUTH_NAME
label: "HTTP_BASIC_AUTH_NAME"
schema:
type: string
private: true
default: ""
- variable: HTTP_BASIC_AUTH_PASS
label: "HTTP_BASIC_AUTH_PASS"
schema:
type: string
private: true
default: ""
- variable: BITBUCKET_USERNAME
label: "BITBUCKET_USERNAME"
schema:
type: string
private: true
default: ""
- variable: BITBUCKET_PASSWORD
label: "BITBUCKET_PASSWORD"
schema:
type: string
private: true
default: ""
- variable: GITHUB_ACCESS_TOKEN
label: "GITHUB_ACCESS_TOKEN"
schema:
type: string
private: true
default: ""
- variable: GOOGLE_FONTS_API_KEY
label: "GOOGLE_FONTS_API_KEY"
schema:
type: string
private: true
default: ""
- variable: YOUTUBE_KEY
label: "YOUTUBE_KEY"
schema:
type: string
private: true
default: ""
- variable: TELEGRAM_TOKEN
label: "TELEGRAM_TOKEN"
schema:
type: string
private: true
default: ""
- variable: LASTFM_API_KEY
label: "LASTFM_API_KEY"
schema:
type: string
private: true
default: ""
- variable: env
group: "Container Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: DISALLOW_ROBOT
label: "DISALLOW_ROBOT"
schema:
type: boolean
default: false
# Include{containerConfig}
- variable: service
group: "Networking and Services"
label: "Configure Service(s)"
schema:
additional_attrs: true
type: dict
attrs:
- variable: main
label: "Main Service"
description: "The Primary service on which the healthcheck runs, often the webUI"
schema:
additional_attrs: true
type: dict
attrs:
# Include{serviceSelector}
- variable: main
label: "Main Service Port Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: port
label: "Port"
description: "This port exposes the container port on the service"
schema:
type: int
default: 10191
required: true
- variable: advanced
label: "Show Advanced settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- 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: nodePort
label: "Node Port (Optional)"
description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer"
schema:
type: int
min: 9000
max: 65535
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
schema:
type: int
default: 10191
- variable: serviceexpert
group: "Networking and Services"
label: "Show Expert Config"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: hostNetwork
group: "Networking and Services"
label: "Host-Networking (Complicated)"
schema:
type: boolean
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceList}
- variable: ingress
label: ""
group: "Ingress"
schema:
additional_attrs: true
type: dict
attrs:
- variable: main
label: "Main Ingress"
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressExpert}
# Include{ingressList}
# Include{security}
- variable: advancedSecurity
label: "Show Advanced Security Settings"
group: "Security and Permissions"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: securityContext
label: "Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- variable: privileged
label: "Privileged mode"
schema:
type: boolean
default: false
- variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem"
schema:
type: boolean
default: true
- variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation"
schema:
type: boolean
default: false
- variable: runAsNonRoot
label: "runAsNonRoot"
schema:
type: boolean
default: true
# Include{securityContextAdvanced}
- variable: podSecurityContext
group: "Security and Permissions"
label: "Pod Security Context"
schema:
additional_attrs: true
type: dict
attrs:
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 568
- variable: runAsGroup
label: "runAsGroup"
description: The groupID this App of the user running the application"
schema:
type: int
default: 568
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{podSecurityContextAdvanced}
# Include{resources}
# Include{advanced}
# Include{addons}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{{ include "common.all" . }}
+55
View File
@@ -0,0 +1,55 @@
image:
repository: tccr.io/truecharts/rsshub
pullPolicy: IfNotPresent
tag: v2022-03@sha256:7b08f8f30371f62a30f09ce6a86f2ce8cdc03b485ed61568f90abf30106dfa41
browserlessImage:
repository: tccr.io/truecharts/browserless-chrome
tag: v1.51.1-chrome@sha256:39b1e2641af7fb437a8dbe886dc8cb1f613835338f2d8f9c57516f97716d5467
envValueFrom:
REDIS_URL:
secretKeyRef:
name: rediscreds
key: url
secret:
HTTP_BASIC_AUTH_NAME: ""
HTTP_BASIC_AUTH_PASS: ""
BITBUCKET_USERNAME: ""
BITBUCKET_PASSWORD: ""
GITHUB_ACCESS_TOKEN: ""
GOOGLE_FONTS_API_KEY: ""
YOUTUBE_KEY: ""
TELEGRAM_TOKEN: ""
LASTFM_API_KEY: ""
env:
PORT: "{{ .Values.service.main.ports.main.port }}"
NODE_ENV: production
CACHE_TYPE: "redis"
PUPPETEER_WS_ENDPOINT: "ws://localhost:3000"
NODE_NAME: "{{ .Release.Name }}-{{ randAlphaNum 5 }}"
# User defined
# ALLOW_ORIGIN: ""
DISALLOW_ROBOT: false
TITLE_LENGTH_LIMIT: 150
service:
main:
ports:
main:
port: 10191
# Enabled redis
redis:
enabled: true
existingSecret: "rediscreds"
additionalContainers:
browserless:
name: browserless
image: "{{ .Values.browserlessImage.repository }}:{{ .Values.browserlessImage.tag }}"
ports:
- containerPort: 3000
name: main