Skip to content

Commit

Permalink
Merge pull request #987 from rhizoet/main
Browse files Browse the repository at this point in the history
Fixed postgresql includes and templates
  • Loading branch information
christianhuth authored Oct 3, 2023
2 parents e9a9dd6 + 8648302 commit 0eeeee1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
8 changes: 5 additions & 3 deletions charts/shlink-backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: shlink-backend
description: A PHP-based self-hosted URL shortener that can be used to serve shortened URLs under your own domain.
type: application
version: 2.12.3
appVersion: "3.6.3"
version: 2.12.4
appVersion: "3.6.4"
home: https://github.com/christianknell/helm-charts
icon: https://shlink.io/images/shlink-logo-blue.svg
maintainers:
Expand Down Expand Up @@ -36,4 +36,6 @@ dependencies:
annotations:
artifacthub.io/changes: |
- kind: changed
description: bumped chart version of postgresql to 12.12.10
description: bumped image version to 3.6.4
- kind: fixed
description: postgresql includes and templates
2 changes: 1 addition & 1 deletion charts/shlink-backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The command removes all the Kubernetes components associated with the chart and
| fullnameOverride | string | `""` | String to fully override `"shlink-backend.fullname"` |
| image.pullPolicy | string | `"Always"` | image pull policy |
| image.repository | string | `"shlinkio/shlink"` | image repository |
| image.tag | string | `"3.6.3"` | Overrides the image tag |
| image.tag | string | `"3.6.4"` | Overrides the image tag |
| imagePullSecrets | list | `[]` | If defined, uses a Secret to pull an image from a private Docker registry or repository. |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
Expand Down
12 changes: 6 additions & 6 deletions charts/shlink-backend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,18 @@ spec:
- name: DB_DRIVER
value: postgres
- name: DB_HOST
value: {{ include "postgresql.primary.fullname" .Subcharts.postgresql }}
value: {{ include "postgresql.v1.primary.fullname" .Subcharts.postgresql }}
- name: DB_PORT
value: {{ include "postgresql.service.port" .Subcharts.postgresql | quote }}
value: {{ include "postgresql.v1.service.port" .Subcharts.postgresql | quote }}
- name: DB_NAME
value: {{ include "postgresql.database" .Subcharts.postgresql }}
value: {{ include "postgresql.v1.database" .Subcharts.postgresql }}
- name: DB_USER
value: {{ include "postgresql.username" .Subcharts.postgresql }}
value: {{ include "postgresql.v1.username" .Subcharts.postgresql }}
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: {{ template "postgresql.secretName" .Subcharts.postgresql }}
key: {{ template "postgresql.userPasswordKey" .Subcharts.postgresql }}
name: {{ template "postgresql.v1.secretName" .Subcharts.postgresql }}
key: {{ template "postgresql.v1.userPasswordKey" .Subcharts.postgresql }}
{{- end }}
# RabbitMQ Settings
{{- if .Values.rabbitmq.enabled }}
Expand Down
2 changes: 1 addition & 1 deletion charts/shlink-backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ image:
# -- image pull policy
pullPolicy: Always
# -- Overrides the image tag
tag: "3.6.3"
tag: "3.6.4"

# -- If defined, uses a Secret to pull an image from a private Docker registry or repository.
imagePullSecrets: []
Expand Down

0 comments on commit 0eeeee1

Please sign in to comment.