diff --git a/charts/portfolio/Chart.yaml b/charts/portfolio/Chart.yaml index 53eb4e183..e964d9d2d 100644 --- a/charts/portfolio/Chart.yaml +++ b/charts/portfolio/Chart.yaml @@ -4,7 +4,7 @@ description: My personal portfolio website home: https://charts.gabe565.com/charts/portfolio icon: https://raw.githubusercontent.com/gabe565/portfolio/0f0e80ce2f29e9382a64e7fc6fe2ed1a9993971b/public/android-chrome-512x512.png type: application -version: 0.7.2 +version: 0.7.3 # renovate datasource=docker depName=ghcr.io/gabe565/portfolio appVersion: latest kubeVersion: ">=1.22.0-0" @@ -16,5 +16,5 @@ sources: - https://github.com/gabe565/portfolio annotations: artifacthub.io/changes: |- - - kind: changed - description: Clean up chart sources + - kind: removed + description: Remove old envs diff --git a/charts/portfolio/README.md b/charts/portfolio/README.md index aeb38f495..114f4ad13 100644 --- a/charts/portfolio/README.md +++ b/charts/portfolio/README.md @@ -2,7 +2,7 @@ portfolio logo -![Version: 0.7.2](https://img.shields.io/badge/Version-0.7.2-informational?style=flat) +![Version: 0.7.3](https://img.shields.io/badge/Version-0.7.3-informational?style=flat) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat) diff --git a/charts/portfolio/templates/common.yaml b/charts/portfolio/templates/common.yaml index a192e4bc4..6eb9b68ff 100644 --- a/charts/portfolio/templates/common.yaml +++ b/charts/portfolio/templates/common.yaml @@ -1,27 +1 @@ -{{/* Append the hardcoded settings */}} -{{- define "portfolio.harcodedValues" -}} -env: - {{- with .Values.ingress.main }} - {{- if .enabled }} - APP_URL: http{{ if .tls }}s{{ end }}://{{ (first .hosts).host }} - {{- end }} - {{- end }} - - {{- with .Values.postgresql }} - {{- if .enabled }} - DB_CONNECTION: pgsql - DB_HOST: {{ $.Release.Name }}-postgresql - DB_PORT: "5432" - DB_DATABASE: {{ .auth.database }} - DB_USERNAME: {{ default "postgres" .auth.username }} - DB_PASSWORD: - secretKeyRef: - name: {{ $.Release.Name }}-postgresql - key: {{ if not .auth.password }}postgres-{{ end }}password - {{- end }} - {{- end }} -{{- end -}} -{{- $_ := merge .Values (include "portfolio.harcodedValues" . | fromYaml) -}} - -{{/* Render the templates */}} {{ include "bjw-s.common.loader.all" . }}