Skip to content

Commit

Permalink
Fixes (#63)
Browse files Browse the repository at this point in the history
* Remove appVersion field from Chart.yaml

* Remove default port value for PostgreSQL in values.yaml

* Update image tag default to use Chart.Version instead of AppVersion

* Set default PostgreSQL port to 5432 in run_kind_test.sh
  • Loading branch information
MartinSchmidt authored Dec 9, 2024
1 parent c60134e commit 424f29a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: project-origin-chronicler
description: A helm chart for deploying the Project Origin Chronicler
type: application
version: 0.1.0
appVersion: "0.1.0"

annotations:
artifacthub.io/containsSecurityUpdates: "false"
Expand Down
1 change: 1 addition & 0 deletions chart/run_kind_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ postgresql:
host: postgresql
database: postgres
username: postgres
port: 5432
password:
secretRef:
name: postgresql
Expand Down
4 changes: 2 additions & 2 deletions chart/templates/common/_image.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{- define "common.image" -}}
{{ $registry := .root.Values.global.imageRegistry | default .image.registry }}
{{- if $registry -}}
{{ $registry }}/{{ .image.repository }}:{{ .image.tag | default .root.Chart.AppVersion }}
{{ $registry }}/{{ .image.repository }}:{{ .image.tag | default .root.Chart.Version }}
{{- else -}}
{{ .image.repository }}:{{ .image.tag | default .root.Chart.AppVersion }}
{{ .image.repository }}:{{ .image.tag | default .root.Chart.Version }}
{{- end -}}
{{- end -}}
2 changes: 1 addition & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ postgresql:
# name:
# key:
# port defines the port of the postgresql database
port: "5432"
port:
# secretRef:
# name:
# key:
Expand Down

0 comments on commit 424f29a

Please sign in to comment.