Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-09-10 08:21:36 +00:00
parent 87a4153708
commit 53026db7ef
44 changed files with 1349 additions and 766 deletions

View File

@ -1,4 +0,0 @@
## [eco-3.1.0](https://github.com/truecharts/charts/compare/eco-3.0.0...eco-3.1.0) (2023-09-05)

View File

@ -4,6 +4,11 @@
## [eco-3.1.1](https://github.com/truecharts/charts/compare/eco-3.1.0...eco-3.1.1) (2023-09-10)
## [eco-3.1.0](https://github.com/truecharts/charts/compare/eco-3.0.0...eco-3.1.0) (2023-09-05)
@ -89,11 +94,6 @@
## [eco-2.0.2](https://github.com/truecharts/charts/compare/doublecommander-6.0.1...eco-2.0.2) (2022-11-30)
## [eco-2.0.2](https://github.com/truecharts/charts/compare/doublecommander-6.0.1...eco-2.0.2) (2022-11-30)

View File

@ -21,7 +21,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/eco
- https://github.com/ich777/docker-steamcmd-server/tree/eco
type: application
version: 3.1.0
version: 3.1.1
annotations:
truecharts.org/catagories: |
- games

View File

@ -0,0 +1,4 @@
## [eco-3.1.1](https://github.com/truecharts/charts/compare/eco-3.1.0...eco-3.1.1) (2023-09-10)

View File

@ -14,7 +14,7 @@ service:
main:
ports:
main:
protocol: http
protocol: tcp
port: 3001
game:
enabled: true
@ -57,16 +57,14 @@ workload:
main:
probes:
liveness:
path: "/"
type: http
port: "{{ .Values.service.main.ports.main.port }}"
readiness:
path: "/"
type: http
port: "{{ .Values.service.main.ports.main.port }}"
startup:
enabled: true
type: tcp
readiness:
enabled: true
type: tcp
startup:
enabled: true
type: tcp
port: "{{ .Values.service.main.ports.main.port }}"
env:
STEAMCMD_DIR: "{{ .Values.persistence.steamcmd.mountPath }}"
SERVER_DIR: "{{ .Values.persistence.serverfiles.mountPath }}"
@ -87,12 +85,9 @@ persistence:
enabled: true
type: configmap
objectName: eco-network
targetSelector:
main:
main:
mountPath: /serverdata/serverfiles/Configs/Network.eco
subPath: Network.eco
readOnly: true
mountPath: /serverdata/serverfiles/Configs/Network.eco
subPath: Network.eco
readOnly: true
portal:
open:

View File

