Commit new App releases for TrueCharts
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
parent
8a488a1ddd
commit
bc51ae4780
|
@ -1,8 +0,0 @@
|
|||
|
||||
<a name="sogo-4.0.12"></a>
|
||||
### [sogo-4.0.12](https://github.com/truecharts/apps/compare/sogo-4.0.11...sogo-4.0.12) (2021-10-05)
|
||||
|
||||
#### Chore
|
||||
|
||||
* update non-major deps helm releases ([#1099](https://github.com/truecharts/apps/issues/1099))
|
||||
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,4 @@
|
|||
|
||||
<a name="sogo-4.0.13"></a>
|
||||
### [sogo-4.0.13](https://github.com/truecharts/apps/compare/sogo-4.0.12...sogo-4.0.13) (2021-10-09)
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.2.2
|
||||
version: 8.3.4
|
||||
- name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 3.0.8
|
||||
version: 3.0.12
|
||||
- name: memcached
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 5.15.4
|
||||
digest: sha256:505855bf97f71b5fae35edae4dbb54d3da6d8fd7209ff18b57a46b96d86acdd8
|
||||
generated: "2021-10-05T12:12:45.625807654Z"
|
||||
digest: sha256:70eef654ba78195dc69f7fef5bf059f6c258fcb597335cb0a1af133ed343b640
|
||||
generated: "2021-10-09T23:21:20.003307622Z"
|
|
@ -3,11 +3,11 @@ appVersion: "5.2.0"
|
|||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.2.2
|
||||
version: 8.3.4
|
||||
- condition: postgresql.enabled
|
||||
name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 3.0.8
|
||||
version: 3.0.12
|
||||
- condition: memcached.enabled
|
||||
name: memcached
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
|
@ -27,4 +27,4 @@ name: sogo
|
|||
sources:
|
||||
- https://www.sogo.nu/
|
||||
type: application
|
||||
version: 4.0.12
|
||||
version: 4.0.13
|
|
@ -18,8 +18,8 @@ Kubernetes: `>=1.16.0-0`
|
|||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://charts.bitnami.com/bitnami | memcached | 5.15.4 |
|
||||
| https://truecharts.org/ | postgresql | 3.0.8 |
|
||||
| https://truecharts.org | common | 8.2.2 |
|
||||
| https://truecharts.org/ | postgresql | 3.0.12 |
|
||||
| https://truecharts.org | common | 8.3.4 |
|
||||
|
||||
## Installing the Chart
|
||||
|
Binary file not shown.
Binary file not shown.
|
@ -14,16 +14,11 @@ You will, however, be able to use all values referenced in the common chart here
|
|||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"ghcr.io/truecharts/sogo"` | |
|
||||
| image.tag | string | `"v5.2.0@sha256:8fc7bb87b77d76d929bcd36403d4f27878fa3e99f5448fb05ed64829078665a4"` | |
|
||||
| initContainers | object | `{"init-postgresdb":{"command":["sh","-c","until pg_isready -U sogo -h ${pghost} ; do sleep 2 ; done"],"env":[{"name":"pghost","valueFrom":{"secretKeyRef":{"key":"plainhost","name":"dbcreds"}}}],"image":"{{ .Values.postgresqlImage.repository }}:{{ .Values.postgresqlImage.tag }}","imagePullPolicy":"IfNotPresent"}}` | initcontainers |
|
||||
| initContainers.init-postgresdb | object | `{"command":["sh","-c","until pg_isready -U sogo -h ${pghost} ; do sleep 2 ; done"],"env":[{"name":"pghost","valueFrom":{"secretKeyRef":{"key":"plainhost","name":"dbcreds"}}}],"image":"{{ .Values.postgresqlImage.repository }}:{{ .Values.postgresqlImage.tag }}","imagePullPolicy":"IfNotPresent"}` | wait for database before starting sogo |
|
||||
| memcached | object | `{"enabled":true}` | memcached dependency settings |
|
||||
| persistence | object | `{"data":{"accessMode":"ReadWriteOnce","enabled":true,"mountPath":"/data/conf/sogo/","size":"100Gi","type":"pvc"},"drafts":{"accessMode":"ReadWriteOnce","enabled":true,"mountPath":"/var/spool/sogo","size":"100Gi","type":"pvc"},"mimetmp":{"enabled":true,"mountPath":"/mimetmp","type":"emptyDir"}}` | persistence settings |
|
||||
| podSecurityContext.runAsGroup | int | `0` | |
|
||||
| podSecurityContext.runAsUser | int | `0` | |
|
||||
| postgresql | object | `{"enabled":true,"existingSecret":"dbcreds","postgresqlDatabase":"sogo","postgresqlUsername":"sogo"}` | postgres dependency settings |
|
||||
| postgresqlImage.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| postgresqlImage.repository | string | `"bitnami/postgresql"` | |
|
||||
| postgresqlImage.tag | string | `"13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a"` | |
|
||||
| securityContext.readOnlyRootFilesystem | bool | `false` | |
|
||||
| securityContext.runAsNonRoot | bool | `false` | |
|
||||
| service | object | `{"main":{"ports":{"main":{"port":80}}}}` | services |
|
|
@ -8,11 +8,6 @@ image:
|
|||
pullPolicy: IfNotPresent
|
||||
tag: v5.2.0@sha256:8fc7bb87b77d76d929bcd36403d4f27878fa3e99f5448fb05ed64829078665a4
|
||||
|
||||
postgresqlImage:
|
||||
repository: bitnami/postgresql
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a
|
||||
|
||||
initContainers:
|
||||
migrate-db:
|
||||
image: "{{ .Values.alpineImage.repository}}:{{ .Values.alpineImage.tag }}"
|
||||
|
@ -41,9 +36,9 @@ initContainers:
|
|||
# Enabled postgres
|
||||
postgresql:
|
||||
enabled: true
|
||||
existingSecret: "dbcreds"
|
||||
postgresqlUsername: sogo
|
||||
postgresqlDatabase: sogo
|
||||
existingSecret: dbcreds
|
||||
|
||||
# -- memcached dependency settings
|
||||
memcached:
|
|
@ -1,29 +1,5 @@
|
|||
{{/* Define the configmap */}}
|
||||
{{- define "sogo.config" -}}
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
name: dbcreds
|
||||
{{- $dbprevious := lookup "v1" "Secret" .Release.Namespace "dbcreds" }}
|
||||
{{- $dbPass := "" }}
|
||||
data:
|
||||
{{- if $dbprevious }}
|
||||
{{- $dbPass = ( index $dbprevious.data "postgresql-password" ) | b64dec }}
|
||||
postgresql-password: {{ ( index $dbprevious.data "postgresql-password" ) }}
|
||||
postgresql-postgres-password: {{ ( index $dbprevious.data "postgresql-postgres-password" ) }}
|
||||
{{- else }}
|
||||
{{- $dbPass = randAlphaNum 50 }}
|
||||
postgresql-password: {{ $dbPass | b64enc | quote }}
|
||||
postgresql-postgres-password: {{ randAlphaNum 50 | b64enc | quote }}
|
||||
{{- end }}
|
||||
{{- $url := printf "%v%v:%v@%v-%v:%v/%v" "postgresql://" .Values.postgresql.postgresqlUsername $dbPass .Release.Name "postgresql" "5432" .Values.postgresql.postgresqlDatabase }}
|
||||
url: {{ $url | b64enc | quote }}
|
||||
plainhost: {{ ( printf "%v-%v" .Release.Name "postgresql" ) | b64enc | quote }}
|
||||
type: Opaque
|
||||
|
||||
---
|
||||
|
||||
|
@ -51,9 +27,9 @@ data:
|
|||
* **************************************************************************/
|
||||
|
||||
/* Database configuration (mysql:// or postgresql://) */
|
||||
SOGoProfileURL = "{{ $url }}/sogo_user_profile";
|
||||
OCSFolderInfoURL = "{{ $url }}/sogo_folder_info";
|
||||
OCSSessionsFolderURL = "{{ $url }}/sogo_sessions_folder";
|
||||
SOGoProfileURL = "{{ .Values.postgresql.url.complete }}/sogo_user_profile";
|
||||
OCSFolderInfoURL = "{{ .Values.postgresql.url.complete }}/sogo_folder_info";
|
||||
OCSSessionsFolderURL = "{{ .Values.postgresql.url.complete }}/sogo_sessions_folder";
|
||||
|
||||
/* Mail */
|
||||
SOGoDraftsFolderName = {{ .Values.sogo.mail.SOGoDraftsFolderName | default "Drafts" }};
|
|
@ -1,5 +1,5 @@
|
|||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
{{- include "common.setup" . }}
|
||||
|
||||
{{/* Render config and secrets for sogo */}}
|
||||
{{- include "sogo.config" . }}
|
||||
|
@ -23,4 +23,4 @@ volumeSpec:
|
|||
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
{{ include "common.postSetup" . }}
|
|
@ -12,11 +12,6 @@ podSecurityContext:
|
|||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
|
||||
postgresqlImage:
|
||||
repository: bitnami/postgresql
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a
|
||||
|
||||
# -- services
|
||||
service:
|
||||
main:
|
||||
|
@ -24,23 +19,6 @@ service:
|
|||
main:
|
||||
port: 80
|
||||
|
||||
# -- initcontainers
|
||||
initContainers:
|
||||
# -- wait for database before starting sogo
|
||||
init-postgresdb:
|
||||
image: "{{ .Values.postgresqlImage.repository }}:{{ .Values.postgresqlImage.tag }}"
|
||||
command:
|
||||
- "sh"
|
||||
- "-c"
|
||||
- "until pg_isready -U sogo -h ${pghost} ; do sleep 2 ; done"
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: pghost
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: plainhost
|
||||
|
||||
# -- persistence settings
|
||||
persistence:
|
||||
data:
|
||||
|
@ -64,9 +42,9 @@ persistence:
|
|||
# -- postgres dependency settings
|
||||
postgresql:
|
||||
enabled: true
|
||||
existingSecret: "dbcreds"
|
||||
postgresqlUsername: sogo
|
||||
postgresqlDatabase: sogo
|
||||
existingSecret: dbcreds
|
||||
|
||||
# -- memcached dependency settings
|
||||
memcached:
|
|
@ -1,8 +0,0 @@
|
|||
|
||||
<a name="authelia-4.0.12"></a>
|
||||
### [authelia-4.0.12](https://github.com/truecharts/apps/compare/authelia-4.0.11...authelia-4.0.12) (2021-10-05)
|
||||
|
||||
#### Chore
|
||||
|
||||
* update non-major deps helm releases ([#1099](https://github.com/truecharts/apps/issues/1099))
|
||||
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,4 @@
|
|||
|
||||
<a name="authelia-4.0.13"></a>
|
||||
### [authelia-4.0.13](https://github.com/truecharts/apps/compare/authelia-4.0.12...authelia-4.0.13) (2021-10-09)
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.2.2
|
||||
version: 8.3.4
|
||||
- name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 3.0.8
|
||||
version: 3.0.12
|
||||
- name: redis
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 15.4.1
|
||||
digest: sha256:bfe11eec09664fb48f91828300383b3cccb92e7f708cb783ba0f8491d8d37ccf
|
||||
generated: "2021-10-05T12:13:31.25987279Z"
|
||||
digest: sha256:00ccb5dec57ec1d36f0a3b10f4ffa91c1b8e4b08ea10ca3848396250bdfd11b2
|
||||
generated: "2021-10-09T23:21:42.05449075Z"
|
|
@ -3,11 +3,11 @@ appVersion: "4.31.0"
|
|||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.2.2
|
||||
version: 8.3.4
|
||||
- condition: postgresql.enabled
|
||||
name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 3.0.8
|
||||
version: 3.0.12
|
||||
- condition: redis.enabled
|
||||
name: redis
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
|
@ -38,4 +38,4 @@ sources:
|
|||
- https://github.com/authelia/chartrepo
|
||||
- https://github.com/authelia/authelia
|
||||
type: application
|
||||
version: 4.0.12
|
||||
version: 4.0.13
|
|
@ -19,8 +19,8 @@ Kubernetes: `>=1.16.0-0`
|
|||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://charts.bitnami.com/bitnami | redis | 15.4.1 |
|
||||
| https://truecharts.org/ | postgresql | 3.0.8 |
|
||||
| https://truecharts.org | common | 8.2.2 |
|
||||
| https://truecharts.org/ | postgresql | 3.0.12 |
|
||||
| https://truecharts.org | common | 8.3.4 |
|
||||
|
||||
## Installing the Chart
|
||||
|
Binary file not shown.
Binary file not shown.
|
@ -64,14 +64,6 @@ You will, however, be able to use all values referenced in the common chart here
|
|||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"ghcr.io/authelia/authelia"` | |
|
||||
| image.tag | string | `"4.31.0@sha256:6036f2b1fa3214fdcf189a8f28f40a856372413984b08f15ba4fb5891d77bc0a"` | |
|
||||
| initContainers.init-postgresdb.command[0] | string | `"sh"` | |
|
||||
| initContainers.init-postgresdb.command[1] | string | `"-c"` | |
|
||||
| initContainers.init-postgresdb.command[2] | string | `"until pg_isready -U authelia -h ${pghost} ; do sleep 2 ; done"` | |
|
||||
| initContainers.init-postgresdb.env[0].name | string | `"pghost"` | |
|
||||
| initContainers.init-postgresdb.env[0].valueFrom.secretKeyRef.key | string | `"plainhost"` | |
|
||||
| initContainers.init-postgresdb.env[0].valueFrom.secretKeyRef.name | string | `"dbcreds"` | |
|
||||
| initContainers.init-postgresdb.image | string | `"{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"` | |
|
||||
| initContainers.init-postgresdb.imagePullPolicy | string | `"IfNotPresent"` | |
|
||||
| log.format | string | `"text"` | |
|
||||
| log.level | string | `"trace"` | |
|
||||
| notifier.disable_startup_check | bool | `false` | |
|
||||
|
@ -108,9 +100,6 @@ You will, however, be able to use all values referenced in the common chart here
|
|||
| postgresql.existingSecret | string | `"dbcreds"` | |
|
||||
| postgresql.postgresqlDatabase | string | `"authelia"` | |
|
||||
| postgresql.postgresqlUsername | string | `"authelia"` | |
|
||||
| postgresqlImage.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| postgresqlImage.repository | string | `"bitnami/postgresql"` | |
|
||||
| postgresqlImage.tag | string | `"13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a"` | |
|
||||
| probes.liveness.path | string | `"/api/health\""` | |
|
||||
| probes.liveness.type | string | `"HTTP"` | |
|
||||
| probes.readiness.path | string | `"/api/health"` | |
|
|
@ -9,11 +9,6 @@ image:
|
|||
pullPolicy: IfNotPresent
|
||||
tag: 4.31.0@sha256:6036f2b1fa3214fdcf189a8f28f40a856372413984b08f15ba4fb5891d77bc0a
|
||||
|
||||
postgresqlImage:
|
||||
repository: bitnami/postgresql
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a
|
||||
|
||||
|
||||
enableServiceLinks: false
|
||||
|
||||
|
@ -39,9 +34,9 @@ initContainers:
|
|||
# Enabled postgres
|
||||
postgresql:
|
||||
enabled: true
|
||||
existingSecret: "dbcreds"
|
||||
postgresqlUsername: authelia
|
||||
postgresqlDatabase: authelia
|
||||
existingSecret: dbcreds
|
||||
persistence:
|
||||
db:
|
||||
storageClass: "SCALE-ZFS"
|
|
@ -2,31 +2,6 @@
|
|||
{{- define "authelia.secrets" -}}
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
name: dbcreds
|
||||
{{- $dbprevious := lookup "v1" "Secret" .Release.Namespace "dbcreds" }}
|
||||
{{- $dbPass := "" }}
|
||||
data:
|
||||
{{- if $dbprevious }}
|
||||
{{- $dbPass = ( index $dbprevious.data "postgresql-password" ) | b64dec }}
|
||||
postgresql-password: {{ ( index $dbprevious.data "postgresql-password" ) }}
|
||||
postgresql-postgres-password: {{ ( index $dbprevious.data "postgresql-postgres-password" ) }}
|
||||
{{- else }}
|
||||
{{- $dbPass = randAlphaNum 50 }}
|
||||
postgresql-password: {{ $dbPass | b64enc | quote }}
|
||||
postgresql-postgres-password: {{ randAlphaNum 50 | b64enc | quote }}
|
||||
{{- end }}
|
||||
url: {{ ( printf "%v%v:%v@%v-%v:%v/%v" "postgresql://" .Values.postgresql.postgresqlUsername $dbPass .Release.Name "postgresql" "5432" .Values.postgresql.postgresqlDatabase ) | b64enc | quote }}
|
||||
plainhost: {{ ( printf "%v-%v" .Release.Name "postgresql" ) | b64enc | quote }}
|
||||
type: Opaque
|
||||
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
|
@ -88,11 +63,7 @@ data:
|
|||
DUO_API_KEY: {{ .Values.duo_api.plain_api_key | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- if $dbprevious }}
|
||||
STORAGE_PASSWORD: {{ ( index $dbprevious.data "postgresql-password" ) }}
|
||||
{{- else }}
|
||||
STORAGE_PASSWORD: {{ $dbPass | b64enc | quote }}
|
||||
{{- end }}
|
||||
STORAGE_PASSWORD: {{ .Values.postgresql.postgresqlPassword | trimAll "\"" | b64enc }}
|
||||
|
||||
{{- if $redisprevious }}
|
||||
REDIS_PASSWORD: {{ ( index $redisprevious.data "redis-password" ) }}
|
|
@ -1,5 +1,5 @@
|
|||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
{{- include "common.setup" . }}
|
||||
|
||||
{{/* Render configmap for authelia */}}
|
||||
{{- include "authelia.configmap" . }}
|
||||
|
@ -69,4 +69,4 @@ volumeSpec:
|
|||
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
{{ include "common.postSetup" . }}
|
|
@ -5,11 +5,6 @@ image:
|
|||
pullPolicy: IfNotPresent
|
||||
tag: 4.31.0@sha256:6036f2b1fa3214fdcf189a8f28f40a856372413984b08f15ba4fb5891d77bc0a
|
||||
|
||||
postgresqlImage:
|
||||
repository: bitnami/postgresql
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a
|
||||
|
||||
command: ["authelia"]
|
||||
args: ["--config=/configuration.yaml"]
|
||||
|
||||
|
@ -21,21 +16,6 @@ service:
|
|||
main:
|
||||
port: 9091
|
||||
|
||||
initContainers:
|
||||
init-postgresdb:
|
||||
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||
command:
|
||||
- "sh"
|
||||
- "-c"
|
||||
- "until pg_isready -U authelia -h ${pghost} ; do sleep 2 ; done"
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: pghost
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: plainhost
|
||||
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
|
@ -54,9 +34,9 @@ persistence:
|
|||
# Enabled postgres
|
||||
postgresql:
|
||||
enabled: true
|
||||
existingSecret: "dbcreds"
|
||||
postgresqlUsername: authelia
|
||||
postgresqlDatabase: authelia
|
||||
existingSecret: dbcreds
|
||||
|
||||
# Enabled redis
|
||||
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/redis
|
|
@ -1,8 +0,0 @@
|
|||
|
||||
<a name="fireflyiii-9.0.11"></a>
|
||||
### [fireflyiii-9.0.11](https://github.com/truecharts/apps/compare/fireflyiii-9.0.10...fireflyiii-9.0.11) (2021-10-05)
|
||||
|
||||
#### Chore
|
||||
|
||||
* update non-major deps helm releases ([#1099](https://github.com/truecharts/apps/issues/1099))
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.2.2
|
||||
- name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 3.0.8
|
||||
digest: sha256:492c4b7106d4921456b7460b2d7b62e769d3c736623c8aff80325387fa44363c
|
||||
generated: "2021-10-05T12:16:36.305006386Z"
|
Binary file not shown.
Binary file not shown.
|
@ -1,20 +0,0 @@
|
|||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: dbcreds
|
||||
{{- $previous := lookup "v1" "Secret" .Release.Namespace "dbcreds" }}
|
||||
{{- $dbPass := "" }}
|
||||
data:
|
||||
{{- if $previous }}
|
||||
{{- $dbPass = ( index $previous.data "postgresql-password" ) | b64dec }}
|
||||
postgresql-password: {{ ( index $previous.data "postgresql-password" ) }}
|
||||
postgresql-postgres-password: {{ ( index $previous.data "postgresql-postgres-password" ) }}
|
||||
{{- else }}
|
||||
{{- $dbPass = randAlphaNum 50 }}
|
||||
postgresql-password: {{ $dbPass | b64enc | quote }}
|
||||
postgresql-postgres-password: {{ randAlphaNum 50 | b64enc | quote }}
|
||||
{{- end }}
|
||||
url: {{ ( printf "%v%v:%v@%v-%v:%v/%v" "postgresql://" .Values.postgresql.postgresqlUsername $dbPass .Release.Name "postgresql" "5432" .Values.postgresql.postgresqlDatabase ) | b64enc | quote }}
|
||||
postgresql_host: {{ ( printf "%v-%v" .Release.Name "postgresql" ) | b64enc | quote }}
|
||||
plainhost: {{ ( printf "%v-%v" .Release.Name "postgresql" ) | b64enc | quote }}
|
||||
type: Opaque
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
<a name="fireflyiii-9.0.12"></a>
|
||||
### [fireflyiii-9.0.12](https://github.com/truecharts/apps/compare/fireflyiii-9.0.11...fireflyiii-9.0.12) (2021-10-09)
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.3.4
|
||||
- name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 3.0.12
|
||||
digest: sha256:e7a3ac4f590bf3fb97c3062d1443aa9987913a6d0f53fb1e2d1100ce9fedf324
|
||||
generated: "2021-10-09T23:22:03.323072665Z"
|
|
@ -3,11 +3,11 @@ appVersion: "5.5.12"
|
|||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.2.2
|
||||
version: 8.3.4
|
||||
- condition: postgresql.enabled
|
||||
name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 3.0.8
|
||||
version: 3.0.12
|
||||
deprecated: false
|
||||
description: A free and open source personal finance manager
|
||||
home: https://github.com/firefly-iii/firefly-iii/
|
||||
|
@ -27,4 +27,4 @@ name: fireflyiii
|
|||
sources:
|
||||
- https://github.com/firefly-iii/firefly-iii/
|
||||
type: application
|
||||
version: 9.0.11
|
||||
version: 9.0.12
|
|
@ -17,8 +17,8 @@ Kubernetes: `>=1.16.0-0`
|
|||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://truecharts.org/ | postgresql | 3.0.8 |
|
||||
| https://truecharts.org | common | 8.2.2 |
|
||||
| https://truecharts.org/ | postgresql | 3.0.12 |
|
||||
| https://truecharts.org | common | 8.3.4 |
|
||||
|
||||
## Installing the Chart
|
||||
|
Binary file not shown.
Binary file not shown.
|
@ -16,21 +16,13 @@ You will, however, be able to use all values referenced in the common chart here
|
|||
| env.DB_DATABASE | string | `"firefly"` | |
|
||||
| env.DB_PORT | int | `5432` | |
|
||||
| env.DB_USERNAME | string | `"firefly"` | |
|
||||
| envValueFrom.DB_HOST.secretKeyRef.key | string | `"postgresql_host"` | |
|
||||
| envValueFrom.DB_HOST.secretKeyRef.key | string | `"plainhost"` | |
|
||||
| envValueFrom.DB_HOST.secretKeyRef.name | string | `"dbcreds"` | |
|
||||
| envValueFrom.DB_PASSWORD.secretKeyRef.key | string | `"postgresql-password"` | |
|
||||
| envValueFrom.DB_PASSWORD.secretKeyRef.name | string | `"dbcreds"` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"fireflyiii/core"` | |
|
||||
| image.tag | string | `"version-5.5.12@sha256:9a1f87a8ad38694675390756be9686fe9d8ba941fe1f145641626135c7eb5e4b"` | |
|
||||
| initContainers.init-postgresdb.command[0] | string | `"sh"` | |
|
||||
| initContainers.init-postgresdb.command[1] | string | `"-c"` | |
|
||||
| initContainers.init-postgresdb.command[2] | string | `"until pg_isready -U firefly -h ${pghost} ; do sleep 2 ; done"` | |
|
||||
| initContainers.init-postgresdb.env[0].name | string | `"pghost"` | |
|
||||
| initContainers.init-postgresdb.env[0].valueFrom.secretKeyRef.key | string | `"plainhost"` | |
|
||||
| initContainers.init-postgresdb.env[0].valueFrom.secretKeyRef.name | string | `"dbcreds"` | |
|
||||
| initContainers.init-postgresdb.image | string | `"{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"` | |
|
||||
| initContainers.init-postgresdb.imagePullPolicy | string | `"IfNotPresent"` | |
|
||||
| persistence.data.accessMode | string | `"ReadWriteOnce"` | |
|
||||
| persistence.data.enabled | bool | `true` | |
|
||||
| persistence.data.mountPath | string | `"/var/www/html/storage/upload"` | |
|
||||
|
@ -40,9 +32,6 @@ You will, however, be able to use all values referenced in the common chart here
|
|||
| postgresql.existingSecret | string | `"dbcreds"` | |
|
||||
| postgresql.postgresqlDatabase | string | `"firefly"` | |
|
||||
| postgresql.postgresqlUsername | string | `"firefly"` | |
|
||||
| postgresqlImage.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| postgresqlImage.repository | string | `"bitnami/postgresql"` | |
|
||||
| postgresqlImage.tag | string | `"13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a"` | |
|
||||
| probes.liveness.path | string | `"/login"` | |
|
||||
| probes.readiness.path | string | `"/login"` | |
|
||||
| probes.startup.path | string | `"/login"` | |
|
|
@ -9,27 +9,6 @@ image:
|
|||
pullPolicy: IfNotPresent
|
||||
tag: version-5.5.12@sha256:9a1f87a8ad38694675390756be9686fe9d8ba941fe1f145641626135c7eb5e4b
|
||||
|
||||
|
||||
postgresqlImage:
|
||||
repository: bitnami/postgresql
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a
|
||||
|
||||
initContainers:
|
||||
init-postgresdb:
|
||||
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||
command:
|
||||
- "sh"
|
||||
- "-c"
|
||||
- "until pg_isready -U authelia -h ${pghost} ; do sleep 2 ; done"
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: pghost
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: plainhost
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
path: "/login"
|
||||
|
@ -50,7 +29,7 @@ envValueFrom:
|
|||
DB_HOST:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: postgresql_host
|
||||
key: plainhost
|
||||
DB_PASSWORD:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
|
@ -59,9 +38,9 @@ envValueFrom:
|
|||
# Enabled postgres
|
||||
postgresql:
|
||||
enabled: true
|
||||
existingSecret: "dbcreds"
|
||||
postgresqlUsername: fireflyiii
|
||||
postgresqlDatabase: fireflyiii
|
||||
existingSecret: dbcreds
|
||||
persistence:
|
||||
db:
|
||||
storageClass: "SCALE-ZFS"
|
|
@ -1,5 +1,5 @@
|
|||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
{{- include "common.setup" . }}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
{{ include "common.postSetup" . }}
|
|
@ -8,32 +8,12 @@ image:
|
|||
securityContext:
|
||||
readOnlyRootFilesystem: false
|
||||
|
||||
postgresqlImage:
|
||||
repository: bitnami/postgresql
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
main:
|
||||
port: 8080
|
||||
|
||||
initContainers:
|
||||
init-postgresdb:
|
||||
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||
command:
|
||||
- "sh"
|
||||
- "-c"
|
||||
- "until pg_isready -U firefly -h ${pghost} ; do sleep 2 ; done"
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: pghost
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: plainhost
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
path: "/login"
|
||||
|
@ -55,7 +35,7 @@ envValueFrom:
|
|||
DB_HOST:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: postgresql_host
|
||||
key: plainhost
|
||||
DB_PASSWORD:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
|
@ -72,6 +52,6 @@ persistence:
|
|||
# Enabled postgres
|
||||
postgresql:
|
||||
enabled: true
|
||||
existingSecret: "dbcreds"
|
||||
postgresqlUsername: firefly
|
||||
postgresqlDatabase: firefly
|
||||
existingSecret: dbcreds
|
|
@ -1,8 +0,0 @@
|
|||
|
||||
<a name="gitea-1.0.3"></a>
|
||||
### [gitea-1.0.3](https://github.com/truecharts/apps/compare/gitea-1.0.2...gitea-1.0.3) (2021-10-05)
|
||||
|
||||
#### Chore
|
||||
|
||||
* update non-major deps helm releases ([#1099](https://github.com/truecharts/apps/issues/1099))
|
||||
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,4 @@
|
|||
|
||||
<a name="gitea-1.0.4"></a>
|
||||
### [gitea-1.0.4](https://github.com/truecharts/apps/compare/gitea-1.0.3...gitea-1.0.4) (2021-10-09)
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.2.2
|
||||
version: 8.3.4
|
||||
- name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 3.0.8
|
||||
version: 3.0.12
|
||||
- name: memcached
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 5.15.4
|
||||
digest: sha256:505855bf97f71b5fae35edae4dbb54d3da6d8fd7209ff18b57a46b96d86acdd8
|
||||
generated: "2021-10-05T12:18:02.581959864Z"
|
||||
digest: sha256:70eef654ba78195dc69f7fef5bf059f6c258fcb597335cb0a1af133ed343b640
|
||||
generated: "2021-10-09T23:22:20.924446095Z"
|
|
@ -3,11 +3,11 @@ appVersion: "1.15.3"
|
|||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.2.2
|
||||
version: 8.3.4
|
||||
- condition: postgresql.enabled
|
||||
name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 3.0.8
|
||||
version: 3.0.12
|
||||
- condition: memcached.enabled
|
||||
name: memcached
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
|
@ -34,4 +34,4 @@ sources:
|
|||
- https://github.com/go-gitea/gitea
|
||||
- https://hub.docker.com/r/gitea/gitea/
|
||||
type: application
|
||||
version: 1.0.3
|
||||
version: 1.0.4
|
|
@ -20,8 +20,8 @@ Kubernetes: `>=1.16.0-0`
|
|||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://charts.bitnami.com/bitnami | memcached | 5.15.4 |
|
||||
| https://truecharts.org/ | postgresql | 3.0.8 |
|
||||
| https://truecharts.org | common | 8.2.2 |
|
||||
| https://truecharts.org/ | postgresql | 3.0.12 |
|
||||
| https://truecharts.org | common | 8.3.4 |
|
||||
|
||||
## Installing the Chart
|
||||
|
Binary file not shown.
Binary file not shown.
|
@ -21,14 +21,6 @@ You will, however, be able to use all values referenced in the common chart here
|
|||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"gitea/gitea"` | |
|
||||
| image.tag | string | `"1.15.3-rootless"` | |
|
||||
| initContainers.0-init-postgresdb.command[0] | string | `"sh"` | |
|
||||
| initContainers.0-init-postgresdb.command[1] | string | `"-c"` | |
|
||||
| initContainers.0-init-postgresdb.command[2] | string | `"until pg_isready -U gitea -h ${pghost} ; do sleep 2 ; done"` | |
|
||||
| initContainers.0-init-postgresdb.env[0].name | string | `"pghost"` | |
|
||||
| initContainers.0-init-postgresdb.env[0].valueFrom.secretKeyRef.key | string | `"plainhost"` | |
|
||||
| initContainers.0-init-postgresdb.env[0].valueFrom.secretKeyRef.name | string | `"dbcreds"` | |
|
||||
| initContainers.0-init-postgresdb.image | string | `"{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"` | |
|
||||
| initContainers.0-init-postgresdb.imagePullPolicy | string | `"IfNotPresent"` | |
|
||||
| initContainers.1-init-directories.command[0] | string | `"/usr/sbin/init_directory_structure.sh"` | |
|
||||
| initContainers.1-init-directories.envFrom[0].configMapRef.name | string | `"gitea-env"` | |
|
||||
| initContainers.1-init-directories.image | string | `"{{ .Values.image.repository }}:{{ .Values.image.tag }}"` | |
|
||||
|
@ -71,9 +63,6 @@ You will, however, be able to use all values referenced in the common chart here
|
|||
| postgresql.existingSecret | string | `"dbcreds"` | |
|
||||
| postgresql.postgresqlDatabase | string | `"gitea"` | |
|
||||
| postgresql.postgresqlUsername | string | `"gitea"` | |
|
||||
| postgresqlImage.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| postgresqlImage.repository | string | `"bitnami/postgresql"` | |
|
||||
| postgresqlImage.tag | string | `"13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a"` | |
|
||||
| service.main.ports.main.port | int | `3000` | |
|
||||
| service.ssh.ports.ssh.port | int | `2222` | |
|
||||
| service.ssh.ports.ssh.targetPort | int | `2222` | |
|
|
@ -9,29 +9,11 @@ image:
|
|||
tag: 1.15.3-rootless
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
postgresqlImage:
|
||||
repository: bitnami/postgresql
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a
|
||||
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: gitea-env
|
||||
|
||||
initContainers:
|
||||
0-init-postgresdb:
|
||||
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||
command:
|
||||
- "sh"
|
||||
- "-c"
|
||||
- "until pg_isready -U gitea -h ${pghost} ; do sleep 2 ; done"
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: pghost
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: plainhost
|
||||
1-init-directories:
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
command: ["/usr/sbin/init_directory_structure.sh"]
|
|
@ -1,29 +1,5 @@
|
|||
{{/* Define the secrets */}}
|
||||
{{- define "gitea.secrets" -}}
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
name: dbcreds
|
||||
{{- $dbprevious := lookup "v1" "Secret" .Release.Namespace "dbcreds" }}
|
||||
{{- $dbPass := "" }}
|
||||
data:
|
||||
{{- if $dbprevious }}
|
||||
{{- $dbPass = ( index $dbprevious.data "postgresql-password" ) | b64dec }}
|
||||
postgresql-password: {{ ( index $dbprevious.data "postgresql-password" ) }}
|
||||
postgresql-postgres-password: {{ ( index $dbprevious.data "postgresql-postgres-password" ) }}
|
||||
{{- else }}
|
||||
{{- $dbPass = randAlphaNum 50 }}
|
||||
postgresql-password: {{ $dbPass | b64enc | quote }}
|
||||
postgresql-postgres-password: {{ randAlphaNum 50 | b64enc | quote }}
|
||||
{{- end }}
|
||||
url: {{ ( printf "%v%v:%v@%v-%v:%v/%v" "postgresql://" .Values.postgresql.postgresqlUsername $dbPass .Release.Name "postgresql" "5432" .Values.postgresql.postgresqlDatabase ) | b64enc | quote }}
|
||||
plainhost: {{ ( printf "%v-%v" .Release.Name "postgresql" ) | b64enc | quote }}
|
||||
type: Opaque
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
@ -60,7 +36,7 @@ stringData:
|
|||
DB_TYPE = postgres
|
||||
HOST = {{ printf "%v-%v:%v" .Release.Name "postgresql" "5432" }}
|
||||
NAME = {{ .Values.postgresql.postgresqlDatabase }}
|
||||
PASSWD = {{ $dbPass }}
|
||||
PASSWD = {{ .Values.postgresql.postgresqlPassword }}
|
||||
USER = {{ .Values.postgresql.postgresqlUsername }}
|
||||
{{- range $catindex, $catvalue := .Values.customConfig }}
|
||||
{{- if eq $catvalue.name "database" }}
|
|
@ -1,5 +1,5 @@
|
|||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
{{- include "common.setup" . }}
|
||||
|
||||
{{/* Render secrets for gitea */}}
|
||||
{{- include "gitea.secrets" . }}
|
||||
|
@ -35,4 +35,4 @@ volumeSpec:
|
|||
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
{{ include "common.postSetup" . }}
|
|
@ -3,11 +3,6 @@ image:
|
|||
tag: 1.15.3-rootless
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
postgresqlImage:
|
||||
repository: bitnami/postgresql
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
|
@ -24,19 +19,6 @@ envFrom:
|
|||
name: gitea-env
|
||||
|
||||
initContainers:
|
||||
0-init-postgresdb:
|
||||
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||
command:
|
||||
- "sh"
|
||||
- "-c"
|
||||
- "until pg_isready -U gitea -h ${pghost} ; do sleep 2 ; done"
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: pghost
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: plainhost
|
||||
1-init-directories:
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
command: ["/usr/sbin/init_directory_structure.sh"]
|
||||
|
@ -143,9 +125,9 @@ customConfig: []
|
|||
# Enabled postgres
|
||||
postgresql:
|
||||
enabled: true
|
||||
existingSecret: "dbcreds"
|
||||
postgresqlUsername: gitea
|
||||
postgresqlDatabase: gitea
|
||||
existingSecret: dbcreds
|
||||
|
||||
# -- memcached dependency settings
|
||||
memcached:
|
|
@ -1,8 +0,0 @@
|
|||
|
||||
<a name="nextcloud-6.0.13"></a>
|
||||
### [nextcloud-6.0.13](https://github.com/truecharts/apps/compare/nextcloud-6.0.12...nextcloud-6.0.13) (2021-10-05)
|
||||
|
||||
#### Chore
|
||||
|
||||
* update non-major ([#1103](https://github.com/truecharts/apps/issues/1103))
|
||||
|
Binary file not shown.
Binary file not shown.
|
@ -1,50 +0,0 @@
|
|||
{{/* Define the secrets */}}
|
||||
{{- define "nextcloud.secrets" -}}
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
name: dbcreds
|
||||
{{- $previous := lookup "v1" "Secret" .Release.Namespace "dbcreds" }}
|
||||
{{- $dbPass := "" }}
|
||||
data:
|
||||
{{- if $previous }}
|
||||
{{- $dbPass = ( index $previous.data "postgresql-password" ) | b64dec }}
|
||||
postgresql-password: {{ ( index $previous.data "postgresql-password" ) }}
|
||||
postgresql-postgres-password: {{ ( index $previous.data "postgresql-postgres-password" ) }}
|
||||
{{- else }}
|
||||
{{- $dbPass = randAlphaNum 50 }}
|
||||
postgresql-password: {{ $dbPass | b64enc | quote }}
|
||||
postgresql-postgres-password: {{ randAlphaNum 50 | b64enc | quote }}
|
||||
{{- end }}
|
||||
url: {{ ( printf "%v%v:%v@%v-%v:%v/%v" "postgresql://" .Values.postgresql.postgresqlUsername $dbPass .Release.Name "postgresql" "5432" .Values.postgresql.postgresqlDatabase ) | b64enc | quote }}
|
||||
host: {{ ( printf "%v-%v:5432" .Release.Name "postgresql" ) | b64enc | quote }}
|
||||
plainhost: {{ ( printf "%v-%v" .Release.Name "postgresql" ) | b64enc | quote }}
|
||||
type: Opaque
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
name: rediscreds
|
||||
{{- $redisprevious := lookup "v1" "Secret" .Release.Namespace "rediscreds" }}
|
||||
{{- $redisPass := "" }}
|
||||
data:
|
||||
{{- if $redisprevious }}
|
||||
{{- $redisPass = ( index $redisprevious.data "redis-password" ) | b64dec }}
|
||||
redis-password: {{ ( index $redisprevious.data "redis-password" ) }}
|
||||
{{- else }}
|
||||
{{- $redisPass = randAlphaNum 50 }}
|
||||
redis-password: {{ $redisPass | b64enc | quote }}
|
||||
{{- end }}
|
||||
masterhost: {{ ( printf "%v-%v" .Release.Name "redis-master" ) | b64enc | quote }}
|
||||
slavehost: {{ ( printf "%v-%v" .Release.Name "redis-master" ) | b64enc | quote }}
|
||||
type: Opaque
|
||||
{{- end -}}
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
<a name="nextcloud-6.0.14"></a>
|
||||
### [nextcloud-6.0.14](https://github.com/truecharts/apps/compare/nextcloud-6.0.13...nextcloud-6.0.14) (2021-10-09)
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.2.2
|
||||
version: 8.3.4
|
||||
- name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 3.0.8
|
||||
version: 3.0.12
|
||||
- name: redis
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 15.4.1
|
||||
digest: sha256:bfe11eec09664fb48f91828300383b3cccb92e7f708cb783ba0f8491d8d37ccf
|
||||
generated: "2021-10-05T23:04:55.77374211Z"
|
||||
digest: sha256:00ccb5dec57ec1d36f0a3b10f4ffa91c1b8e4b08ea10ca3848396250bdfd11b2
|
||||
generated: "2021-10-09T23:22:43.722953725Z"
|
|
@ -3,11 +3,11 @@ appVersion: "22.2.0"
|
|||
dependencies:
|
||||
- name: common
|
||||
repository: https://truecharts.org
|
||||
version: 8.2.2
|
||||
version: 8.3.4
|
||||
- condition: postgresql.enabled
|
||||
name: postgresql
|
||||
repository: https://truecharts.org/
|
||||
version: 3.0.8
|
||||
version: 3.0.12
|
||||
- condition: redis.enabled
|
||||
name: redis
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
|
@ -33,4 +33,4 @@ sources:
|
|||
- https://github.com/nextcloud/docker
|
||||
- https://github.com/nextcloud/helm
|
||||
type: application
|
||||
version: 6.0.13
|
||||
version: 6.0.14
|
|
@ -19,8 +19,8 @@ Kubernetes: `>=1.16.0-0`
|
|||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://charts.bitnami.com/bitnami | redis | 15.4.1 |
|
||||
| https://truecharts.org/ | postgresql | 3.0.8 |
|
||||
| https://truecharts.org | common | 8.2.2 |
|
||||
| https://truecharts.org/ | postgresql | 3.0.12 |
|
||||
| https://truecharts.org | common | 8.3.4 |
|
||||
|
||||
## Installing the Chart
|
||||
|
Binary file not shown.
Binary file not shown.
|
@ -21,7 +21,7 @@ You will, however, be able to use all values referenced in the common chart here
|
|||
| envFrom[0].configMapRef.name | string | `"nextcloudconfig"` | |
|
||||
| envTpl.POSTGRES_DB | string | `"{{ .Values.postgresql.postgresqlDatabase }}"` | |
|
||||
| envTpl.POSTGRES_USER | string | `"{{ .Values.postgresql.postgresqlUsername }}"` | |
|
||||
| envValueFrom.POSTGRES_HOST.secretKeyRef.key | string | `"host"` | |
|
||||
| envValueFrom.POSTGRES_HOST.secretKeyRef.key | string | `"plainporthost"` | |
|
||||
| envValueFrom.POSTGRES_HOST.secretKeyRef.name | string | `"dbcreds"` | |
|
||||
| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.key | string | `"postgresql-password"` | |
|
||||
| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.name | string | `"dbcreds"` | |
|
||||
|
@ -32,14 +32,6 @@ You will, however, be able to use all values referenced in the common chart here
|
|||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"docker.io/nextcloud"` | |
|
||||
| image.tag | string | `"22.2.0@sha256:50d4d103bf6a229ec0d589785e057ecdaa8cb718f197056739fa14f483e0071b"` | |
|
||||
| initContainers.init-postgresdb.command[0] | string | `"sh"` | |
|
||||
| initContainers.init-postgresdb.command[1] | string | `"-c"` | |
|
||||
| initContainers.init-postgresdb.command[2] | string | `"until pg_isready -U nextcloud -h ${pghost} ; do sleep 2 ; done"` | |
|
||||
| initContainers.init-postgresdb.env[0].name | string | `"pghost"` | |
|
||||
| initContainers.init-postgresdb.env[0].valueFrom.secretKeyRef.key | string | `"plainhost"` | |
|
||||
| initContainers.init-postgresdb.env[0].valueFrom.secretKeyRef.name | string | `"dbcreds"` | |
|
||||
| initContainers.init-postgresdb.image | string | `"{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"` | |
|
||||
| initContainers.init-postgresdb.imagePullPolicy | string | `"IfNotPresent"` | |
|
||||
| persistence.data.accessMode | string | `"ReadWriteOnce"` | |
|
||||
| persistence.data.enabled | bool | `true` | |
|
||||
| persistence.data.mountPath | string | `"/var/www/html"` | |
|
||||
|
@ -58,9 +50,6 @@ You will, however, be able to use all values referenced in the common chart here
|
|||
| postgresql.existingSecret | string | `"dbcreds"` | |
|
||||
| postgresql.postgresqlDatabase | string | `"nextcloud"` | |
|
||||
| postgresql.postgresqlUsername | string | `"nextcloud"` | |
|
||||
| postgresqlImage.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| postgresqlImage.repository | string | `"bitnami/postgresql"` | |
|
||||
| postgresqlImage.tag | string | `"13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a"` | |
|
||||
| probes | object | See below | Probe configuration -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) |
|
||||
| probes.liveness | object | See below | Liveness probe configuration |
|
||||
| probes.liveness.spec | object | "/" | If a HTTP probe is used (default for HTTP/HTTPS services) this path is used |
|
|
@ -9,17 +9,11 @@ image:
|
|||
pullPolicy: IfNotPresent
|
||||
tag: 22.2.0@sha256:50d4d103bf6a229ec0d589785e057ecdaa8cb718f197056739fa14f483e0071b
|
||||
|
||||
postgresqlImage:
|
||||
repository: bitnami/postgresql
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 13.4.0@sha256:e7526fc32deec708740784d907bcea2ef6c78bc5ab5265026eff96e70082a54a
|
||||
|
||||
strategy:
|
||||
type: Recreate
|
||||
|
||||
env: {}
|
||||
|
||||
|
||||
envTpl:
|
||||
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||
|
@ -36,7 +30,7 @@ envValueFrom:
|
|||
POSTGRES_HOST:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: host
|
||||
key: plainporthost
|
||||
REDIS_HOST:
|
||||
secretKeyRef:
|
||||
name: rediscreds
|
||||
|
@ -46,21 +40,6 @@ envValueFrom:
|
|||
name: rediscreds
|
||||
key: redis-password
|
||||
|
||||
initContainers:
|
||||
init-postgresdb:
|
||||
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
|
||||
command:
|
||||
- "sh"
|
||||
- "-c"
|
||||
- "until pg_isready -U nextcloud -h ${pghost} ; do sleep 2 ; done"
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: pghost
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: plainhost
|
||||
|
||||
# -- Probe configuration
|
||||
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
|
||||
# @default -- See below
|
||||
|
@ -134,9 +113,9 @@ cronjob:
|
|||
# Enabled postgres
|
||||
postgresql:
|
||||
enabled: true
|
||||
existingSecret: "dbcreds"
|
||||
postgresqlUsername: nextcloud
|
||||
postgresqlDatabase: nextcloud
|
||||
existingSecret: dbcreds
|
||||
persistence:
|
||||
db:
|
||||
storageClass: "SCALE-ZFS"
|
|
@ -0,0 +1,25 @@
|
|||
{{/* Define the secrets */}}
|
||||
{{- define "nextcloud.secrets" -}}
|
||||
|
||||
---
|
||||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
name: rediscreds
|
||||
{{- $redisprevious := lookup "v1" "Secret" .Release.Namespace "rediscreds" }}
|
||||
{{- $redisPass := "" }}
|
||||
data:
|
||||
{{- if $redisprevious }}
|
||||
{{- $redisPass = ( index $redisprevious.data "redis-password" ) | b64dec }}
|
||||
redis-password: {{ ( index $redisprevious.data "redis-password" ) }}
|
||||
{{- else }}
|
||||
{{- $redisPass = randAlphaNum 50 }}
|
||||
redis-password: {{ $redisPass | b64enc | quote }}
|
||||
{{- end }}
|
||||
masterhost: {{ ( printf "%v-%v" .Release.Name "redis-master" ) | b64enc | quote }}
|
||||
slavehost: {{ ( printf "%v-%v" .Release.Name "redis-master" ) | b64enc | quote }}
|
||||
type: Opaque
|
||||
{{- end -}}
|
|
@ -1,5 +1,5 @@
|
|||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
{{- include "common.setup" . }}
|
||||
|
||||
{{/* Render configmap for nextcloud */}}
|
||||
{{- include "nextcloud.configmap" . }}
|
||||
|
@ -14,4 +14,4 @@
|
|||
{{- include "nextcloud.cronjob" . }}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
{{ include "common.postSetup" . }}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue