Compare commits

..

4 Commits

Author SHA1 Message Date
James 98d026b047
generate helm docs 2024-01-29 14:36:50 +00:00
James 89432db555
increase recipes key secret length to 64 2024-01-29 14:33:58 +00:00
James 3dc9e88dde
update app version to latest 2024-01-29 14:24:54 +00:00
James e8b990284a
add tandoor-recipes to Chart Status in README 2024-01-29 14:23:24 +00:00
5 changed files with 79 additions and 6 deletions

View File

@ -33,6 +33,7 @@ I will generally only maintain the charts that I am currently using. See below f
|unifi-controller|Unifi Controller (using linuxserver.io's image) for managing Unifi hardware||Yes| |unifi-controller|Unifi Controller (using linuxserver.io's image) for managing Unifi hardware||Yes|
|focalboard|Kanban board software by Mattermost|https://www.focalboard.com/|Yes| |focalboard|Kanban board software by Mattermost|https://www.focalboard.com/|Yes|
|jellyfin|Open source media management system|https://jellyfin.org|Yes| |jellyfin|Open source media management system|https://jellyfin.org|Yes|
|tandoor-recipes|Digital Recipe managment|https://tandoor.dev/|Yes|
## Contributing ## Contributing

View File

@ -22,7 +22,7 @@ version: 0.1.0
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using. # follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes. # It is recommended to use it with quotes.
appVersion: "1.5.6" appVersion: "1.5.11"
dependencies: dependencies:
- name: postgresql - name: postgresql

View File

@ -0,0 +1,66 @@
# tandoor-recipes
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.11](https://img.shields.io/badge/AppVersion-1.5.11-informational?style=flat-square)
A Helm chart for Tandoor Recipes, a digital recipe manager
## Requirements
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | ^12.12.10 |
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| externalPostgresql.database | string | `"recipes"` | |
| externalPostgresql.enabled | bool | `false` | Use an external PostgreSQL database |
| externalPostgresql.port | int | `5432` | |
| externalPostgresql.username | string | `"recipes"` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/tandoorrecipes/recipes"` | |
| image.tag | string | `""` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
| ingress.enabled | bool | `false` | |
| ingress.hosts[0].host | string | `"recipes.local"` | |
| ingress.hosts[0].paths[0].path | string | `"/"` | |
| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | |
| ingress.tls | list | `[]` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| persistence.media.accessMode | string | `"ReadWriteOnce"` | |
| persistence.media.annotations | object | `{}` | |
| persistence.media.enabled | bool | `false` | Enable persistence for media files |
| persistence.media.existingClaim | string | `""` | |
| persistence.media.size | string | `"1Gi"` | |
| persistence.media.storageClass | string | `""` | |
| persistence.static.accessMode | string | `"ReadWriteOnce"` | |
| persistence.static.annotations | object | `{}` | |
| persistence.static.enabled | bool | `false` | Enable persistence for static files |
| persistence.static.existingClaim | string | `""` | |
| persistence.static.size | string | `"1Gi"` | |
| persistence.static.storageClass | string | `""` | |
| podAnnotations | object | `{}` | |
| podSecurityContext | object | `{}` | |
| postgresql.auth.database | string | `"recipes"` | |
| postgresql.auth.password | string | `"recipes"` | |
| postgresql.auth.username | string | `"recipes"` | |
| postgresql.enabled | bool | `true` | Deploy Bitnami PostgreSQL sub-chart |
| recipes.secretKey | string | `""` | Secret key used by Djano - see https://docs.tandoor.dev/system/configuration/#secret-key |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| securityContext | object | `{}` | |
| service.port | int | `8080` | |
| service.type | string | `"ClusterIP"` | |
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tolerations | list | `[]` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.12.0](https://github.com/norwoodj/helm-docs/releases/v1.12.0)

View File

@ -7,6 +7,6 @@ type: Opaque
data: data:
{{- $secretObj := (lookup "v1" "Secret" .Release.Namespace "recipes-secret-key") | default dict }} {{- $secretObj := (lookup "v1" "Secret" .Release.Namespace "recipes-secret-key") | default dict }}
{{- $secretData := (get $secretObj "data") | default dict }} {{- $secretData := (get $secretObj "data") | default dict }}
{{- $secretKey := (get $secretData "recipes-secret-key") | default (randAlphaNum 32 | b64enc) }} {{- $secretKey := (get $secretData "recipes-secret-key") | default (randAlphaNum 64 | b64enc) }}
password: {{ $secretKey | quote }} password: {{ $secretKey | quote }}
{{- end }} {{- end }}

View File

@ -15,12 +15,11 @@ nameOverride: ""
fullnameOverride: "" fullnameOverride: ""
serviceAccount: serviceAccount:
# Specifies whether a service account should be created # -- Specifies whether a service account should be created
create: true create: true
# Annotations to add to the service account # -- Annotations to add to the service account
annotations: {} annotations: {}
# The name of the service account to use. # -- The name of the service account to use. If not set and create is true, a name is generated using the fullname template
# If not set and create is true, a name is generated using the fullname template
name: "" name: ""
podAnnotations: {} podAnnotations: {}
@ -41,14 +40,18 @@ service:
port: 8080 port: 8080
externalPostgresql: externalPostgresql:
# -- Use an external PostgreSQL database
enabled: false enabled: false
# host: postgres # host: postgres
port: 5432 port: 5432
database: recipes database: recipes
username: recipes username: recipes
# password: recipes # password: recipes
# existingSecret: recipes
# existingSecretPasswordKey: password
postgresql: postgresql:
# -- Deploy Bitnami PostgreSQL sub-chart
enabled: true enabled: true
auth: auth:
database: recipes database: recipes
@ -57,10 +60,12 @@ postgresql:
recipes: recipes:
# -- Secret key used by Djano - see https://docs.tandoor.dev/system/configuration/#secret-key
secretKey: "" secretKey: ""
persistence: persistence:
static: static:
# -- Enable persistence for static files
enabled: false enabled: false
existingClaim: "" existingClaim: ""
annotations: {} annotations: {}
@ -68,6 +73,7 @@ persistence:
storageClass: "" storageClass: ""
size: 1Gi size: 1Gi
media: media:
# -- Enable persistence for media files
enabled: false enabled: false
existingClaim: "" existingClaim: ""
annotations: {} annotations: {}