@ -1,9 +0,0 @@
## [traefik-forward-auth-0.1.3](https://github.com/truecharts/charts/compare/traefik-forward-auth-0.1.2...traefik-forward-auth-0.1.3) (2023-05-03)
### Fix
- fix questions ([#8747](https://github.com/truecharts/charts/issues/8747))

View File

@ -1,57 +0,0 @@
{{/* Define the secret */}}
{{- define "tfa.secret" -}}
{{- $googleSecretName := printf "%s-google-secret" (include "tc.common.names.fullname" .) }}
{{- $oidcSecretName := printf "%s-oidc-secret" (include "tc.common.names.fullname" .) }}
{{- $oauthSecretName := printf "%s-oauth2-secret" (include "tc.common.names.fullname" .) }}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $googleSecretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
PROVIDERS_GOOGLE_CLIENT_ID: {{ .Values.tfaGoogleOptions.clientId | trimAll "\"" | b64enc }}
PROVIDERS_GOOGLE_CLIENT_SECRET: {{ .Values.tfaGoogleOptions.clientSecret | trimAll "\"" | b64enc }}
PROVIDERS_GOOGLE_PROMPT: {{ .Values.tfaGoogleOptions.prompt | trimAll "\"" | b64enc }}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $oidcSecretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
PROVIDERS_OIDC_ISSUER_URL: {{ .Values.tfaOidcOptions.issuerUrl | trimAll "\"" | b64enc }}
PROVIDERS_OIDC_CLIENT_ID: {{ .Values.tfaOidcOptions.clientId | trimAll "\"" | b64enc }}
PROVIDERS_OIDC_CLIENT_SECRET: {{ .Values.tfaOidcOptions.clientSecret | trimAll "\"" | b64enc }}
PROVIDERS_OIDC_RESOURCE: {{ .Values.tfaOidcOptions.resource | trimAll "\"" | b64enc }}
---
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $oauthSecretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data:
PROVIDERS_GENERIC_OAUTH_AUTH_URL: {{ .Values.tfaOauthOptions.authUrl | trimAll "\"" | b64enc }}
PROVIDERS_GENERIC_OAUTH_TOKEN_URL: {{ .Values.tfaOauthOptions.tokenUrl | trimAll "\"" | b64enc }}
PROVIDERS_GENERIC_OAUTH_USER_URL: {{ .Values.tfaOauthOptions.userUrl | trimAll "\"" | b64enc }}
PROVIDERS_GENERIC_OAUTH_CLIENT_ID: {{ .Values.tfaOauthOptions.clientId | trimAll "\"" | b64enc }}
PROVIDERS_GENERIC_OAUTH_CLIENT_SECRET: {{ .Values.tfaOauthOptions.clientSecret | trimAll "\"" | b64enc }}
PROVIDERS_GENERIC_OAUTH_TOKEN_STYLE: {{ .Values.tfaOauthOptions.tokenStyle | trimAll "\"" | b64enc }}
PROVIDERS_GENERIC_OAUTH_RESOURCE: {{ .Values.tfaOauthOptions.resource | trimAll "\"" | b64enc }}
---
{{- end }}

View File

@ -1,13 +0,0 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render secret */}}
{{- include "tfa.secret" . }}
{{- $tplArgs := (include "tfa.args" . | fromYaml) }}
{{- $_ := set .Values "tplArgs" $tplArgs -}}
{{- $args := concat .Values.args .Values.tplArgs.args }}
{{- $_ := set .Values "args" $args -}}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}

View File

@ -4,6 +4,25 @@
## [traefik-forward-auth-0.2.0](https://github.com/truecharts/charts/compare/traefik-forward-auth-1.0.0...traefik-forward-auth-0.2.0) (2023-09-10)
## [traefik-forward-auth-1.0.0](https://github.com/truecharts/charts/compare/traefik-forward-auth-0.1.3...traefik-forward-auth-1.0.0) (2023-07-31)
### Feat
- hide advanced ingress options behind checbox ([#9203](https://github.com/truecharts/charts/issues/9203))
### Fix
- fix mistakes on questions.yaml
## [traefik-forward-auth-0.1.3](https://github.com/truecharts/charts/compare/traefik-forward-auth-0.1.2...traefik-forward-auth-0.1.3) (2023-05-03)
### Fix

View File

@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: traefik-forward-auth
version: 0.1.3
version: 0.2.0
appVersion: "latest"
description: A minimal forward authentication service that provides OAuth/SSO login and authentication for the traefik reverse proxy/load balancer. An example for a typical setup is included in the source (docs/how-to.md).
type: application
@ -21,7 +21,7 @@ sources:
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 11.1.2
version: 14.0.1
maintainers:
- email: info@truecharts.org
name: TrueCharts

View File

@ -12,7 +12,7 @@ For more information about this App, please check the docs on the TrueCharts [we
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE%20Apps/Important-MUST-READ).
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE/guides/scale-intro).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/charts/issues/new/choose)

View File

@ -0,0 +1,4 @@
## [traefik-forward-auth-0.2.0](https://github.com/truecharts/charts/compare/traefik-forward-auth-1.0.0...traefik-forward-auth-0.2.0) (2023-09-10)

View File

@ -3,13 +3,15 @@ image:
pullPolicy: IfNotPresent
tag: latest@sha256:edd7eb812cb38e59d32b5a00398b57a78506db2390cbe295f5df590a38a5d44e
envFrom:
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-google-secret'
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-oidc-secret'
- secretRef:
name: '{{ include "tc.common.names.fullname" . }}-oauth2-secret'
workload:
main:
podSpec:
containers:
main:
args: []
envFrom:
- secretRef:
name: tfa-secrets
service:
main:

