TrueChartsClone/charts/unstable/recipes/values.yaml

119 lines
3.1 KiB
YAML
Raw Normal View History

chore(incubator): BREAKING CHANGE move to latest common (#15841) **Description** This provides the primary changes to values.yaml and Chart.yaml to migrate from old to new common for the incubator train **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 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?** <!-- 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:** This PR is likely not functional and breaking most of these charts. However, this allows easier filtering and fixing by others instead of doing these migration changes one-by-one for 350 charts **✔️ 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 corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 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 **➕ 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-12-07 14:26:46 +00:00
additionalContainers:
nginx:
image: "{{ .Values.nginxImage.repository }}:{{ .Values.nginxImage.tag }}"
name: nginx
ports:
- containerPort: 80
name: main
volumeMounts:
- mountPath: /etc/nginx/nginx.conf
name: recipes-config
readOnly: true
subPath: nginx-config
- mountPath: /media
name: media
- mountPath: /static
name: static
configmap:
config:
data:
nginx-config: |-
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
server {
listen 80;
server_name _;
client_max_body_size 16M;
# serve media files
location /media/ {
alias /media/;
}
# serve static files
location /static/ {
alias /static/;
}
# pass requests for dynamic content to gunicorn
location / {
proxy_set_header Host $http_host;
proxy_pass http://localhost:8080;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
}
}
}
chore(incubator): BREAKING CHANGE move to latest common (#15841) **Description** This provides the primary changes to values.yaml and Chart.yaml to migrate from old to new common for the incubator train **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 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?** <!-- 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:** This PR is likely not functional and breaking most of these charts. However, this allows easier filtering and fixing by others instead of doing these migration changes one-by-one for 350 charts **✔️ 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 corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 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 **➕ 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-12-07 14:26:46 +00:00
enabled: true
image:
pullPolicy: IfNotPresent
repository: vabene1111/recipes
tag: 1.5.6@sha256:5c9a304e42aac1f02ac1387f7183473eeeabc091635524587d158f78c8426f68
nginxImage:
repository: nginx
tag: 1.25.3@sha256:86e53c4c16a6a276b204b0fd3a8143d86547c967dc8258b3d47c3a21bb68d3c6
persistence:
media:
enabled: true
chore(incubator): BREAKING CHANGE move to latest common (#15841) **Description** This provides the primary changes to values.yaml and Chart.yaml to migrate from old to new common for the incubator train **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 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?** <!-- 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:** This PR is likely not functional and breaking most of these charts. However, this allows easier filtering and fixing by others instead of doing these migration changes one-by-one for 350 charts **✔️ 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 corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 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 **➕ 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-12-07 14:26:46 +00:00
mountPath: /opt/recipes/mediafiles
recipes-config:
enabled: "true"
chore(incubator): BREAKING CHANGE move to latest common (#15841) **Description** This provides the primary changes to values.yaml and Chart.yaml to migrate from old to new common for the incubator train **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 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?** <!-- 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:** This PR is likely not functional and breaking most of these charts. However, this allows easier filtering and fixing by others instead of doing these migration changes one-by-one for 350 charts **✔️ 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 corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 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 **➕ 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-12-07 14:26:46 +00:00
mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf
type: custom
volumeSpec:
configMap:
name: '{{ printf "%v-config" (include "tc.common.names.fullname" .) }}'
chore(incubator): BREAKING CHANGE move to latest common (#15841) **Description** This provides the primary changes to values.yaml and Chart.yaml to migrate from old to new common for the incubator train **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 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?** <!-- 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:** This PR is likely not functional and breaking most of these charts. However, this allows easier filtering and fixing by others instead of doing these migration changes one-by-one for 350 charts **✔️ 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 corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 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 **➕ 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-12-07 14:26:46 +00:00
static:
enabled: true
mountPath: /opt/recipes/staticfiles
type: emptyDir
portal:
enabled: true
postgresql:
enabled: true
chore(incubator): BREAKING CHANGE move to latest common (#15841) **Description** This provides the primary changes to values.yaml and Chart.yaml to migrate from old to new common for the incubator train **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 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?** <!-- 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:** This PR is likely not functional and breaking most of these charts. However, this allows easier filtering and fixing by others instead of doing these migration changes one-by-one for 350 charts **✔️ 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 corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 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 **➕ 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-12-07 14:26:46 +00:00
existingSecret: dbcreds
postgresqlDatabase: recipes
chore(incubator): BREAKING CHANGE move to latest common (#15841) **Description** This provides the primary changes to values.yaml and Chart.yaml to migrate from old to new common for the incubator train **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 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?** <!-- 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:** This PR is likely not functional and breaking most of these charts. However, this allows easier filtering and fixing by others instead of doing these migration changes one-by-one for 350 charts **✔️ 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 corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 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 **➕ 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-12-07 14:26:46 +00:00
postgresqlUsername: recipes
securityContext:
container:
readOnlyRootFilesystem: false
runAsGroup: 0
runAsNonRoot: false
runAsUser: 0
service:
main:
ports:
main:
port: 10029
targetPort: 80
workload:
main:
podSpec:
containers:
main:
env:
ALLOWED_HOSTS: "*"
COMMENT_PREF_DEFAULT: 1
CSRF_TRUSTED_ORIGINS: ""
DB_ENGINE: django.db.backends.postgresql
DEBUG: 0
FRACTION_PREF_DEFAULT: 0
GUNICORN_MEDIA: 0
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
POSTGRES_HOST:
secretKeyRef:
key: plainhost
name: dbcreds
POSTGRES_PASSWORD:
secretKeyRef:
key: postgresql-password
name: dbcreds
POSTGRES_PORT: "5432"
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
SECRET_KEY:
secretKeyRef:
key: SECRET_KEY
name: recipes-secrets
SHOPPING_MIN_AUTOSYNC_INTERVAL: 5
TIMEZONE: "{{ .Values.TZ }}"