Files
truecharts/charts/stable/ferdi-server/values.yaml
T
Kjeld Schouten f8e33766bf feat(common): remove portal and ensure appUrl is used for notes.txt (#34047)
**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>
2025-04-07 22:04:57 +02:00

104 lines
2.8 KiB
YAML

image:
repository: docker.io/getferdi/ferdi-server
tag: 1.3.2@sha256:6e620b85afaa186f883336dc2672cc4a3a7b132eda94d160886d232d20d4335f
pullPolicy: IfNotPresent
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
main:
port: 10206
targetPort: 3333
workload:
main:
podSpec:
initContainers:
1-create-key-file:
enabled: true
type: install
imageSelector: image
env:
APP_KEY:
secretKeyRef:
name: secrets
key: APP_KEY
command: ["sh", "-c"]
args:
- |
keyfile="/app/data/FERDI_APP_KEY.txt";
if [ ! -f ${keyfile} ]; then
echo "No APP_KEY File...";
echo "Creating APP_KEY file...";
echo "${APP_KEY}" > ${keyfile};
if [ -f ${keyfile} ]; then
echo "Success!";
else
echo "Failed.";
fi;
else
echo "APP_KEY File exists. Skipping...";
fi;
containers:
main:
probes:
liveness:
path: "/health"
readiness:
path: "/health"
startup:
path: "/health"
env:
NODE_ENV: "production"
DATA_DIR: "/app/data"
DB_CONNECTION: "pg"
DB_PORT: "5432"
DB_SSL: false
DB_USER: "{{ .Values.cnpg.main.user }}"
DB_DATABASE: "{{ .Values.cnpg.main.database }}"
# User Defined
APP_URL: "http://localhost:3333"
IS_CREATION_ENABLED: true
IS_DASHBOARD_ENABLED: true
IS_REGISTRATION_ENABLED: true
CONNECT_WITH_FRANZ: true
# MAIL_CONNECTION: "smtp"
# SMTP_HOST: "localhost"
# SMTP_PORT: 587
# MAIL_SSL: true
# MAIL_USERNAME: "username@example.com"
# MAIL_PASSWORD: "password"
# MAIL_SENDER: "noreply@example.com"
# SPARKPOST_API_KEY: ""
# MAILGUN_DOMAIN: ""
# MAILGUN_API_REGION: ""
# MAILGUN_API_KEY: ""
DB_HOST:
secretKeyRef:
name: cnpg-main-urls
key: host
DB_PASSWORD:
secretKeyRef:
name: cnpg-main-user
key: password
persistence:
data:
enabled: true
mountPath: /app/data
targetSelector:
main:
main: {}
1-create-key-file: {}
recipes:
enabled: true
mountPath: /app/recipes
cnpg:
main:
enabled: true
user: ferdi-server
database: ferdi-server