fix: ingress port issue and cubic review
Signed-off-by: Thomas Stocker <thomas.stocker.pro@gmail.com>
This commit is contained in:
committed by
Bryan Frimin
parent
eda00d0d65
commit
f28095d8a0
@@ -16,7 +16,7 @@
|
|||||||
Watch the status:
|
Watch the status:
|
||||||
kubectl get svc --namespace {{ .Release.Namespace }} {{ include "probo.fullname" . }} -w
|
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 }}
|
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||||
Application is available only within the cluster.
|
Application is available only within the cluster.
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,8 @@ spec:
|
|||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: {{ default (include "probo.fullname" $) .backend.service.name }}
|
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 }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ data:
|
|||||||
|
|
||||||
psql -v ON_ERROR_STOP=1 -U $POSTGRES_USER <<-EOF
|
psql -v ON_ERROR_STOP=1 -U $POSTGRES_USER <<-EOF
|
||||||
ALTER USER probod WITH SUPERUSER;
|
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;
|
GRANT ALL PRIVILEGES ON DATABASE probod TO probod;
|
||||||
CREATE DATABASE probod_test;
|
CREATE DATABASE probod_test;
|
||||||
GRANT ALL PRIVILEGES ON DATABASE probod_test TO probod;
|
GRANT ALL PRIVILEGES ON DATABASE probod_test TO probod;
|
||||||
|
|||||||
Reference in New Issue
Block a user