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

Fixed postgresql includes and templates #987

Merged
merged 4 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/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
Loading