diff --git a/charts/minio/1.7.22/.helmignore b/charts/minio/1.7.23/.helmignore similarity index 100% rename from charts/minio/1.7.22/.helmignore rename to charts/minio/1.7.23/.helmignore diff --git a/charts/minio/1.7.22/CHANGELOG.md b/charts/minio/1.7.23/CHANGELOG.md similarity index 100% rename from charts/minio/1.7.22/CHANGELOG.md rename to charts/minio/1.7.23/CHANGELOG.md diff --git a/charts/minio/1.7.22/Chart.lock b/charts/minio/1.7.23/Chart.lock similarity index 100% rename from charts/minio/1.7.22/Chart.lock rename to charts/minio/1.7.23/Chart.lock diff --git a/charts/minio/1.7.22/Chart.yaml b/charts/minio/1.7.23/Chart.yaml similarity index 97% rename from charts/minio/1.7.22/Chart.yaml rename to charts/minio/1.7.23/Chart.yaml index a1eeeb1759..3ea7fb9348 100644 --- a/charts/minio/1.7.22/Chart.yaml +++ b/charts/minio/1.7.23/Chart.yaml @@ -3,7 +3,7 @@ description: High Performance, Kubernetes Native Object Storage annotations: title: MinIO type: application -version: 1.7.22 +version: 1.7.23 apiVersion: v2 appVersion: '2023-03-13' kubeVersion: '>=1.16.0-0' diff --git a/charts/minio/1.7.22/README.md b/charts/minio/1.7.23/README.md similarity index 100% rename from charts/minio/1.7.22/README.md rename to charts/minio/1.7.23/README.md diff --git a/charts/minio/1.7.22/app-readme.md b/charts/minio/1.7.23/app-readme.md similarity index 100% rename from charts/minio/1.7.22/app-readme.md rename to charts/minio/1.7.23/app-readme.md diff --git a/charts/minio/1.7.22/charts/common-2304.0.1.tgz b/charts/minio/1.7.23/charts/common-2304.0.1.tgz similarity index 100% rename from charts/minio/1.7.22/charts/common-2304.0.1.tgz rename to charts/minio/1.7.23/charts/common-2304.0.1.tgz diff --git a/charts/minio/1.7.22/ci/https-values.yaml b/charts/minio/1.7.23/ci/https-values.yaml similarity index 100% rename from charts/minio/1.7.22/ci/https-values.yaml rename to charts/minio/1.7.23/ci/https-values.yaml diff --git a/charts/minio/1.7.22/ci/test-values.yaml b/charts/minio/1.7.23/ci/test-values.yaml similarity index 100% rename from charts/minio/1.7.22/ci/test-values.yaml rename to charts/minio/1.7.23/ci/test-values.yaml diff --git a/charts/minio/1.7.22/ix_values.yaml b/charts/minio/1.7.23/ix_values.yaml similarity index 100% rename from charts/minio/1.7.22/ix_values.yaml rename to charts/minio/1.7.23/ix_values.yaml diff --git a/charts/minio/1.7.22/migrations/migrate b/charts/minio/1.7.23/migrations/migrate similarity index 100% rename from charts/minio/1.7.22/migrations/migrate rename to charts/minio/1.7.23/migrations/migrate diff --git a/charts/minio/1.7.22/migrations/migrate_from_1.0.0 b/charts/minio/1.7.23/migrations/migrate_from_1.0.0 similarity index 100% rename from charts/minio/1.7.22/migrations/migrate_from_1.0.0 rename to charts/minio/1.7.23/migrations/migrate_from_1.0.0 diff --git a/charts/minio/1.7.22/questions.yaml b/charts/minio/1.7.23/questions.yaml similarity index 99% rename from charts/minio/1.7.22/questions.yaml rename to charts/minio/1.7.23/questions.yaml index b952854240..306da9dfbc 100644 --- a/charts/minio/1.7.22/questions.yaml +++ b/charts/minio/1.7.23/questions.yaml @@ -55,7 +55,7 @@ questions: group: "Workload Configuration" schema: type: string - default: "RollingUpdate" + default: "Recreate" enum: - value: "RollingUpdate" description: "Create new pods and then kill old ones" diff --git a/charts/minio/1.7.22/templates/NOTES.txt b/charts/minio/1.7.23/templates/NOTES.txt similarity index 100% rename from charts/minio/1.7.22/templates/NOTES.txt rename to charts/minio/1.7.23/templates/NOTES.txt diff --git a/charts/minio/1.7.22/templates/_cert.tpl b/charts/minio/1.7.23/templates/_cert.tpl similarity index 100% rename from charts/minio/1.7.22/templates/_cert.tpl rename to charts/minio/1.7.23/templates/_cert.tpl diff --git a/charts/minio/1.7.22/templates/_helpers.tpl b/charts/minio/1.7.23/templates/_helpers.tpl similarity index 100% rename from charts/minio/1.7.22/templates/_helpers.tpl rename to charts/minio/1.7.23/templates/_helpers.tpl diff --git a/charts/minio/1.7.22/templates/_logsearchapi.tpl b/charts/minio/1.7.23/templates/_logsearchapi.tpl similarity index 100% rename from charts/minio/1.7.22/templates/_logsearchapi.tpl rename to charts/minio/1.7.23/templates/_logsearchapi.tpl diff --git a/charts/minio/1.7.22/templates/_postgres.tpl b/charts/minio/1.7.23/templates/_postgres.tpl similarity index 100% rename from charts/minio/1.7.22/templates/_postgres.tpl rename to charts/minio/1.7.23/templates/_postgres.tpl diff --git a/charts/minio/1.7.22/templates/backup-postgres-config.yaml b/charts/minio/1.7.23/templates/backup-postgres-config.yaml similarity index 100% rename from charts/minio/1.7.22/templates/backup-postgres-config.yaml rename to charts/minio/1.7.23/templates/backup-postgres-config.yaml diff --git a/charts/minio/1.7.22/templates/backup-postgres-hook.yaml b/charts/minio/1.7.23/templates/backup-postgres-hook.yaml similarity index 100% rename from charts/minio/1.7.22/templates/backup-postgres-hook.yaml rename to charts/minio/1.7.23/templates/backup-postgres-hook.yaml diff --git a/charts/minio/1.7.22/templates/configmap.yaml b/charts/minio/1.7.23/templates/configmap.yaml similarity index 100% rename from charts/minio/1.7.22/templates/configmap.yaml rename to charts/minio/1.7.23/templates/configmap.yaml diff --git a/charts/minio/1.7.22/templates/deployment.yaml b/charts/minio/1.7.23/templates/deployment.yaml similarity index 94% rename from charts/minio/1.7.22/templates/deployment.yaml rename to charts/minio/1.7.23/templates/deployment.yaml index 3c90401b08..2eaee3d75c 100644 --- a/charts/minio/1.7.22/templates/deployment.yaml +++ b/charts/minio/1.7.23/templates/deployment.yaml @@ -4,12 +4,12 @@ apiVersion: {{ template "common.capabilities.deployment.apiVersion" . }} kind: Deployment metadata: - name: {{ template "common.names.fullname" . }} + name: {{ template "common.names.fullname" . }}-minio labels: app: {{ template "common.names.name" . }} - chart: {{ template "common.names.chart" . }} release: {{ .Release.Name }} - heritage: {{ .Release.Service }} + app.kubernetes.io/name: {{ template "common.names.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} annotations: rollme: {{ randAlphaNum 5 | quote }} spec: @@ -20,12 +20,12 @@ spec: matchLabels: app: {{ template "common.names.name" . }} release: {{ .Release.Name }} + app.kubernetes.io/name: {{ template "common.names.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} template: metadata: name: {{ template "common.names.fullname" . }} labels: - app: {{ template "common.names.name" . }} - release: {{ .Release.Name }} {{- include "common.labels.selectorLabels" . | nindent 8 }} annotations: {{ include "common.annotations" . | nindent 8 }} spec: @@ -43,7 +43,7 @@ spec: command: - sh - -c - - "until curl $apiURL/status; do sleep 2; done" + - "until curl --silent $apiURL/status; do sleep 2; done" {{ end }} containers: - name: {{ .Chart.Name }} diff --git a/charts/minio/1.7.22/templates/logsearchapi-deployment.yaml b/charts/minio/1.7.23/templates/logsearchapi-deployment.yaml similarity index 94% rename from charts/minio/1.7.22/templates/logsearchapi-deployment.yaml rename to charts/minio/1.7.23/templates/logsearchapi-deployment.yaml index 9a88dd46b3..abe0e2774d 100644 --- a/charts/minio/1.7.22/templates/logsearchapi-deployment.yaml +++ b/charts/minio/1.7.23/templates/logsearchapi-deployment.yaml @@ -1,6 +1,6 @@ {{ if .Values.logsearchapi.enabled }} {{ $values := (. | mustDeepCopy) }} -{{ $_ := set $values "common" (dict "nameSuffix" (include "logsearchapi.nameSuffix" .)) }} +{{ $_ := set $values "common" (dict "nameSuffix" (printf "%s-log" (include "logsearchapi.nameSuffix" .))) }} {{ $pg_values := (. | mustDeepCopy) }} {{ $_ := set $pg_values "common" (dict "nameSuffix" (include "postgres.nameSuffix" .)) }} {{ include "common.deployment.common_config" $values | nindent 0 }} diff --git a/charts/minio/1.7.22/templates/logsearchapi-secret.yaml b/charts/minio/1.7.23/templates/logsearchapi-secret.yaml similarity index 69% rename from charts/minio/1.7.22/templates/logsearchapi-secret.yaml rename to charts/minio/1.7.23/templates/logsearchapi-secret.yaml index a8a233d7e7..0478e5bc04 100644 --- a/charts/minio/1.7.22/templates/logsearchapi-secret.yaml +++ b/charts/minio/1.7.23/templates/logsearchapi-secret.yaml @@ -1,4 +1,3 @@ -{{ if .Values.logsearchapi.enabled }} {{ $logSearchValues := (. | mustDeepCopy) }} {{ $_ := set $logSearchValues "common" (dict "nameSuffix" (include "logsearchapi.nameSuffix" .)) }} @@ -20,6 +19,5 @@ data: {{ end }} queryToken: {{ $queryToken }} - logQueryURL: {{ (printf "http://%v:8080" (include "common.names.fullname" $logSearchValues)) | b64enc }} - webhookURL: {{ (printf "http://%v:8080/api/ingest?token=%v" (include "common.names.fullname" $logSearchValues) ($auditToken | b64dec)) | b64enc }} -{{ end }} + logQueryURL: {{ (printf "http://%v-log:8080" (include "common.names.fullname" $logSearchValues)) | b64enc }} + webhookURL: {{ (printf "http://%v-log:8080/api/ingest?token=%v" (include "common.names.fullname" $logSearchValues) ($auditToken | b64dec)) | b64enc }} diff --git a/charts/minio/1.7.22/templates/logsearchapi-service.yaml b/charts/minio/1.7.23/templates/logsearchapi-service.yaml similarity index 64% rename from charts/minio/1.7.22/templates/logsearchapi-service.yaml rename to charts/minio/1.7.23/templates/logsearchapi-service.yaml index f9db1a86cf..0ddfa91c4e 100644 --- a/charts/minio/1.7.22/templates/logsearchapi-service.yaml +++ b/charts/minio/1.7.23/templates/logsearchapi-service.yaml @@ -1,6 +1,8 @@ +{{ if .Values.logsearchapi.enabled }} {{ $ports := list }} {{ $ports = mustAppend $ports (dict "name" "logsearchapi-tcp" "port" 8080 "targetPort" 8080) }} {{ $values := (. | mustDeepCopy) }} -{{ $_ := set $values "common" (dict "nameSuffix" (include "logsearchapi.nameSuffix" .)) }} +{{ $_ := set $values "common" (dict "nameSuffix" (printf "%s-log" (include "logsearchapi.nameSuffix" .))) }} {{ $_1 := set $values "commonService" (dict "type" "ClusterIP" "ports" $ports ) }} {{ include "common.classes.service" $values }} +{{ end }} diff --git a/charts/minio/1.7.22/templates/postgres-deployment.yaml b/charts/minio/1.7.23/templates/postgres-deployment.yaml similarity index 88% rename from charts/minio/1.7.22/templates/postgres-deployment.yaml rename to charts/minio/1.7.23/templates/postgres-deployment.yaml index 521fd7b152..204ff44fdb 100644 --- a/charts/minio/1.7.22/templates/postgres-deployment.yaml +++ b/charts/minio/1.7.23/templates/postgres-deployment.yaml @@ -1,6 +1,6 @@ {{ if .Values.logsearchapi.enabled }} {{ $values := (. | mustDeepCopy) }} -{{ $_ := set $values "common" (dict "nameSuffix" (include "postgres.nameSuffix" .)) }} +{{ $_ := set $values "common" (dict "nameSuffix" (printf "%s-pg" (include "postgres.nameSuffix" .))) }} {{ include "common.deployment.common_config" $values | nindent 0 }} spec: replicas: {{ (default 1 .Values.replicas) }} @@ -8,6 +8,8 @@ spec: type: Recreate selector: matchLabels: + app.kubernetes.io/name: {{ template "common.names.name" $values }} + app.kubernetes.io/instance: {{ .Release.Name }}-postgres-pg app: {{ template "common.names.name" . }} release: {{ .Release.Name }} template: {{ include "common.deployment.pod.metadata" $values | nindent 4 }} diff --git a/charts/minio/1.7.22/templates/postgres-secret.yaml b/charts/minio/1.7.23/templates/postgres-secret.yaml similarity index 61% rename from charts/minio/1.7.22/templates/postgres-secret.yaml rename to charts/minio/1.7.23/templates/postgres-secret.yaml index 563c2b2d15..2d7a4fac37 100644 --- a/charts/minio/1.7.22/templates/postgres-secret.yaml +++ b/charts/minio/1.7.23/templates/postgres-secret.yaml @@ -1,4 +1,3 @@ -{{ if .Values.logsearchapi.enabled }} {{ $pgValues := (. | mustDeepCopy) }} {{ $_ := set $pgValues "common" (dict "nameSuffix" (include "postgres.nameSuffix" .)) }} @@ -17,6 +16,5 @@ data: db_user: {{ include "postgres.dbUser" . | b64enc }} db_name: {{ include "postgres.dbName" . | b64enc }} - postgresURL: {{ printf "postgres://%v:%v@%v:5432/%v?sslmode=disable" (include "postgres.dbUser" .) ($dbPass | b64dec) (include "common.names.fullname" $pgValues) (include "postgres.dbName" .) | b64enc }} - postgresHost: {{ printf "%v" (include "common.names.fullname" $pgValues) | b64enc }} -{{ end }} + postgresURL: {{ printf "postgres://%v:%v@%v-pg:5432/%v?sslmode=disable" (include "postgres.dbUser" .) ($dbPass | b64dec) (include "common.names.fullname" $pgValues) (include "postgres.dbName" .) | b64enc }} + postgresHost: {{ printf "%v-pg" (include "common.names.fullname" $pgValues) | b64enc }} diff --git a/charts/minio/1.7.22/templates/postgres-service.yaml b/charts/minio/1.7.23/templates/postgres-service.yaml similarity index 64% rename from charts/minio/1.7.22/templates/postgres-service.yaml rename to charts/minio/1.7.23/templates/postgres-service.yaml index 2bdb1e8a97..d5de40df64 100644 --- a/charts/minio/1.7.22/templates/postgres-service.yaml +++ b/charts/minio/1.7.23/templates/postgres-service.yaml @@ -1,6 +1,8 @@ +{{ if .Values.logsearchapi.enabled }} {{ $ports := list }} {{ $ports = mustAppend $ports (dict "name" "postgres-tcp" "port" 5432 "targetPort" 5432) }} {{ $values := (. | mustDeepCopy) }} -{{ $_ := set $values "common" (dict "nameSuffix" (include "postgres.nameSuffix" .)) }} +{{ $_ := set $values "common" (dict "nameSuffix" (printf "%s-pg" (include "postgres.nameSuffix" .))) }} {{ $_1 := set $values "commonService" (dict "type" "ClusterIP" "ports" $ports ) }} {{ include "common.classes.service" $values }} +{{ end }} diff --git a/charts/minio/1.7.22/templates/pre-install-job.yaml b/charts/minio/1.7.23/templates/pre-install-job.yaml similarity index 100% rename from charts/minio/1.7.22/templates/pre-install-job.yaml rename to charts/minio/1.7.23/templates/pre-install-job.yaml diff --git a/charts/minio/1.7.22/templates/secrets.yaml b/charts/minio/1.7.23/templates/secrets.yaml similarity index 100% rename from charts/minio/1.7.22/templates/secrets.yaml rename to charts/minio/1.7.23/templates/secrets.yaml diff --git a/charts/minio/1.7.22/templates/service.yaml b/charts/minio/1.7.23/templates/service.yaml similarity index 99% rename from charts/minio/1.7.22/templates/service.yaml rename to charts/minio/1.7.23/templates/service.yaml index cbb4afc3dc..8bb8fdb9d3 100644 --- a/charts/minio/1.7.22/templates/service.yaml +++ b/charts/minio/1.7.23/templates/service.yaml @@ -1,13 +1,14 @@ -{{ if eq (include "minio.hostNetworking" .) "false" }} -{{ $svc := .Values.service }} {{ $selectors := list }} {{ $selectors = mustAppend $selectors (dict "key" "app" "value" (include "common.names.name" .) ) }} {{ $selectors = mustAppend $selectors (dict "key" "release" "value" .Release.Name ) }} +{{ $_1 := set .Values "extraSelectorLabels" $selectors }} + +{{ if eq (include "minio.hostNetworking" .) "false" }} +{{ $svc := .Values.service }} {{ $ports := list }} {{ $ports = mustAppend $ports (dict "name" "api" "port" $svc.nodePort "nodePort" $svc.nodePort "targetPort" (.Values.service.nodePort | int)) }} {{ $ports = mustAppend $ports (dict "name" "console" "port" $svc.consolePort "nodePort" $svc.consolePort "targetPort" (.Values.service.consolePort | int)) }} {{ $params := . }} {{ $_ := set $params "commonService" (dict "type" "NodePort" "ports" $ports ) }} -{{ $_1 := set .Values "extraSelectorLabels" $selectors }} {{ include "common.classes.service" $params }} {{ end }} diff --git a/charts/minio/1.7.22/templates/serviceaccount.yaml b/charts/minio/1.7.23/templates/serviceaccount.yaml similarity index 100% rename from charts/minio/1.7.22/templates/serviceaccount.yaml rename to charts/minio/1.7.23/templates/serviceaccount.yaml