minio - replace boilerplate with template

This commit is contained in:
Stavros kois
2023-11-06 19:59:08 +02:00
committed by Stavros Kois
parent 3b3ac17e2b
commit 023efa307b
5 changed files with 10 additions and 43 deletions

View File

@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: file://../../../common
version: 1.1.1
digest: sha256:a7dbe3e4d42dbcd4325776e5e01a1d630c7f185f79e7ebf22b1b9cc80f56eed7
generated: "2023-10-17T14:47:42.90364877+03:00"
version: 1.2.1
digest: sha256:d695592ea5213fe64453171205ca326015d02df3888a7858becc0c733b0de4c7
generated: "2023-11-06T19:57:33.464810233+02:00"

View File

@@ -3,7 +3,7 @@ description: High Performance, Kubernetes Native Object Storage
annotations:
title: MinIO
type: application
version: 1.0.22
version: 1.0.23
apiVersion: v2
appVersion: '2023-03-24'
kubeVersion: '>=1.16.0-0'
@@ -14,7 +14,7 @@ maintainers:
dependencies:
- name: common
repository: file://../../../common
version: 1.1.1
version: 1.2.1
home: https://min.io
icon: https://media.sys.truenas.net/apps/minio/icons/icon.png
sources:

View File

@@ -4,45 +4,12 @@ workload:
{{/* Service */}}
service:
postgres:
enabled: true
type: ClusterIP
targetSelector: postgres
ports:
postgres:
enabled: true
primary: true
port: 5432
targetSelector: postgres
{{- include "ix.v1.common.app.postgresService" $ | nindent 2 }}
{{/* Persistence */}}
persistence:
postgresdata:
enabled: true
type: {{ .Values.minioLogging.logsearch.pgData.type }}
datasetName: {{ .Values.minioLogging.logsearch.pgData.datasetName | default "" }}
hostPath: {{ .Values.minioLogging.logsearch.pgData.hostPath | default "" }}
targetSelector:
# Postgres pod
postgres:
# Postgres container
postgres:
mountPath: /var/lib/postgresql/data
# Permissions container
permissions:
mountPath: /mnt/directories/postgres_data
postgresbackup:
enabled: true
type: {{ .Values.minioLogging.logsearch.pgBackup.type }}
datasetName: {{ .Values.minioLogging.logsearch.pgBackup.datasetName | default "" }}
hostPath: {{ .Values.minioLogging.logsearch.pgBackup.hostPath | default "" }}
targetSelector:
# Postgres backup pod
postgresbackup:
# Postgres backup container
postgresbackup:
mountPath: /postgres_backup
# Permissions container
permissions:
mountPath: /mnt/directories/postgres_backup
{{- include "ix.v1.common.app.postgresPersistence"
(dict "pgData" .Values.minioLogging.logsearch.pgData
"pgBackup" .Values.minioLogging.logsearch.pgBackup
) | nindent 2 }}
{{- end -}}