Compare commits
No files matched your search
@@ -0,0 +1,2 @@
|
||||
owner: jellyfin
|
||||
release-name-template: "{{ .Name }}-{{ .Version }}"
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["github>jellyfin/.github//renovate-presets/default"],
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"fileMatch": ["charts/jellyfin/Chart.yaml"],
|
||||
"matchStrings": ["appVersion: (?<currentValue>.*?)\\n"],
|
||||
"datasourceTemplate": "docker",
|
||||
"depNameTemplate": "jellyfin/jellyfin"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
name: Bump Helm Chart Version
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
jellyfin_version:
|
||||
description: 'Application version to set in Chart.yaml'
|
||||
required: true
|
||||
default: '1.0.0'
|
||||
|
||||
jobs:
|
||||
bump-version:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
||||
- name: Bump chart version and set appVersion
|
||||
id: bump_version
|
||||
run: |
|
||||
# Read the current version from the Chart.yaml
|
||||
current_version=$(grep '^version:' charts/jellyfin/Chart.yaml | awk '{print $2}')
|
||||
echo "Current version: $current_version"
|
||||
|
||||
# Split the version by dot and increment the minor version
|
||||
major=$(echo "$current_version" | cut -d '.' -f 1)
|
||||
minor=$(echo "$current_version" | cut -d '.' -f 2)
|
||||
patch=$(echo "$current_version" | cut -d '.' -f 3)
|
||||
new_version="$major.$((minor+1)).0"
|
||||
|
||||
echo "New chart version: $new_version"
|
||||
|
||||
# Get the app version passed as an input
|
||||
jellyfin_version="${{ github.event.inputs.jellyfin_version }}"
|
||||
echo "Setting appVersion to: $jellyfin_version"
|
||||
|
||||
# Update the Chart.yaml with the new version and appVersion
|
||||
sed -i "s/^version:.*/version: $new_version/" charts/jellyfin/Chart.yaml
|
||||
sed -i "s/^appVersion:.*/appVersion: $jellyfin_version/" charts/jellyfin/Chart.yaml
|
||||
|
||||
# Output the new chart version for further use
|
||||
echo "new_version=$new_version" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Commit changes
|
||||
run: |
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add charts/jellyfin/Chart.yaml
|
||||
git commit -m "chore(jellyfin): Bump chart version to ${{ steps.bump_version.outputs.new_version }} and set appVersion to ${{ github.event.inputs.jellyfin_version }}"
|
||||
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.JF_BOT_TOKEN }}
|
||||
|
||||
- name: Create Git tag
|
||||
id: create_tag
|
||||
run: |
|
||||
new_version="${{ steps.bump_version.outputs.new_version }}"
|
||||
git tag "$new_version"
|
||||
echo "Tag created: $new_version"
|
||||
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.JF_BOT_TOKEN }}
|
||||
tags: true
|
||||
@@ -0,0 +1,28 @@
|
||||
name: Docs Update
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
generate-docs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Helm Docs GitHub Action
|
||||
uses: losisin/helm-docs-github-action@a57fae5676e4c55a228ea654a1bcaec8dd3cf5b5 # v1.6.2
|
||||
with:
|
||||
git-push: true
|
||||
git-commit-message: "docs(charts): :memo: write updated reademe"
|
||||
|
||||
- name: Push changes
|
||||
run: git push
|
||||
@@ -0,0 +1,40 @@
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
packages: write
|
||||
|
||||
jobs:
|
||||
release:
|
||||
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
|
||||
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config --global user.name "jellyfin-bot"
|
||||
git config --global user.email "team@jellyfin.org"
|
||||
|
||||
- name: Install Helm
|
||||
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
- name: Run chart-releaser
|
||||
uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0
|
||||
env:
|
||||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
with:
|
||||
config: .github/cr.yaml
|
||||
@@ -0,0 +1 @@
|
||||
.idea
|
||||
@@ -0,0 +1,339 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{{description}}
|
||||
Copyright (C) {{year}} {{fullname}}
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
{signature of Ty Coon}, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
||||
@@ -0,0 +1,73 @@
|
||||
# Jellyfin Helm Charts Repository
|
||||
|
||||
This repository contains Helm charts for the jellyfin project.
|
||||
|
||||
## Repository Structure
|
||||
|
||||
Each Helm chart is stored in its own directory. Each chart follows the standard Helm chart structure:
|
||||
|
||||
```plaintext
|
||||
jellyfin-helm/
|
||||
├── jellyfin/
|
||||
│ ├── Chart.yaml
|
||||
│ ├── values.yaml
|
||||
│ ├── templates/
|
||||
│ └── ...
|
||||
├── chart2/
|
||||
│ ├── Chart.yaml
|
||||
│ ├── values.yaml
|
||||
│ ├── templates/
|
||||
│ └── ...
|
||||
└── ...
|
||||
```
|
||||
|
||||
- `Chart.yaml`: Contains metadata about the chart (name, version, app version, etc.).
|
||||
- `values.yaml`: Default configuration values for the chart.
|
||||
- `templates/`: The Kubernetes resource templates (YAML files) that Helm uses to deploy the chart.
|
||||
|
||||
## How to Use the Charts
|
||||
|
||||
### 1. Add this Repository
|
||||
|
||||
To use the charts in this repository, first add the repository to Helm:
|
||||
|
||||
```bash
|
||||
helm repo add jellyfin https://jellyfin.github.io/jellyfin-helm
|
||||
helm repo update
|
||||
```
|
||||
|
||||
### 2. Install a Chart
|
||||
|
||||
To install a chart from this repository, use the following command:
|
||||
|
||||
```bash
|
||||
helm install <release-name> jellyfin/<chart-name>
|
||||
```
|
||||
|
||||
### 3. Customize Installation
|
||||
|
||||
You can customize the installation by passing in custom values via the `--set` flag or by using a `values.yaml` file:
|
||||
|
||||
```bash
|
||||
helm install <release-name> jellyfin/<chart-name> --set key=value
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```bash
|
||||
helm install <release-name> jellyfin/<chart-name> -f custom-values.yaml
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Feel free to contribute to this repository by:
|
||||
|
||||
- Submitting new charts.
|
||||
- Fixing bugs or issues.
|
||||
- Improving documentation.
|
||||
|
||||
To contribute, fork this repository, create a new branch, and submit a pull request with your changes.
|
||||
|
||||
## License
|
||||
|
||||
This repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
|
||||
@@ -0,0 +1,23 @@
|
||||
# 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
|
||||
*.orig
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
@@ -0,0 +1,12 @@
|
||||
apiVersion: v2
|
||||
name: jellyfin
|
||||
description: A Helm chart for Jellyfin Media Server
|
||||
type: application
|
||||
home: https://jellyfin.org/
|
||||
icon: https://jellyfin.org/images/logo.svg
|
||||
keywords:
|
||||
- jellyfin
|
||||
- media
|
||||
- self-hosted
|
||||
version: 2.4.0
|
||||
appVersion: 10.11.0
|
||||
@@ -0,0 +1,44 @@
|
||||
# Migration Guide
|
||||
|
||||
## v1.x to v2.x
|
||||
|
||||
### General
|
||||
|
||||
1. The `enableDLNA` key has been moved from the top level to the `jellyfin` subkey.
|
||||
2. Some renames have occurred to align with the standard:
|
||||
```yaml
|
||||
extraPodLabels -> podLabels
|
||||
extraPodAnnotations -> podAnnotations
|
||||
```
|
||||
3. The `extraEnvVars` key has been moved and renamed to `jellyfin.env`.
|
||||
4. `extraVolumes` has been moved to `volumes`, and `extraVolumeMounts` has been moved to `volumeMounts`.
|
||||
5. The `extraExistingClaimMounts` key has been removed, as it can now be represented with `volumes` and `volumeMounts`.
|
||||
|
||||
### Service
|
||||
|
||||
1. The `name` field has been renamed to `portName` for consistency.
|
||||
2. The following fields have been added:
|
||||
```yaml
|
||||
# -- Configure dual-stack IP family policy. See: https://kubernetes.io/docs/concepts/services-networking/dual-stack/
|
||||
ipFamilyPolicy: ""
|
||||
# -- Supported IP families (IPv4, IPv6).
|
||||
ipFamilies: []
|
||||
# -- Class of the LoadBalancer.
|
||||
loadBalancerClass: ""
|
||||
# -- External traffic policy (Cluster or Local).
|
||||
# externalTrafficPolicy: Cluster
|
||||
```
|
||||
|
||||
### Ingress
|
||||
|
||||
1. The `className` field has been added for ingress class, as annotations are deprecated.
|
||||
2. The `path` field has been moved under the `hosts` key to better represent the actual CRD, providing more fine-grained control.
|
||||
3. The `labels` field has been added for additional labels.
|
||||
|
||||
### Persistence
|
||||
|
||||
PVC creation is now enabled by default to prevent data loss when the chart is used without a specific configuration.
|
||||
|
||||
### Probes
|
||||
|
||||
The liveness and readiness probes are now always enabled to ensure proper Kubernetes lifecycle management. Adjust the values accordingly if you have a large library.
|
||||
@@ -0,0 +1,158 @@
|
||||
# jellyfin
|
||||
|
||||
  
