Files
truecharts/charts/stable/strapi/values.yaml
Kjeld Schouten-Lebbing 0b726419d4 feat(stable): BREAKING CHANGE migrate to new common part 1 (#7900)
**Description**
Part 1 of the migration to new common on the stable train.
This basically breaks most/all charts requiring a reinstall on SCALE as
well.

Helm users shouldn't need a reinstall but could migrate their
values.yaml modification manually besides backing-up and porting the
databases.

There be Dragons basically, as we obviously cannot 100% go over
each-and-every single app in the stable train like we did in the
enterprise train.

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [x] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [x] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
Via CI and manually validation in a lot of cases where the CI did not
correctly check things.
Additional catalog item creation tooling for local testing has been
added as well.

**📃 Notes:**
There will be issues in the future but we should get as much working
well as we can.

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [x] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [x] 📄 I have made corresponding changes to the documentation
- [x] ⚠️ My changes generate no new warnings
- [x] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ 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._
2023-04-11 12:07:17 +02:00

58 lines
1.4 KiB
YAML

image:
repository: tccr.io/truecharts/strapi
tag: 4.6.2@sha256:ee9f976408d8a196874843e525a05b23598c142aa31bccc107dcdfe92c790cfa
pullPolicy: Always
service:
main:
ports:
main:
port: 1337
persistence:
data:
enabled: true
mountPath: /srv/app
# Enabled postgres
cnpg:
main:
enabled: true
user: strapi
database: strapi
portal:
open:
enabled: true
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
env:
PORT: "{{ .Values.service.main.ports.main.port }}"
DATABASE_CLIENT: postgres
DATABASE_PORT: 5432
DATABASE_NAME: "{{ .Values.cnpg.main.database }}"
DATABASE_HOST:
secretKeyRef:
name: cnpg-main-urls
key: host
DATABASE_USERNAME: "{{ .Values.cnpg.main.user }}"
DATABASE_PASSWORD:
secretKeyRef:
name: cnpg-main-user
key: password
# STRAPI_LICENSE
# PUBLIC_URL
NODE_ENV: development
STRAPI_DISABLE_UPDATE_NOTIFICATION: true
FAST_REFRESH: false
EXTRA_ARGS: ""
JWT_SECRET: my_jwt_secret
ADMIN_JWT_SECRET: my_admin_jwt_secret
APP_KEYS: '["keya", "keyb"]'