fix: ingress port issue and cubic review

Signed-off-by: Thomas Stocker <thomas.stocker.pro@gmail.com>
This commit is contained in:
Thomas Stocker
2025-11-04 13:54:38 +01:00
committed by Bryan Frimin
parent eda00d0d65
commit f28095d8a0
3 changed files with 4 additions and 3 deletions

View File

@@ -16,7 +16,7 @@
Watch the status:
kubectl get svc --namespace {{ .Release.Namespace }} {{ include "probo.fullname" . }} -w
Once available, access the application at the EXTERNAL-IP shown
Once available, access the application at: http://<EXTERNAL-IP>:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
Application is available only within the cluster.

View File

@@ -34,7 +34,8 @@ spec:
backend:
service:
name: {{ default (include "probo.fullname" $) .backend.service.name }}
port: {{ default $.Values.service.port .backend.service.port.number }}
port:
number: {{ default $.Values.service.port .backend.service.port.number }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -62,7 +62,7 @@ data:
psql -v ON_ERROR_STOP=1 -U $POSTGRES_USER <<-EOF
ALTER USER probod WITH SUPERUSER;
ALTER USER probod PASSWORD '{{ .Values.postgresql.auth.postgresPassword }}';
ALTER USER probod PASSWORD '{{ .Values.postgresql.auth.postgresPassword | squote }}';
GRANT ALL PRIVILEGES ON DATABASE probod TO probod;
CREATE DATABASE probod_test;
GRANT ALL PRIVILEGES ON DATABASE probod_test TO probod;