f8e33766bf
**Description** This removes old portal references (from truenas times) from common and notes.txt Also ensures chartContext is used for notes.txt Technically breaking in case any down-stream users use portal configmap/data ⚒️ Fixes #31880 **⚙️ Type of change** - [x] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [x] 🔃 Refactor of current code - [ ] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
162 lines
3.9 KiB
YAML
162 lines
3.9 KiB
YAML
image:
|
|
repository: quay.io/invidious/invidious
|
|
pullPolicy: IfNotPresent
|
|
tag: latest@sha256:d968ea41e8ac3165d00f774ffba80a53c985a8dc9bc0cf9e710217ab3d5f2e2a
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
runAsGroup: 0
|
|
runAsUser: 0
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10594
|
|
protocol: http
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
initContainers:
|
|
dbseed:
|
|
type: install
|
|
enabled: true
|
|
imageSelector: postgresClientImage
|
|
env:
|
|
POSTGRES_DB:
|
|
secretKeyRef:
|
|
name: cnpg-main-urls
|
|
key: std
|
|
POSTGRES_USER: "{{ .Values.cnpg.main.user }}"
|
|
# PG* variables are for the psql client
|
|
PGPORT: "5432"
|
|
PGPASSWORD:
|
|
secretKeyRef:
|
|
name: cnpg-main-user
|
|
key: password
|
|
command: ["sh", "-c"]
|
|
args:
|
|
- |
|
|
apk add git
|
|
echo "Starting DB Seed..."
|
|
mkdir -p invidious && cd invidious
|
|
|
|
echo "Fetching seed files..."
|
|
git init && \
|
|
git remote add invidious https://github.com/iv-org/invidious.git && \
|
|
git fetch invidious && \
|
|
# Fetch config and docker dirs
|
|
git checkout invidious/master -- docker config
|
|
|
|
# Move config into docker dir
|
|
echo "Preparing directory structure..."
|
|
mv -fv config docker
|
|
|
|
echo "Performing the seed..."
|
|
cd docker
|
|
./init-invidious-db.sh
|
|
containers:
|
|
main:
|
|
probes:
|
|
liveness:
|
|
type: http
|
|
readiness:
|
|
type: http
|
|
startup:
|
|
type: http
|
|
envFrom:
|
|
- secretRef:
|
|
name: invidious-secret
|
|
invidious:
|
|
network:
|
|
inbound:
|
|
external_port: 10594
|
|
https_only: false
|
|
domain: ""
|
|
hsts: true
|
|
outbound:
|
|
disable_proxy: false
|
|
pool_size: 100
|
|
use_quic: false
|
|
cookies: []
|
|
force_resolve: "ipv4"
|
|
logging:
|
|
output: STDOUT
|
|
log_level: "Info"
|
|
features:
|
|
popular_enabled: true
|
|
statistics_enabled: false
|
|
users_accounts:
|
|
registration_enabled: true
|
|
login_enabled: true
|
|
captcha_enabled: true
|
|
admins: []
|
|
enable_user_notifications: true
|
|
background_jobs:
|
|
channel_threads: 1
|
|
channel_refresh_interval: 30m
|
|
full_refresh: false
|
|
feed_threads: 1
|
|
decrypt_polling: false
|
|
jobs:
|
|
clear_expired_items:
|
|
enable: true
|
|
refresh_channels:
|
|
enable: true
|
|
refresh_feeds:
|
|
enable: true
|
|
captcha:
|
|
captcha_api_url: "https://api.anti-captcha.com"
|
|
captcha_key: ""
|
|
miscellaneous:
|
|
banner: ""
|
|
use_pubsub_feeds: false
|
|
dmca_content: []
|
|
cache_annotations: false
|
|
playlist_length_limit: 500
|
|
default_user_preferences:
|
|
internationalization:
|
|
locale: en-US
|
|
region: US
|
|
captions: []
|
|
interface:
|
|
dark_mode: dark
|
|
thin_mode: false
|
|
feed_menu: []
|
|
default_home: Popular
|
|
max_results: 40
|
|
annotations: false
|
|
annotations_subscribed: false
|
|
comments: []
|
|
player_style: invidious
|
|
related_videos: true
|
|
video_player_behavior:
|
|
autoplay: false
|
|
continue: false
|
|
continue_autoplay: true
|
|
listen: false
|
|
video_loop: false
|
|
video_playback_settings:
|
|
quality: hd720
|
|
quality_dash: auto
|
|
speed: 1.00
|
|
volume: 100
|
|
vr_mode: true
|
|
subscription_feed:
|
|
latest_only: false
|
|
notifications_only: false
|
|
unseen_only: false
|
|
sort: published
|
|
miscellaneous:
|
|
local: false
|
|
show_nick: true
|
|
automatic_instance_redirect: false
|
|
extend_desc: false
|
|
cnpg:
|
|
main:
|
|
enabled: true
|
|
database: invidious
|
|
# DB User cannot be changed
|
|
# hardcoded from upstream
|
|
user: kemal
|