View File

@ -29,7 +29,6 @@ groups:
description: Postgresql
- name: Documentation
description: Documentation
portals: {}
questions:
- variable: global
group: General Settings
@ -67,7 +66,6 @@ questions:
description: Deployment
- value: DaemonSet
description: DaemonSet
- variable: replicas
label: Replicas (Advanced)
description: Set the number of Replicas
@ -93,57 +91,6 @@ questions:
additional_attrs: true
type: dict
attrs:
- variable: env
group: "App Configuration"
label: "Image Environment"
schema:
additional_attrs: true
type: dict
attrs:
- variable: CACHE_DOMAINS_REPO
label: "CACHE DOMAINS REPO"
description: "The github repo url for the cache_domains files to use to populate the cdn maps."
schema:
type: string
default: "https://github.com/uklans/cache-domains.git"
- variable: CACHE_DOMAINS_BRANCH
label: "CACHE DOMAINS BRANCH"
description: "The branch of the CACHE_DOMAINS_REPO to use"
schema:
type: string
default: "master"
- variable: NOFETCH
label: "NO FETCH"
description: "Turn off all git pull operations and use stored data"
schema:
type: boolean
default: false
- variable: UPSTREAM_DNS
label: "UPSTREAM DNS"
description: "Upstream DNS server(s) the cache should use(separated by spaces). Do NOT point this at lancache-dns)"
schema:
type: string
default: "1.1.1.1 1.0.0.1"
- variable: CACHE_DISK_SIZE
label: "CACHE DISK SIZE"
description: "The amount of disk space the container should use for caching data"
schema:
type: string
default: "1000000m"
- variable: CACHE_MAX_AGE
label: "CACHE MAX AGE"
description: "The maximum amount of time a file should be held in cache"
schema:
type: string
default: "3560d"
- variable: CACHE_INDEX_SIZE
label: "CACHE INDEX SIZE"
description: "Amount of index memory for the nginx cache manager. We recommend 250m of index memory per 1TB"
schema:
type: string
default: "500m"
- variable: envList
label: Extra Environment Variables
description: "Please be aware that some variables are set in the background, adding duplicates here might cause issues or prevent the app from starting..."
@ -269,6 +216,269 @@ questions:
schema:
type: string
required: true
- variable: tfaAppOptions
group: App Configuration
label: Application Options
schema:
type: dict
attrs:
- variable: secret
label: Secret
description: Mandatory, can be any string.
schema:
type: string
required: true
private: true
- variable: port
label: Port
schema:
type: int
default: 4181
- variable: logLevel
label: Log level
schema:
type: string
default: warn
enum:
- value: trace
description: Trace (most detailed)
- value: debug
description: Debug
- value: info
description: Information
- value: warn
description: Warning
- value: error
description: Error
- value: fatal
description: Fatal
- value: panic
description: Panic (least detailed)
- variable: logFormat
label: Log format
schema:
type: string
default: text
enum:
- value: text
description: Text
- value: json
description: JSON
- value: pretty
description: Pretty
- variable: tfaAuthOptions
group: App Configuration
label: Auth Options
schema:
type: dict
attrs:
- variable: authHost
label: Auth host
description: Single host to use when returning from 3rd party auth.
schema:
type: string
- variable: urlPath
label: Callback URL Path
schema:
type: string
default: "/_oauth"
- variable: defaultAction
label: Default action
schema:
type: string
default: auth
enum:
- value: auth
description: Authenticate
- value: allow
description: Allow (do not require authentication)
- variable: defaultProvider
label: Default provider
schema:
type: string
default: google
enum:
- value: google
description: Google Provider
- value: oidc
description: OIDC Provider
- value: generic-oauth
description: Generic OAuth2 Provider
- variable: domain
label: Domains
description: Only allow given email domains.
schema:
type: list
default: []
items:
- variable: allowedDomain
label: Host
schema:
type: string
required: true
- variable: whitelist
label: Whitelist
description: Only allow given email addresses.
schema:
type: list
default: []
items:
- variable: allowedEmail
label: Host
schema:
type: string
required: true
- variable: rules
label: Rules
description: Additional rules in rule.<name>.<param>=<value> format.
schema:
type: list
default: []
items:
- variable: rule
label: Rule
schema:
type: string
required: true
- variable: logoutRedirect
label: Logout redirect
description: URL to redirect to following logout.
schema:
type: string
- variable: tfaCookieOptions
group: App Configuration
label: Cookie Options
schema:
type: dict
attrs:
- variable: cookieDomain
label: Cookie domain hosts
schema:
type: list
default: []
items:
- variable: cookieDomainHost
label: Host
schema:
type: string
required: true
- variable: cookieName
label: Cookie name
schema:
type: string
default: "_forward_auth"
- variable: csrfCookieName
label: CSRF cookie name
schema:
type: string
default: "_forward_auth_csrf"
- variable: lifetime
label: Lifetime
description: Lifetime in seconds.
schema:
type: int
default: 43200
- variable: insecureCookie
label: Use insecure cookies
schema:
type: boolean
default: false
- variable: tfaGoogleOptions
group: App Configuration
label: Google Provider
schema:
type: dict
attrs:
- variable: clientId
label: Client ID
schema:
type: string
private: true
- variable: clientSecret
label: Client Secret
schema:
type: string
private: true
- variable: prompt
label: Prompt
description: Space separated list of OpenID prompt options.
schema:
type: string
- variable: tfaOidcOptions
group: App Configuration
label: OIDC Provider
schema:
type: dict
attrs:
- variable: issuerUrl
label: Issuer URL
schema:
type: string
- variable: clientId
label: Client ID
schema:
type: string
private: true
- variable: clientSecret
label: Client Secret
schema:
type: string
private: true
- variable: resource
label: Resource
description: Optional resource indicator.
schema:
type: string
- variable: tfaOauthOptions
group: App Configuration
label: Generic OAuth2 Provider
schema:
type: dict
attrs:
- variable: authUrl
label: Auth/Login URL
schema:
type: string
- variable: tokenUrl
label: Token URL
schema:
type: string
- variable: userUrl
label: User URL
description: URL used to retrieve user info.
schema:
type: string
- variable: clientId
label: Client ID
schema:
type: string
private: true
- variable: clientSecret
label: Client Secret
schema:
type: string
private: true
- variable: scopes
label: Scopes
schema:
type: string
default: profile, email
- variable: tokenStyle
label: Token style
description: How token is presented when querying the User URL
schema:
type: string
default: header
enum:
- value: header
description: Header
- value: query
description: Query
- variable: resource
label: Resource
description: Optional resource indicator.
schema:
type: string
- variable: service
group: Networking and Services
label: Configure Service(s)
@ -324,57 +534,7 @@ questions:
description: "This port exposes the container port on the service"
schema:
type: int
default: 10279
required: true
- variable: https
label: "HTTPS"
description: "HTTPS Service"
schema:
additional_attrs: true
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 and Loadbalancer exposes the service using the system loadbalancer"
schema:
type: string
default: LoadBalancer
enum:
- value: LoadBalancer
description: LoadBalancer (Expose Ports)
- value: ClusterIP
description: ClusterIP (Do Not Expose Ports)
- variable: loadBalancerIP
label: LoadBalancer IP
description: "MetalLB Only: Selects the Loadbalancer IP to expose on. Required when using PortalButton with MetalLB"
schema:
show_if: [["type", "=", "LoadBalancer"]]
type: string
default: ""
- variable: ports
label: "Service's Port(s) Configuration"
schema:
additional_attrs: true
type: dict
attrs:
- variable: https
label: "HTTPS"
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: 10280
default: 4181
required: true
- variable: serviceexpert
group: Networking and Services
@ -705,107 +865,6 @@ questions:
show_if: [["type", "=", "pvc"]]
type: string
default: 256Gi
- variable: logs
label: "App logs Storage"
description: "Stores the Application logs."
schema:
additional_attrs: true
type: dict
attrs:
- variable: type
label: Type of Storage
description: Sets the persistence type, Anything other than PVC could break rollback!
schema:
type: string
default: pvc
enum:
- value: pvc
description: PVC
- value: hostPath
description: Host Path
- value: emptyDir
description: emptyDir
- value: nfs
description: NFS Share
- variable: server
label: NFS Server
schema:
show_if: [["type", "=", "nfs"]]
type: string
default: ""
- variable: path
label: Path on NFS Server
schema:
show_if: [["type", "=", "nfs"]]
type: string
default: ""
- variable: autoPermissions
label: Automatic Permissions Configuration
description: Automatically set permissions
schema:
show_if: [["type", "!=", "pvc"]]
type: dict
additional_attrs: true
attrs:
- variable: enabled
label: enabled
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: chown
label: Run CHOWN
description: |
It will run CHOWN on the path with the given fsGroup
schema:
type: boolean
default: false
- variable: chmod
label: Run CHMOD
description: |
It will run CHMOD on the path with the given value</br>
Format should be 3 digits, e.g. 770
schema:
type: string
valid_chars: '[0-9]{3}'
default: ""
- variable: recursive
label: Recursive
description: |
It will run CHOWN and CHMOD recursively
schema:
type: boolean
default: false
- variable: readOnly
label: Read Only
schema:
type: boolean
default: false
- variable: hostPath
label: Host Path
description: Path inside the container the storage is mounted
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: medium
label: EmptyDir Medium
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: Default
- value: Memory
description: Memory
- variable: size
label: Size quotum of Storage (Do NOT REDUCE after installation)
description: This value can ONLY be INCREASED after the installation
schema:
show_if: [["type", "=", "pvc"]]
type: string
default: 256Gi
- variable: persistenceList
label: Additional App Storage
group: Storage and Persistence
@ -1242,19 +1301,18 @@ questions:
type: dict
attrs:
# Settings from questions.yaml get appended here on a per-app basis
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 0
default: 568
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID of the user running the application"
description: "The groupID this App of the user running the application"
schema:
type: int
default: 0
default: 568
# Settings from questions.yaml get appended here on a per-app basis
- variable: PUID
label: Process User ID - PUID
@ -1320,7 +1378,6 @@ questions:
schema:
type: int
default: 568
- variable: resources
group: Resources and Devices
label: "Resource Limits"