|
||||
|
||||
A Helm chart for Jellyfin Media Server
|
||||
|
||||
**Homepage:** <https://jellyfin.org/>
|
||||
|
||||
## Steps to Use a Helm Chart
|
||||
|
||||
### 1. Add a Helm Repository
|
||||
|
||||
Helm repositories contain collections of charts. You can add an existing repository using the following command:
|
||||
|
||||
```bash
|
||||
helm repo add jellyfin https://jellyfin.github.io/jellyfin-helm
|
||||
```
|
||||
|
||||
### 2. Install the Helm Chart
|
||||
|
||||
To install a chart, use the following command:
|
||||
|
||||
```bash
|
||||
helm install my-jellyfin jellyfin/jellyfin
|
||||
```
|
||||
|
||||
### 3. View the Installation
|
||||
|
||||
You can check the status of the release using:
|
||||
|
||||
```bash
|
||||
helm status my-jellyfin
|
||||
```
|
||||
|
||||
## Customizing the Chart
|
||||
|
||||
Helm charts come with default values, but you can customize them by using the --set flag or by providing a custom values.yaml file.
|
||||
|
||||
### 1. Using --set to Override Values
|
||||
```bash
|
||||
helm install my-jellyfin jellyfin/jellyfin --set key1=value1,key2=value2
|
||||
```
|
||||
|
||||
### 2. Using a values.yaml File
|
||||
You can create a custom values.yaml file and pass it to the install command:
|
||||
|
||||
```bash
|
||||
helm install my-jellyfin jellyfin/jellyfin -f values.yaml
|
||||
```
|
||||
|
||||
## Values
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| affinity | object | `{}` | Affinity rules for pod scheduling. |
|
||||
| deploymentAnnotations | object | `{}` | Annotations to add to the deployment. |
|
||||
| deploymentStrategy | object | `{"type":"RollingUpdate"}` | Deployment strategy configuration. See `kubectl explain deployment.spec.strategy`. |
|
||||
| dnsConfig | object | `{}` | Define a dnsConfig. See https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config Use this to provide a custom DNS resolver configuration |
|
||||
| dnsPolicy | string | `""` | Define a dnsPolicy. See https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy |
|
||||
| extraContainers | list | `[]` | additional sidecar containers to run inside the pod. |
|
||||
| extraInitContainers | list | `[]` | additional init containers to run inside the pod. |
|
||||
| fullnameOverride | string | `""` | Override the default full name of the chart. |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy (Always, IfNotPresent, or Never). |
|
||||
| image.repository | string | `"docker.io/jellyfin/jellyfin"` | Container image repository for Jellyfin. |
|
||||
| image.tag | string | `""` | Jellyfin container image tag. Leave empty to automatically use the Chart's app version. |
|
||||
| imagePullSecrets | list | `[]` | Image pull secrets to authenticate with private repositories. See: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ |
|
||||
| ingress | object | `{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}` | Ingress configuration. See: https://kubernetes.io/docs/concepts/services-networking/ingress/ |
|
||||
| jellyfin.args | list | `[]` | Additional arguments for the entrypoint command. |
|
||||
| jellyfin.command | list | `[]` | Custom command to use as container entrypoint. |
|
||||
| jellyfin.enableDLNA | bool | `false` | Enable DLNA. Requires host network. See: https://jellyfin.org/docs/general/networking/dlna.html |
|
||||
| jellyfin.env | list | `[]` | Additional environment variables for the container. |
|
||||
| livenessProbe | object | `{"initialDelaySeconds":10,"tcpSocket":{"port":"http"}}` | Configure liveness probe for Jellyfin. |
|
||||
| metrics | object | `{"enabled":false,"serviceMonitor":{"enabled":false,"interval":"30s","labels":{},"metricRelabelings":[],"namespace":"","path":"/metrics","port":8096,"relabelings":[],"scheme":"http","scrapeTimeout":"30s","targetLabels":[],"tlsConfig":{}}}` | Configuration for metrics collection and monitoring |
|
||||
| metrics.enabled | bool | `false` | Enable or disable metrics collection |
|
||||
| metrics.serviceMonitor | object | `{"enabled":false,"interval":"30s","labels":{},"metricRelabelings":[],"namespace":"","path":"/metrics","port":8096,"relabelings":[],"scheme":"http","scrapeTimeout":"30s","targetLabels":[],"tlsConfig":{}}` | Configuration for the Prometheus ServiceMonitor |
|
||||
| metrics.serviceMonitor.enabled | bool | `false` | Enable or disable the creation of a ServiceMonitor resource |
|
||||
| metrics.serviceMonitor.interval | string | `"30s"` | Interval at which metrics should be scraped |
|
||||
| metrics.serviceMonitor.labels | object | `{}` | Labels to add to the ServiceMonitor resource |
|
||||
| metrics.serviceMonitor.metricRelabelings | list | `[]` | Relabeling rules for the metrics before ingestion |
|
||||
| metrics.serviceMonitor.namespace | string | `""` | Namespace where the ServiceMonitor resource should be created. Defaults to Release.Namespace |
|
||||
| metrics.serviceMonitor.path | string | `"/metrics"` | Path to scrape for metrics |
|
||||
| metrics.serviceMonitor.port | int | `8096` | Port to scrape for metrics |
|
||||
| metrics.serviceMonitor.relabelings | list | `[]` | Relabeling rules for the scraped metrics |
|
||||
| metrics.serviceMonitor.scheme | string | `"http"` | Scheme to use for scraping metrics (http or https) |
|
||||
| metrics.serviceMonitor.scrapeTimeout | string | `"30s"` | Timeout for scraping metrics |
|
||||
| metrics.serviceMonitor.targetLabels | list | `[]` | Target labels to add to the scraped metrics |
|
||||
| metrics.serviceMonitor.tlsConfig | object | `{}` | TLS configuration for scraping metrics |
|
||||
| nameOverride | string | `""` | Override the default name of the chart. |
|
||||
| nodeSelector | object | `{}` | Node selector for pod scheduling. |
|
||||
| persistence.config.accessMode | string | `"ReadWriteOnce"` | |
|
||||
| persistence.config.annotations | object | `{}` | Custom annotations to be added to the PVC |
|
||||
| persistence.config.enabled | bool | `true` | set to false to use emptyDir |
|
||||
| persistence.config.size | string | `"5Gi"` | |
|
||||
| persistence.config.storageClass | string | `""` | If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner. |
|
||||
| persistence.media.accessMode | string | `"ReadWriteOnce"` | PVC specific settings, only used if type is 'pvc'. |
|
||||
| persistence.media.annotations | object | `{}` | Custom annotations to be added to the PVC |
|
||||
| persistence.media.enabled | bool | `true` | set to false to use emptyDir |
|
||||
| persistence.media.hostPath | string | `""` | Path on the host node for media storage, only used if type is 'hostPath'. |
|
||||
| persistence.media.size | string | `"25Gi"` | |
|
||||
| persistence.media.storageClass | string | `""` | If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner. |
|
||||
| persistence.media.type | string | `"pvc"` | Type of volume for media storage (pvc, hostPath, emptyDir). If 'enabled' is false, 'emptyDir' is used regardless of this setting. |
|
||||
| podAnnotations | object | `{}` | Annotations to add to the pod. |
|
||||
| podLabels | object | `{}` | Additional labels to add to the pod. |
|
||||
| podSecurityContext | object | `{}` | Security context for the pod. |
|
||||
| priorityClassName | string | `""` | Define a priorityClassName for the pod. |
|
||||
| readinessProbe | object | `{"initialDelaySeconds":10,"tcpSocket":{"port":"http"}}` | Configure readiness probe for Jellyfin. |
|
||||
| replicaCount | int | `1` | Number of Jellyfin replicas to start. Should be left at 1. |
|
||||
| resources | object | `{}` | Resource requests and limits for the Jellyfin container. |
|
||||
| runtimeClassName | string | `""` | Define a custom runtimeClassName for the pod. |
|
||||
| securityContext | object | `{}` | Security context for the container. |
|
||||
| service.annotations | object | `{}` | Annotations for the service. |
|
||||
| service.ipFamilies | list | `[]` | Supported IP families (IPv4, IPv6). |
|
||||
| service.ipFamilyPolicy | string | `""` | Configure dual-stack IP family policy. See: https://kubernetes.io/docs/concepts/services-networking/dual-stack/ |
|
||||
| service.labels | object | `{}` | Labels for the service. |
|
||||
| service.loadBalancerClass | string | `""` | Class of the LoadBalancer. |
|
||||
| service.loadBalancerIP | string | `""` | Specific IP address for the LoadBalancer. |
|
||||
| service.loadBalancerSourceRanges | list | `[]` | Source ranges allowed to access the LoadBalancer. |
|
||||
| service.port | int | `8096` | Port for the Jellyfin service. |
|
||||
| service.portName | string | `"service"` | Name of the port in the service. |
|
||||
| service.type | string | `"ClusterIP"` | Service type (ClusterIP, NodePort, or LoadBalancer). |
|
||||
| serviceAccount | object | `{"annotations":{},"automount":true,"create":true,"name":""}` | Service account configuration. See: https://kubernetes.io/docs/concepts/security/service-accounts/ |
|
||||
| serviceAccount.annotations | object | `{}` | Annotations for the service account. |
|
||||
| serviceAccount.automount | bool | `true` | Automatically mount API credentials for the service account. |
|
||||
| serviceAccount.create | bool | `true` | Specifies whether to create a service account. |
|
||||
| serviceAccount.name | string | `""` | Custom name for the service account. If left empty, the name will be autogenerated. |
|
||||
| tolerations | list | `[]` | Tolerations for pod scheduling. |
|
||||
| volumeMounts | list | `[]` | Additional volume mounts for the Jellyfin container. |
|
||||
| volumes | list | `[]` | Additional volumes to mount in the Jellyfin pod. |
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
|
||||
|
||||
## Hardware acceleration
|
||||
|
||||
Out of the box the pod does not have the necessary permissions to enable hardware acceleration (HWA) in Jellyfin.
|
||||
Adding the following Helm values should make it enable you to use hardware acceleration features.
|
||||
Some settings may need to be tweaked depending on the type of device (Intel/AMD/NVIDIA/...) and your container runtime.
|
||||
|
||||
Please refer to the Jellyfin upstream documentation for more information about hardware acceleration: <https://jellyfin.org/docs/general/administration/hardware-acceleration/>
|
||||
|
||||
```yaml
|
||||
securityContext:
|
||||
capabilities:
|
||||
add:
|
||||
- "SYS_ADMIN"
|
||||
drop:
|
||||
- "ALL"
|
||||
privileged: false
|
||||
|
||||
extraVolumes:
|
||||
- name: hwa
|
||||
hostPath:
|
||||
path: /dev/dri
|
||||
|
||||
extraVolumeMounts:
|
||||
- name: hwa
|
||||
mountPath: /dev/dri
|
||||
```
|
||||
@@ -0,0 +1,87 @@
|
||||
{{ template "chart.header" . }}
|
||||
{{ template "chart.deprecationWarning" . }}
|
||||
|
||||
{{ template "chart.badgesSection" . }}
|
||||
|
||||
{{ template "chart.description" . }}
|
||||
|
||||
{{ template "chart.homepageLine" . }}
|
||||
|
||||
## Steps to Use a Helm Chart
|
||||
|
||||
### 1. Add a Helm Repository
|
||||
|
||||
Helm repositories contain collections of charts. You can add an existing repository using the following command:
|
||||
|
||||
```bash
|
||||
helm repo add jellyfin https://jellyfin.github.io/jellyfin-helm
|
||||
```
|
||||
|
||||
### 2. Install the Helm Chart
|
||||
|
||||
To install a chart, use the following command:
|
||||
|
||||
```bash
|
||||
helm install my-jellyfin jellyfin/jellyfin
|
||||
```
|
||||
|
||||
### 3. View the Installation
|
||||
|
||||
You can check the status of the release using:
|
||||
|
||||
```bash
|
||||
helm status my-jellyfin
|
||||
```
|
||||
|
||||
## Customizing the Chart
|
||||
|
||||
Helm charts come with default values, but you can customize them by using the --set flag or by providing a custom values.yaml file.
|
||||
|
||||
### 1. Using --set to Override Values
|
||||
```bash
|
||||
helm install my-jellyfin jellyfin/jellyfin --set key1=value1,key2=value2
|
||||
```
|
||||
|
||||
### 2. Using a values.yaml File
|
||||
You can create a custom values.yaml file and pass it to the install command:
|
||||
|
||||
```bash
|
||||
helm install my-jellyfin jellyfin/jellyfin -f values.yaml
|
||||
```
|
||||
|
||||
{{ template "chart.maintainersSection" . }}
|
||||
|
||||
{{ template "chart.sourcesSection" . }}
|
||||
|
||||
{{ template "chart.requirementsSection" . }}
|
||||
|
||||
{{ template "chart.valuesSection" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
|
||||
## Hardware acceleration
|
||||
|
||||
Out of the box the pod does not have the necessary permissions to enable hardware acceleration (HWA) in Jellyfin.
|
||||
Adding the following Helm values should make it enable you to use hardware acceleration features.
|
||||
Some settings may need to be tweaked depending on the type of device (Intel/AMD/NVIDIA/...) and your container runtime.
|
||||
|
||||
Please refer to the Jellyfin upstream documentation for more information about hardware acceleration: <https://jellyfin.org/docs/general/administration/hardware-acceleration/>
|
||||
|
||||
```yaml
|
||||
securityContext:
|
||||
capabilities:
|
||||
add:
|
||||
- "SYS_ADMIN"
|
||||
drop:
|
||||
- "ALL"
|
||||
privileged: false
|
||||
|
||||
extraVolumes:
|
||||
- name: hwa
|
||||
hostPath:
|
||||
path: /dev/dri
|
||||
|
||||
extraVolumeMounts:
|
||||
- name: hwa
|
||||
mountPath: /dev/dri
|
||||
```
|
||||
@@ -0,0 +1,69 @@
|
||||
{{/*
|
||||
Fail if command and metrics are set
|
||||
*/}}
|
||||
{{- if and .Values.image.command .Values.metrics.enabled }}
|
||||
{{- fail "Can't use custom command and metrics in combination. They are exclusive features" }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Expand the name of the chart.
|
||||
*/}}
|
||||
{{- define "jellyfin.name" -}}
|
||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create a default fully qualified app name.
|
||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
If release name contains chart name it will be used as a full name.
|
||||
*/}}
|
||||
{{- define "jellyfin.fullname" -}}
|
||||
{{- if .Values.fullnameOverride }}
|
||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
||||
{{- else }}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride }}
|
||||
{{- if contains $name .Release.Name }}
|
||||
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
||||
{{- else }}
|
||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create chart name and version as used by the chart label.
|
||||
*/}}
|
||||
{{- define "jellyfin.chart" -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Common labels
|
||||
*/}}
|
||||
{{- define "jellyfin.labels" -}}
|
||||
helm.sh/chart: {{ include "jellyfin.chart" . }}
|
||||
{{ include "jellyfin.selectorLabels" . }}
|
||||
{{- if .Chart.AppVersion }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||
{{- end }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Selector labels
|
||||
*/}}
|
||||
{{- define "jellyfin.selectorLabels" -}}
|
||||
app.kubernetes.io/name: {{ include "jellyfin.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create the name of the service account to use
|
||||
*/}}
|
||||
{{- define "jellyfin.serviceAccountName" -}}
|
||||
{{- if .Values.serviceAccount.create }}
|
||||
{{- default (include "jellyfin.fullname" .) .Values.serviceAccount.name }}
|
||||
{{- else }}
|
||||
{{- default "default" .Values.serviceAccount.name }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,176 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ include "jellyfin.fullname" . }}
|
||||
{{- with .Values.deploymentAnnotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "jellyfin.labels" . | nindent 4 }}
|
||||
spec:
|
||||
{{- with .Values.deploymentStrategy }}
|
||||
strategy:
|
||||
{{- toYaml . | trim | nindent 4 }}
|
||||
{{- end }}
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "jellyfin.selectorLabels" . | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
{{- with .Values.podAnnotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "jellyfin.labels" . | nindent 8 }}
|
||||
{{- with .Values.podLabels }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ include "jellyfin.serviceAccountName" . }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
{{- if .Values.jellyfin.enableDLNA }}
|
||||
hostNetwork: true
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- with .Values.jellyfin.command }}
|
||||
command:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- with .Values.jellyfin.args }}
|
||||
args:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- with .Values.jellyfin.env }}
|
||||
env:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.metrics.enabled }}
|
||||
lifecycle:
|
||||
postStart:
|
||||
exec:
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- |
|
||||
echo "Waiting for system.xml to enable metrics..."
|
||||
timeout=300 # 5 minutes timeout
|
||||
interval=5 # Check every 5 seconds
|
||||
elapsed=0
|
||||
while [ ! -f /config/config/system.xml ]; do
|
||||
if [ $elapsed -ge $timeout ]; then
|
||||
echo "ERROR: Timed out waiting for /config/config/system.xml" >&2
|
||||
exit 1
|
||||
fi
|
||||
sleep $interval
|
||||
elapsed=$((elapsed + interval))
|
||||
done
|
||||
echo "Found /config/config/system.xml, enabling metrics..."
|
||||
# Check if metrics are already enabled before running sed
|
||||
if ! grep -q '<EnableMetrics>true</EnableMetrics>' /config/config/system.xml; then
|
||||
sed 's,<EnableMetrics>false</EnableMetrics>,<EnableMetrics>true</EnableMetrics>,' -i /config/config/system.xml
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Metrics enabled successfully."
|
||||
else
|
||||
echo "ERROR: Failed to enable metrics in /config/config/system.xml" >&2
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "Metrics already enabled."
|
||||
fi
|
||||
exit 0
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8096
|
||||
protocol: TCP
|
||||
{{- if .Values.jellyfin.enableDLNA }}
|
||||
- name: dlna
|
||||
containerPort: 1900
|
||||
hostPort: 1900
|
||||
protocol: UDP
|
||||
{{- end }}
|
||||
livenessProbe:
|
||||
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
||||
readinessProbe:
|
||||
{{- toYaml .Values.readinessProbe | nindent 12 }}
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: config
|
||||
- mountPath: /media
|
||||
name: media
|
||||
{{- with .Values.volumeMounts }}
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- with .Values.extraContainers }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.initContainers }}
|
||||
initContainers:
|
||||
{{- toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: config
|
||||
{{- if .Values.persistence.config.enabled }}
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ if .Values.persistence.config.existingClaim }}{{ .Values.persistence.config.existingClaim }}{{- else }}{{ template "jellyfin.fullname" . }}-config{{- end }}
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
- name: media
|
||||
{{- if .Values.persistence.media.enabled }}
|
||||
{{- if eq .Values.persistence.media.type "pvc" }}
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ if .Values.persistence.media.existingClaim }}{{ .Values.persistence.media.existingClaim }}{{- else }}{{ template "jellyfin.fullname" . }}-media{{- end }}
|
||||
{{- else if eq .Values.persistence.media.type "hostPath" }}
|
||||
hostPath:
|
||||
path: {{ .Values.persistence.media.hostPath }}
|
||||
type: Directory
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
{{- with .Values.volumes }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
affinity:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.tolerations }}
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.runtimeClassName }}
|
||||
runtimeClassName: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.priorityClassName }}
|
||||
priorityClassName: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.dnsConfig }}
|
||||
dnsConfig:
|
||||
{{- toYaml . | nindent 8}}
|
||||
{{- end }}
|
||||
{{- with .Values.dnsPolicy }}
|
||||
dnsPolicy: {{ . | quote }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,43 @@
|
||||
{{- if .Values.ingress.enabled }}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ include "jellyfin.fullname" . }}
|
||||
labels:
|
||||
{{- include "jellyfin.labels" . | nindent 4 }}
|
||||
{{- with .Values.ingress.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- with .Values.ingress.className }}
|
||||
ingressClassName: {{ . }}
|
||||
{{- end }}
|
||||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
{{- range .Values.ingress.tls }}
|
||||
- hosts:
|
||||
{{- range .hosts }}
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
secretName: {{ .secretName }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- range .Values.ingress.hosts }}
|
||||
- host: {{ .host | quote }}
|
||||
http:
|
||||
paths:
|
||||
{{- range .paths }}
|
||||
- path: {{ .path }}
|
||||
{{- with .pathType }}
|
||||
pathType: {{ . }}
|
||||
{{- end }}
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "jellyfin.fullname" $ }}
|
||||
port:
|
||||
number: {{ $.Values.service.port }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,45 @@
|
||||
{{- if and .Values.persistence.config.enabled (not .Values.persistence.config.existingClaim) }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: {{ include "jellyfin.fullname" . }}-config
|
||||
labels:
|
||||
{{- include "jellyfin.labels" . | nindent 4 }}
|
||||
{{- with .Values.persistence.config.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
accessModes:
|
||||
- {{ .Values.persistence.config.accessMode | quote }}
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.persistence.config.size | quote }}
|
||||
{{- with .Values.persistence.config.storageClass }}
|
||||
storageClassName: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- if and .Values.persistence.media.enabled (eq .Values.persistence.media.type "pvc") (not .Values.persistence.media.existingClaim) }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: {{ include "jellyfin.fullname" . }}-media
|
||||
labels:
|
||||
{{- include "jellyfin.labels" . | nindent 4 }}
|
||||
{{- with .Values.persistence.media.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
accessModes:
|
||||
- {{ .Values.persistence.media.accessMode | quote }}
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.persistence.media.size | quote }}
|
||||
{{- with .Values.persistence.media.storageClass }}
|
||||
storageClassName: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,58 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "jellyfin.fullname" . }}
|
||||
labels:
|
||||
{{- include "jellyfin.labels" . | nindent 4 }}
|
||||
{{- with .Values.service.labels }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with .Values.service.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if (or (eq .Values.service.type "ClusterIP") (empty .Values.service.type)) }}
|
||||
type: ClusterIP
|
||||
{{- with .Values.service.clusterIP }}
|
||||
clusterIP: {{ . }}
|
||||
{{- end }}
|
||||
{{- else if eq .Values.service.type "LoadBalancer" }}
|
||||
type: LoadBalancer
|
||||
{{- with .Values.service.loadBalancerIP }}
|
||||
loadBalancerIP: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.service.loadBalancerClass }}
|
||||
loadBalancerClass: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.service.loadBalancerSourceRanges }}
|
||||
loadBalancerSourceRanges:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
type: {{ .Values.service.type }}
|
||||
{{- end }}
|
||||
{{- if .Values.service.ipFamilyPolicy }}
|
||||
ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }}
|
||||
{{- end }}
|
||||
{{- if .Values.service.ipFamilies }}
|
||||
ipFamilies:
|
||||
{{- toYaml .Values.service.ipFamilies | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with .Values.service.externalIPs }}
|
||||
externalIPs:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with .Values.service.externalTrafficPolicy }}
|
||||
externalTrafficPolicy: {{ . }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: {{ .Values.service.name | default "http" }}
|
||||
port: {{ .Values.service.port }}
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
|
||||
nodePort: {{ .Values.service.nodePort }}
|
||||
{{- end }}
|
||||
selector:
|
||||
{{- include "jellyfin.selectorLabels" . | nindent 4 }}
|
||||
@@ -0,0 +1,48 @@
|
||||
{{- if and .Values.metrics.serviceMonitor.enabled .Values.metrics.enabled }}
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: {{ include "jellyfin.fullname" . }}
|
||||
{{- if .Values.metrics.serviceMonitor.namespace }}
|
||||
namespace: {{ tpl .Values.metrics.serviceMonitor.namespace . }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "jellyfin.labels" . | nindent 4 }}
|
||||
{{- with .Values.metrics.serviceMonitor.labels }}
|
||||
{{- tpl (toYaml . | nindent 4) $ }}
|
||||
{{- end }}
|
||||
spec:
|
||||
endpoints:
|
||||
- port: {{ .Values.service.name | default "http" }}
|
||||
{{- with .Values.metrics.serviceMonitor.interval }}
|
||||
interval: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.metrics.serviceMonitor.scrapeTimeout }}
|
||||
scrapeTimeout: {{ . }}
|
||||
{{- end }}
|
||||
honorLabels: true
|
||||
path: {{ .Values.metrics.serviceMonitor.path }}
|
||||
scheme: {{ .Values.metrics.serviceMonitor.scheme }}
|
||||
{{- with .Values.metrics.serviceMonitor.tlsConfig }}
|
||||
tlsConfig:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.metrics.serviceMonitor.relabelings }}
|
||||
relabelings:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.metrics.serviceMonitor.metricRelabelings }}
|
||||
metricRelabelings:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
jobLabel: "{{ .Release.Name }}"
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: {{ include "jellyfin.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- with .Values.metrics.serviceMonitor.targetLabels }}
|
||||
targetLabels:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,13 @@
|
||||
{{- if .Values.serviceAccount.create }}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ include "jellyfin.serviceAccountName" . }}
|
||||
labels:
|
||||
{{- include "jellyfin.labels" . | nindent 4 }}
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,252 @@
|
||||
# Default values for Jellyfin.
|
||||
# This is a YAML-formatted file.
|
||||
|
||||
# -- Number of Jellyfin replicas to start. Should be left at 1.
|
||||
replicaCount: 1
|
||||
|
||||
# -- Image pull secrets to authenticate with private repositories.
|
||||
# See: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
imagePullSecrets: []
|
||||
|
||||
image:
|
||||
# -- Container image repository for Jellyfin.
|
||||
repository: docker.io/jellyfin/jellyfin
|
||||
# -- Jellyfin container image tag. Leave empty to automatically use the Chart's app version.
|
||||
tag: ""
|
||||
# -- Image pull policy (Always, IfNotPresent, or Never).
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
# -- Override the default name of the chart.
|
||||
nameOverride: ""
|
||||
# -- Override the default full name of the chart.
|
||||
fullnameOverride: ""
|
||||
|
||||
# -- Service account configuration. See: https://kubernetes.io/docs/concepts/security/service-accounts/
|
||||
serviceAccount:
|
||||
# -- Specifies whether to create a service account.
|
||||
create: true
|
||||
# -- Automatically mount API credentials for the service account.
|
||||
automount: true
|
||||
# -- Annotations for the service account.
|
||||
annotations: {}
|
||||
# -- Custom name for the service account. If left empty, the name will be autogenerated.
|
||||
name: ""
|
||||
|
||||
# -- Annotations to add to the pod.
|
||||
podAnnotations: {}
|
||||
# -- Additional labels to add to the pod.
|
||||
podLabels: {}
|
||||
|
||||
# -- Security context for the pod.
|
||||
podSecurityContext: {}
|
||||
# fsGroup: 2000
|
||||
|
||||
# -- Security context for the container.
|
||||
securityContext: {}
|
||||
# capabilities:
|
||||
# drop:
|
||||
# - ALL
|
||||
# readOnlyRootFilesystem: true
|
||||
# runAsNonRoot: true
|
||||
# runAsUser: 1000
|
||||
|
||||
# -- Define a custom runtimeClassName for the pod.
|
||||
runtimeClassName: ''
|
||||
|
||||
# -- Define a priorityClassName for the pod.
|
||||
priorityClassName: ""
|
||||
|
||||
# -- Define a dnsConfig. See https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
|
||||
# Use this to provide a custom DNS resolver configuration
|
||||
dnsConfig: {}
|
||||
# nameservers:
|
||||
# - 192.0.2.1
|
||||
# searches:
|
||||
# - ns1.svc.cluster-domain.example
|
||||
# - my.dns.search.suffix
|
||||
# options:
|
||||
# - name: ndots
|
||||
# value: "2"
|
||||
# - name: edns0
|
||||
|
||||
# -- Define a dnsPolicy. See https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
|
||||
dnsPolicy: ""
|
||||
|
||||
# -- Deployment strategy configuration. See `kubectl explain deployment.spec.strategy`.
|
||||
deploymentStrategy:
|
||||
type: RollingUpdate
|
||||
|
||||
# -- Annotations to add to the deployment.
|
||||
deploymentAnnotations: {}
|
||||
|
||||
service:
|
||||
# # -- Custom name for the service port
|
||||
# name: http
|
||||
# -- Service type (ClusterIP, NodePort, or LoadBalancer).
|
||||
type: ClusterIP
|
||||
# -- Configure dual-stack IP family policy. See: https://kubernetes.io/docs/concepts/services-networking/dual-stack/
|
||||
ipFamilyPolicy: ""
|
||||
# -- Supported IP families (IPv4, IPv6).
|
||||
ipFamilies: []
|
||||
# -- Specific IP address for the LoadBalancer.
|
||||
loadBalancerIP: ""
|
||||
# -- Class of the LoadBalancer.
|
||||
loadBalancerClass: ""
|
||||
# -- Source ranges allowed to access the LoadBalancer.
|
||||
loadBalancerSourceRanges: []
|
||||
# -- Port for the Jellyfin service.
|
||||
port: 8096
|
||||
# -- Name of the port in the service.
|
||||
portName: service
|
||||
# -- Annotations for the service.
|
||||
annotations: {}
|
||||
# -- Labels for the service.
|
||||
labels: {}
|
||||
# -- External traffic policy (Cluster or Local).
|
||||
# externalTrafficPolicy: Cluster
|
||||
# -- NodePort for the service (if applicable).
|
||||
# nodePort:
|
||||
|
||||
# -- Ingress configuration. See: https://kubernetes.io/docs/concepts/services-networking/ingress/
|
||||
ingress:
|
||||
enabled: false
|
||||
className: ""
|
||||
annotations: {}
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
hosts:
|
||||
- host: chart-example.local
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls: []
|
||||
# - secretName: chart-example-tls
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
|
||||
# -- Resource requests and limits for the Jellyfin container.
|
||||
resources: {}
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
# -- Configure liveness probe for Jellyfin.
|
||||
livenessProbe:
|
||||
initialDelaySeconds: 10
|
||||
tcpSocket:
|
||||
port: http
|
||||
# successThreshold: 1
|
||||
# failureThreshold: 3
|
||||
# timeoutSeconds: 1
|
||||
# periodSeconds: 10
|
||||
|
||||
# -- Configure readiness probe for Jellyfin.
|
||||
readinessProbe:
|
||||
initialDelaySeconds: 10
|
||||
tcpSocket:
|
||||
port: http
|
||||
# successThreshold: 1
|
||||
# failureThreshold: 3
|
||||
# timeoutSeconds: 1
|
||||
# periodSeconds: 10
|
||||
|
||||
# -- Additional volumes to mount in the Jellyfin pod.
|
||||
volumes: []
|
||||
# - name: foo
|
||||
# secret:
|
||||
# secretName: mysecret
|
||||
# optional: false
|
||||
|
||||
# -- Additional volume mounts for the Jellyfin container.
|
||||
volumeMounts: []
|
||||
# - name: foo
|
||||
# mountPath: "/etc/foo"
|
||||
# readOnly: true
|
||||
|
||||
# -- Node selector for pod scheduling.
|
||||
nodeSelector: {}
|
||||
|
||||
# -- Tolerations for pod scheduling.
|
||||
tolerations: []
|
||||
|
||||
# -- Affinity rules for pod scheduling.
|
||||
affinity: {}
|
||||
|
||||
jellyfin:
|
||||
# -- Enable DLNA. Requires host network. See: https://jellyfin.org/docs/general/networking/dlna.html
|
||||
enableDLNA: false
|
||||
# -- Custom command to use as container entrypoint.
|
||||
command: []
|
||||
# -- Additional arguments for the entrypoint command.
|
||||
args: []
|
||||
# -- Additional environment variables for the container.
|
||||
env: []
|
||||
|
||||
persistence:
|
||||
config:
|
||||
# -- set to false to use emptyDir
|
||||
enabled: true
|
||||
accessMode: ReadWriteOnce
|
||||
size: 5Gi
|
||||
# -- Custom annotations to be added to the PVC
|
||||
annotations: {}
|
||||
# -- If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner.
|
||||
storageClass: ''
|
||||
## -- Use an existing PVC for this mount
|
||||
# existingClaim: ''
|
||||
media:
|
||||
# -- set to false to use emptyDir
|
||||
enabled: true
|
||||
# -- Type of volume for media storage (pvc, hostPath, emptyDir). If 'enabled' is false, 'emptyDir' is used regardless of this setting.
|
||||
type: pvc
|
||||
# -- Path on the host node for media storage, only used if type is 'hostPath'.
|
||||
hostPath: ""
|
||||
# -- PVC specific settings, only used if type is 'pvc'.
|
||||
accessMode: ReadWriteOnce
|
||||
size: 25Gi
|
||||
# -- Custom annotations to be added to the PVC
|
||||
annotations: {}
|
||||
# -- If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner.
|
||||
storageClass: ''
|
||||
## -- Use an existing PVC for this mount
|
||||
# existingClaim: ''
|
||||
|
||||
# -- Configuration for metrics collection and monitoring
|
||||
metrics:
|
||||
# -- Enable or disable metrics collection
|
||||
enabled: false
|
||||
# -- Configuration for the Prometheus ServiceMonitor
|
||||
serviceMonitor:
|
||||
# -- Enable or disable the creation of a ServiceMonitor resource
|
||||
enabled: false
|
||||
# -- Namespace where the ServiceMonitor resource should be created. Defaults to Release.Namespace
|
||||
namespace: ''
|
||||
# -- Labels to add to the ServiceMonitor resource
|
||||
labels: {}
|
||||
# -- Interval at which metrics should be scraped
|
||||
interval: 30s
|
||||
# -- Timeout for scraping metrics
|
||||
scrapeTimeout: 30s
|
||||
# -- Path to scrape for metrics
|
||||
path: /metrics
|
||||
# -- Port to scrape for metrics
|
||||
port: 8096
|
||||
# -- Scheme to use for scraping metrics (http or https)
|
||||
scheme: http
|
||||
# -- TLS configuration for scraping metrics
|
||||
tlsConfig: {}
|
||||
# -- Relabeling rules for the scraped metrics
|
||||
relabelings: []
|
||||
# -- Relabeling rules for the metrics before ingestion
|
||||
metricRelabelings: []
|
||||
# -- Target labels to add to the scraped metrics
|
||||
targetLabels: []
|
||||
|
||||
# -- additional init containers to run inside the pod.
|
||||
extraInitContainers: []
|
||||
|
||||
# -- additional sidecar containers to run inside the pod.
|
||||
extraContainers: []
|
||||
Whitespace-only changes.
-180
@@ -1,180 +0,0 @@
|
||||
apiVersion: v1
|
||||
entries:
|
||||
jellyfin:
|
||||
- apiVersion: v2
|
||||
appVersion: 10.11.5
|
||||
created: "2025-12-15T14:25:44.437291154Z"
|
||||
description: A Helm chart for Jellyfin Media Server
|
||||
digest: ec7aa59f4379b0ec088f53d764beff7d8453f8546df10d445ec285f96b96b15a
|
||||
home: https://jellyfin.org/
|
||||
icon: https://jellyfin.org/images/logo.svg
|
||||
keywords:
|
||||
- jellyfin
|
||||
- media
|
||||
- self-hosted
|
||||
name: jellyfin
|
||||
type: application
|
||||
urls:
|
||||
- https://github.com/jellyfin/jellyfin-helm/releases/download/jellyfin-2.7.0/jellyfin-2.7.0.tgz
|
||||
version: 2.7.0
|
||||
- apiVersion: v2
|
||||
appVersion: 10.11.4
|
||||
created: "2025-12-02T03:55:35.632837588Z"
|
||||
description: A Helm chart for Jellyfin Media Server
|
||||
digest: d0c8b49b5ce5fa3ad9347b80d259ab50d825ddc83905540f847ecf2f263c9038
|
||||
home: https://jellyfin.org/
|
||||
icon: https://jellyfin.org/images/logo.svg
|
||||
keywords:
|
||||
- jellyfin
|
||||
- media
|
||||
- self-hosted
|
||||
name: jellyfin
|
||||
type: application
|
||||
urls:
|
||||
- https://github.com/jellyfin/jellyfin-helm/releases/download/jellyfin-2.6.0/jellyfin-2.6.0.tgz
|
||||
version: 2.6.0
|
||||
- apiVersion: v2
|
||||
appVersion: 10.11.2
|
||||
created: "2025-11-03T03:47:22.070933121Z"
|
||||
description: A Helm chart for Jellyfin Media Server
|
||||
digest: 1b3c8ba8f0171904d520211eabd4675acf4817871eaa9f56651dd72e0104b0f5
|
||||
home: https://jellyfin.org/
|
||||
icon: https://jellyfin.org/images/logo.svg
|
||||
keywords:
|
||||
- jellyfin
|
||||
- media
|
||||
- self-hosted
|
||||
name: jellyfin
|
||||
type: application
|
||||
urls:
|
||||
- https://github.com/jellyfin/jellyfin-helm/releases/download/jellyfin-2.5.0/jellyfin-2.5.0.tgz
|
||||
version: 2.5.0
|
||||
- apiVersion: v2
|
||||
appVersion: 10.11.0
|
||||
created: "2025-10-20T03:31:51.607585399Z"
|
||||
description: A Helm chart for Jellyfin Media Server
|
||||
digest: 6d1bc4a0819e4d7411cc2e451a98f9abfd631a7327c0d2eb0552f29cd452c4d6
|
||||
home: https://jellyfin.org/
|
||||
icon: https://jellyfin.org/images/logo.svg
|
||||
keywords:
|
||||
- jellyfin
|
||||
- media
|
||||
- self-hosted
|
||||
name: jellyfin
|
||||
type: application
|
||||
urls:
|
||||
- https://github.com/jellyfin/jellyfin-helm/releases/download/jellyfin-2.4.0/jellyfin-2.4.0.tgz
|
||||
version: 2.4.0
|
||||
- apiVersion: v2
|
||||
appVersion: 10.10.6
|
||||
created: "2025-03-20T13:11:30.119149946Z"
|
||||
description: A Helm chart for Jellyfin Media Server
|
||||
digest: e99107cc3ec6a8bcad1e8c8861015870a94de325f0c292ba66291747688ebd6f
|
||||
home: https://jellyfin.org/
|
||||
icon: https://jellyfin.org/images/logo.svg
|
||||
keywords:
|
||||
- jellyfin
|
||||
- media
|
||||
- self-hosted
|
||||
name: jellyfin
|
||||
type: application
|
||||
urls:
|
||||
- https://github.com/jellyfin/jellyfin-helm/releases/download/jellyfin-2.3.0/jellyfin-2.3.0.tgz
|
||||
version: 2.3.0
|
||||
- apiVersion: v2
|
||||
appVersion: 10.10.6
|
||||
created: "2025-03-19T13:42:34.879830235Z"
|
||||
description: A Helm chart for Jellyfin Media Server
|
||||
digest: 40ff82a31c4c1c90cffd873fda622038ed93b5f354c570ce40ff6df3471ca22f
|
||||
home: https://jellyfin.org/
|
||||
icon: https://jellyfin.org/images/logo.svg
|
||||
keywords:
|
||||
- jellyfin
|
||||
- media
|
||||
- self-hosted
|
||||
name: jellyfin
|
||||
type: application
|
||||
urls:
|
||||
- https://github.com/jellyfin/jellyfin-helm/releases/download/jellyfin-2.2.0/jellyfin-2.2.0.tgz
|
||||
version: 2.2.0
|
||||
- apiVersion: v2
|
||||
appVersion: 10.10.1
|
||||
created: "2024-11-07T15:17:58.950640471Z"
|
||||
description: A Helm chart for Jellyfin Media Server
|
||||
digest: 1211a2e0f0a36d7c98ef0e26ebc741cbdf8fcc5461cf30352662759662b0230a
|
||||
home: https://jellyfin.org/
|
||||
icon: https://jellyfin.org/images/logo.svg
|
||||
keywords:
|
||||
- jellyfin
|
||||
- media
|
||||
- self-hosted
|
||||
name: jellyfin
|
||||
type: application
|
||||
urls:
|
||||
- https://github.com/jellyfin/jellyfin-helm/releases/download/jellyfin-2.1.0/jellyfin-2.1.0.tgz
|
||||
version: 2.1.0
|
||||
- apiVersion: v2
|
||||
appVersion: 10.10.1
|
||||
created: "2024-11-05T14:40:55.821270971Z"
|
||||
description: Jellyfin Media Server
|
||||
digest: 1a5882a1a2bedecb97e6e333385d6d77adb4b452ef5ce060988b7e9381ac0de7
|
||||
home: https://jellyfin.org/
|
||||
icon: https://jellyfin.org/images/logo.svg
|
||||
keywords:
|
||||
- jellyfin
|
||||
- media
|
||||
- self-hosted
|
||||
name: jellyfin
|
||||
type: application
|
||||
urls:
|
||||
- https://github.com/jellyfin/jellyfin-helm/releases/download/jellyfin-1.5.0/jellyfin-1.5.0.tgz
|
||||
version: 1.5.0
|
||||
- apiVersion: v2
|
||||
appVersion: 1.4.0
|
||||
created: "2024-11-04T21:02:54.104315531Z"
|
||||
description: Jellyfin Media Server
|
||||
digest: a48744022153a57d3396f65111d484fc139d39678829320ab3bfa76e4bef4724
|
||||
home: https://jellyfin.org/
|
||||
icon: https://jellyfin.org/images/logo.svg
|
||||
keywords:
|
||||
- jellyfin
|
||||
- media
|
||||
- self-hosted
|
||||
name: jellyfin
|
||||
type: application
|
||||
urls:
|
||||
- https://github.com/jellyfin/jellyfin-helm/releases/download/jellyfin-1.4.0/jellyfin-1.4.0.tgz
|
||||
version: 1.4.0
|
||||
- apiVersion: v2
|
||||
appVersion: 10.9.11
|
||||
created: "2024-09-12T19:47:26.839480455Z"
|
||||
description: Jellyfin Media Server
|
||||
digest: 4a862deb0b175fc2dc588ac16558c7702ff51e7b26b1418227853274621a8154
|
||||
home: https://jellyfin.org/
|
||||
icon: https://jellyfin.org/images/logo.svg
|
||||
keywords:
|
||||
- jellyfin
|
||||
- media
|
||||
- self-hosted
|
||||
name: jellyfin
|
||||
type: application
|
||||
urls:
|
||||
- https://github.com/jellyfin/jellyfin-helm/releases/download/jellyfin-1.3.0/jellyfin-1.3.0.tgz
|
||||
version: 1.3.0
|
||||
- apiVersion: v2
|
||||
appVersion: 10.9.11
|
||||
created: "2024-09-10T14:07:12.583254226Z"
|
||||
description: Jellyfin Media Server
|
||||
digest: 4986cb2280709582b6fdb0a7735eb4e91a2343f9bd9968a13a804f7b2ebbfd1e
|
||||
home: https://jellyfin.org/
|
||||
icon: https://jellyfin.org/images/logo.svg
|
||||
keywords:
|
||||
- jellyfin
|
||||
- media
|
||||
- self-hosted
|
||||
name: jellyfin
|
||||
type: application
|
||||
urls:
|
||||
- https://github.com/jellyfin/jellyfin-helm/releases/download/jellyfin-1.2.0/jellyfin-1.2.0.tgz
|
||||
version: 1.2.0
|
||||
generated: "2025-12-15T14:25:44.437338062Z"
|
||||
Reference in new issue
Block a user