Skip to content

Commit 0f225f0

Browse files
committed
fix chart issues
1 parent 26f36ac commit 0f225f0

4 files changed

Lines changed: 5 additions & 38 deletions

File tree

charts/marmot/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: marmot
33
description: Marmot is an open-source data catalog that helps teams discover, understand, and govern their data assets. It's designed for modern data ecosystems where data flows through multiple systems, formats, and teams.
44
type: application
5-
version: 0.1.1
6-
appVersion: "0.1.0"
5+
version: 0.2.0
6+
appVersion: "0.2.0"
77
home: https://github.com/marmotdata/marmot
88
sources:
99
- https://github.com/marmotdata/marmot

charts/marmot/templates/NOTES.txt

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,4 @@
22
⚠️ WARNING: You are using the embedded PostgreSQL database.
33
⚠️ This is NOT recommended for production use!
44
⚠️ For production deployments, please use an external PostgreSQL instance.
5-
6-
PostgreSQL Database Information:
7-
- Host: {{ include "marmot.fullname" . }}-postgresql
8-
- Port: 5432
9-
- Database: {{ .Values.postgresql.auth.database }}
10-
- Username: {{ .Values.postgresql.auth.username }}
11-
12-
To get the PostgreSQL password, run:
13-
export POSTGRES_PASSWORD=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ include "marmot.fullname" . }}-postgresql -o jsonpath="{.data.postgres-password}" | base64 -d)
14-
15-
{{- end }}
16-
17-
1. Get the application URL by running these commands:
18-
{{- if .Values.ingress.enabled }}
19-
{{- range $host := .Values.ingress.hosts }}
20-
{{- range .paths }}
21-
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }}
22-
{{- end }}
23-
{{- end }}
24-
{{- else if contains "NodePort" .Values.service.type }}
25-
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "marmot.fullname" . }})
26-
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
27-
echo http://$NODE_IP:$NODE_PORT
28-
{{- else if contains "LoadBalancer" .Values.service.type }}
29-
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
30-
You can watch its status by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "marmot.fullname" . }}'
31-
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "marmot.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
32-
echo http://$SERVICE_IP:{{ .Values.service.port }}
33-
{{- else if contains "ClusterIP" .Values.service.type }}
34-
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "marmot.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
35-
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
36-
echo "Visit http://127.0.0.1:8080 to use your application"
37-
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT
385
{{- end }}

charts/marmot/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ spec:
9393
valueFrom:
9494
secretKeyRef:
9595
name: {{ include "marmot.fullname" . }}-postgresql
96-
key: postgres-password
96+
key: password
9797
{{- else if .Values.config.database.passwordSecretRef }}
9898
{{- if and .Values.config.database.password .Values.config.database.passwordSecretRef }}
9999
{{- fail "Cannot specify both config.database.password and config.database.passwordSecretRef" }}

charts/marmot/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replicaCount: 1
66
image:
77
repository: ghcr.io/marmotdata/marmot
88
pullPolicy: IfNotPresent
9-
tag: "0.1.0"
9+
tag: "0.2"
1010

1111
imagePullSecrets: []
1212
nameOverride: ""
@@ -36,7 +36,7 @@ securityContext:
3636

3737
service:
3838
type: ClusterIP
39-
port: 80
39+
port: 8080
4040
targetPort: 8080
4141

4242
ingress:

0 commit comments

Comments
 (0)