View File

@ -0,0 +1,20 @@
{{/* Define the secret */}}
{{- define "tfa.secrets" -}}
enabled: true
data:
PROVIDERS_GOOGLE_CLIENT_ID: {{ .Values.tfaGoogleOptions.clientId | trimAll "\"" }}
PROVIDERS_GOOGLE_CLIENT_SECRET: {{ .Values.tfaGoogleOptions.clientSecret | trimAll "\"" }}
PROVIDERS_GOOGLE_PROMPT: {{ .Values.tfaGoogleOptions.prompt | trimAll "\"" }}
PROVIDERS_OIDC_ISSUER_URL: {{ .Values.tfaOidcOptions.issuerUrl | trimAll "\"" }}
PROVIDERS_OIDC_CLIENT_ID: {{ .Values.tfaOidcOptions.clientId | trimAll "\"" }}
PROVIDERS_OIDC_CLIENT_SECRET: {{ .Values.tfaOidcOptions.clientSecret | trimAll "\"" }}
PROVIDERS_OIDC_RESOURCE: {{ .Values.tfaOidcOptions.resource | trimAll "\"" }}
PROVIDERS_GENERIC_OAUTH_AUTH_URL: {{ .Values.tfaOauthOptions.authUrl | trimAll "\"" }}
PROVIDERS_GENERIC_OAUTH_TOKEN_URL: {{ .Values.tfaOauthOptions.tokenUrl | trimAll "\"" }}
PROVIDERS_GENERIC_OAUTH_USER_URL: {{ .Values.tfaOauthOptions.userUrl | trimAll "\"" }}
PROVIDERS_GENERIC_OAUTH_CLIENT_ID: {{ .Values.tfaOauthOptions.clientId | trimAll "\"" }}
PROVIDERS_GENERIC_OAUTH_CLIENT_SECRET: {{ .Values.tfaOauthOptions.clientSecret | trimAll "\"" }}
PROVIDERS_GENERIC_OAUTH_TOKEN_STYLE: {{ .Values.tfaOauthOptions.tokenStyle | trimAll "\"" }}
PROVIDERS_GENERIC_OAUTH_RESOURCE: {{ .Values.tfaOauthOptions.resource | trimAll "\"" }}
{{- end }}

