Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Helm release postgresql to v12.12.4 #979

Merged
merged 6 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions charts/kutt/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: kutt
description: Kutt is a free modern URL shortener.
type: application
version: 3.0.0
version: 3.1.0
appVersion: "v2.7.4"
home: https://github.com/christianknell/helm-charts
icon: https://www.saashub.com/images/app/service_logos/15/d634f2359578/large.png
Expand All @@ -14,7 +14,7 @@ sources:
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 12.10.0
version: 12.12.10
condition: postgresql.enabled
- name: redis
repository: https://charts.bitnami.com/bitnami
Expand All @@ -23,7 +23,9 @@ dependencies:
annotations:
artifacthub.io/changes: |
- kind: changed
description: bumped dependency of redis to chart 18.0.4
description: bumped dependency of postgresql to chart 12.12.10
- kind: fixed
description: wrong template name for postgresql dependency
artifacthub.io/screenshots: |
- title: Simply shorten your link using the Web UI.
url: https://d4.alternativeto.net/v9sHosD3RiPblfBOOHZi0gwU1M0pRL6Jn53oiobJi9k/rs:fit:1200:1200:0/g:ce:0:0/YWJzOi8vZGlzdC9zL2t1dHQtaXRfNzY3MjMzX2Z1bGwucG5n.jpg
Expand Down
12 changes: 6 additions & 6 deletions charts/kutt/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Return the hostname of the postgresql to use
*/}}
{{- define "kutt.postgresql.hostname" -}}
{{- if .Values.postgresql.enabled -}}
{{- printf "%s" (include "postgresql.primary.fullname" .Subcharts.postgresql) -}}
{{- printf "%s" (include "postgresql.v1.primary.fullname" .Subcharts.postgresql) -}}
{{- else -}}
{{- printf "%s" (tpl .Values.externalPostgresql.hostname $) -}}
{{- end -}}
Expand All @@ -77,7 +77,7 @@ Return postgresql service port
*/}}
{{- define "kutt.postgresql.port" -}}
{{- if .Values.postgresql.enabled -}}
{{- printf "%s" (include "postgresql.service.port" .Subcharts.postgresql) -}}
{{- printf "%s" (include "postgresql.v1.service.port" .Subcharts.postgresql) -}}
{{- else -}}
{{- printf "%s" (tpl (toString .Values.externalPostgresql.port) $) -}}
{{- end -}}
Expand All @@ -88,7 +88,7 @@ Return the name for the database to use
*/}}
{{- define "kutt.postgresql.database" -}}
{{- if .Values.postgresql.enabled -}}
{{- printf "%s" (include "postgresql.database" .Subcharts.postgresql) -}}
{{- printf "%s" (include "postgresql.v1.database" .Subcharts.postgresql) -}}
{{- else -}}
{{- printf "%s" (tpl .Values.externalPostgresql.auth.database $) -}}
{{- end -}}
Expand All @@ -99,7 +99,7 @@ Return the name for the user to use
*/}}
{{- define "kutt.postgresql.username" -}}
{{- if .Values.postgresql.enabled -}}
{{- printf "%s" (include "postgresql.username" .Subcharts.postgresql) -}}
{{- printf "%s" (include "postgresql.v1.username" .Subcharts.postgresql) -}}
{{- else -}}
{{- printf "%s" (tpl .Values.externalPostgresql.auth.username $) -}}
{{- end -}}
Expand All @@ -110,7 +110,7 @@ Get the name of the secret containing the postgresql user password
*/}}
{{- define "kutt.postgresql.secretName" -}}
{{- if .Values.postgresql.enabled -}}
{{- printf "%s" (include "postgresql.secretName" .Subcharts.postgresql) -}}
{{- printf "%s" (include "postgresql.v1.secretName" .Subcharts.postgresql) -}}
{{- else if .Values.externalPostgresql.auth.existingSecret -}}
{{- printf "%s" (tpl .Values.externalPostgresql.auth.existingSecret $) -}}
{{- else -}}
Expand All @@ -123,7 +123,7 @@ Get the user-password key for the postgresql user password
*/}}
{{- define "kutt.postgresql.userPasswordKey" -}}
{{- if .Values.postgresql.enabled -}}
{{- printf "%s" (include "postgresql.userPasswordKey" .Subcharts.postgresql) -}}
{{- printf "%s" (include "postgresql.v1.userPasswordKey" .Subcharts.postgresql) -}}
{{- else if .Values.externalPostgresql.auth.userPasswordKey -}}
{{- printf "%s" (tpl .Values.externalPostgresql.auth.userPasswordKey $) -}}
{{- else -}}
Expand Down
Loading