View File

@ -0,0 +1,17 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{/* Render secret */}}
{{- $secret := include "tfa.secrets" . | fromYaml -}}
{{- if $secret -}}
{{- $_ := set .Values.secret "tfa-secrets" $secret -}}
{{- end -}}
{{/* Render arguments */}}
{{- $tplArgs := (include "tfa.args" . | fromYaml) }}
{{- $_ := set .Values "tplArgs" $tplArgs -}}
{{- $mergedArgs := concat $.Values.workload.main.podSpec.containers.main.args .Values.tplArgs.args }}
{{- $_ := set $.Values.workload.main.podSpec.containers.main "args" $mergedArgs -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}

View File

@ -2,3 +2,4 @@ icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/traefik-forward-auth
categories:
- network
screenshots: []

View File

@ -1,55 +0,0 @@
image:
repository: tccr.io/truecharts/lancache-monolithic
pullPolicy: IfNotPresent
tag: latest@sha256:eb23244b951e999cd1f0731fb8cc8a3aaa21c929ed20b8d35f47b1ce0f2af995
service:
main:
ports:
main:
port: 10279
targetPort: 80
protocol: http
https:
enabled: true
ports:
https:
enabled: true
port: 10280
targetPort: 443
protocol: https
persistence:
config:
enabled: true
mountPath: "/data"
logs:
enabled: true
mountPath: "/data/logs"
portal:
open:
enabled: false
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
env:
CACHE_DOMAINS_REPO: "https://github.com/uklans/cache-domains.git"
CACHE_DOMAINS_BRANCH: "master"
UPSTREAM_DNS: "1.1.1.1 1.0.0.1"
CACHE_DISK_SIZE: "1000000m"
CACHE_MAX_AGE: "3560d"
CACHE_INDEX_SIZE: "500m"
NOFETCH: false

View File

@ -1 +0,0 @@
{{ include "tc.v1.common.loader.all" . }}

View File

@ -4,6 +4,11 @@
## [lancache-monolithic-5.1.0](https://github.com/truecharts/charts/compare/lancache-monolithic-5.0.0...lancache-monolithic-5.1.0) (2023-09-10)
## [lancache-monolithic-5.0.0](https://github.com/truecharts/charts/compare/lancache-monolithic-4.0.17...lancache-monolithic-5.0.0) (2023-07-31)
@ -92,8 +97,3 @@
- update helm general non-major ([#9197](https://github.com/truecharts/charts/issues/9197))
## [lancache-monolithic-4.0.8](https://github.com/truecharts/charts/compare/lancache-monolithic-4.0.7...lancache-monolithic-4.0.8) (2023-05-26)

View File

@ -1,27 +1,27 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: lancache-monolithic
version: 5.0.0
appVersion: "latest"
description: A monolithic lancache service capable of caching all CDNs in a single instance.
type: application
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 14.0.1
deprecated: false
description: A monolithic lancache service capable of caching all CDNs in a single instance.
home: https://truecharts.org/charts/stable/lancache-monolithic
icon: https://truecharts.org/img/hotlink-ok/chart-icons/lancache-monolithic.png
keywords:
- monolithic
- lancache
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/lancache-monolithic
- https://github.com/lancachenet/monolithic
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 14.0.1
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: lancache-monolithic
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/lancache-monolithic
- https://github.com/lancachenet/monolithic
type: application
version: 5.1.0
annotations:
truecharts.org/catagories: |
- gaming

View File

@ -0,0 +1,4 @@
## [lancache-monolithic-5.1.0](https://github.com/truecharts/charts/compare/lancache-monolithic-5.0.0...lancache-monolithic-5.1.0) (2023-09-10)

View File

@ -0,0 +1,141 @@
image:
repository: tccr.io/truecharts/lancache-monolithic
pullPolicy: IfNotPresent
tag: latest@sha256:eb23244b951e999cd1f0731fb8cc8a3aaa21c929ed20b8d35f47b1ce0f2af995
prefillImage:
repository: tccr.io/truecharts/lancache-prefill
pullPolicy: IfNotPresent
tag: latest@sha256:b0d891ccb2584eb5270505ec1cfcaeb16320757386f5626bc89fa61173c6d395
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
main:
port: 10279
targetPort: 80
protocol: http
https:
enabled: true
ports:
https:
enabled: true
port: 10280
targetPort: 443
protocol: https
monolithic:
cache_domains_repo: "https://github.com/uklans/cache-domains.git"
cache_domains_branch: "master"
upstream_dns:
- 1.1.1.1
- 1.0.0.1
cache_disk_size: "1000000m"
cache_max_age: "3560d"
cache_index_size: 500m
no_fetch: false
prefill:
# sidecar
enabled: true
updates: true
# Prefill on every container start/restart
on_start: false
log_clean_up: true
default_cron: ""
# BattleNet
battlenet:
enabled: true
cron: "0 5 * * *"
# Epic
epic:
enabled: true
# https://tpill90.github.io/epic-lancache-prefill/Detailed-Command-Usage/#prefill
params: []
cron: "0 4 * * *"
# Steam
steam:
enabled: true
# https://tpill90.github.io/steam-lancache-prefill/detailed-command-usage/Prefill/#options
params: []
cron: "0 2 * * *"
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
env:
CACHE_DOMAINS_REPO: "{{ .Values.monolithic.cache_domains_repo }}"
CACHE_DOMAINS_BRANCH: "{{ .Values.monolithic.cache_domains_branch }}"
UPSTREAM_DNS: '{{ join " " .Values.monolithic.upstream_dns }}'
CACHE_DISK_SIZE: "{{ .Values.monolithic.cache_disk_size }}"
CACHE_MAX_AGE: "{{ .Values.monolithic.cache_max_age }}"
CACHE_INDEX_SIZE: "{{ .Values.monolithic.cache_index_size }}"
NOFETCH: "{{ .Values.monolithic.no_fetch }}"
prefill:
enabled: true
type: Deployment
podSpec:
containers:
prefill:
primary: true
enabled: true
imageSelector: prefillImage
tty: true
stdin: true
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
env:
DATA_DIR: "{{ .Values.persistence.prefill.mountPath }}"
UPDATES: "{{ .Values.prefill.updates }}"
PREFILL_ONSTARTUP: "{{ .Values.prefill.on_start }}"
LOGCLEANUP: "{{ .Values.prefill.log_clean_up }}"
CRON_SCHED_GLOBAL: "{{ .Values.prefill.default_cron }}"
# BattleNet
ENABLE_BN: "{{ .Values.prefill.battlenet.enabled }}"
CRON_SCHED_BN: "{{ .Values.prefill.battlenet.cron }}"
# Epic
ENABLE_EPIC: "{{ .Values.prefill.epic.enabled }}"
CRON_SCHED_EPIC: "{{ .Values.prefill.epic.cron }}"
PREFILL_PARAMS_EPIC: '{{ join " " .Values.prefill.epic.params }}'
# Steam
ENABLE_STEAM: "{{ .Values.prefill.steam.enabled }}"
PREFILL_PARAMS_STEAM: '{{ join " " .Values.prefill.steam.params }}'
CRON_SCHED_STEAM: "{{ .Values.prefill.steam.cron }}"
DATA_PERM: 770
USER: root
persistence:
config:
enabled: true
mountPath: "/data/cache"
logs:
enabled: true
mountPath: "/data/logs"
prefill:
enabled: true
mountPath: /data/prefill
targetSelectAll: true
portal:
open:
enabled: false

View File

@ -0,0 +1,10 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . -}}
{{/* Disable [prefill] if requested */}}
{{- if not .Values.prefill.enabled -}}
{{- $_ := set .Values.workload.prefill "enabled" false -}}
{{- end -}}
{{/* Render the templates */}}
{{- include "tc.v1.common.loader.apply" . -}}