Skip to content

Commit

Permalink
Merge pull request #286 from briefercloud/fix-chart
Browse files Browse the repository at this point in the history
fix setting wrong jupyter token when left empty by user
  • Loading branch information
vieiralucas authored Dec 10, 2024
2 parents 44e253b + 778a6e5 commit 7ace3fa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: briefer
description: The helm chart for Briefer's open-source version.
type: application
version: 0.1.5
appVersion: '0.1.5'
version: 0.1.6
appVersion: '0.1.6'
5 changes: 4 additions & 1 deletion chart/templates/jupyter-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ spec:
timeoutSeconds: 10
env:
- name: JUPYTER_TOKEN
value: "{{ .Values.api.secrets.jupyterToken }}"
valueFrom:
secretKeyRef:
name: api-secrets
key: jupyterToken
ports:
- containerPort: 8888
name: jupyter-port
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/postgres-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
namespace: briefer
namespace: '{{ .Release.Namespace }}'
name: {{ .Values.api.env.postgresHostname }}
spec:
selector:
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/postgres-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
namespace: briefer
namespace: '{{ .Release.Namespace }}'
name: briefer-postgres
spec:
serviceName: briefer-postgres-service
Expand Down
8 changes: 4 additions & 4 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ai:
image:
repository: docker.io
name: briefercloud/briefer-ai
tag: v0.0.74
tag: v0.0.77
pullPolicy: Always

resources:
Expand Down Expand Up @@ -47,7 +47,7 @@ web:
image:
repository: docker.io
name: briefercloud/briefer-web
tag: v0.0.74
tag: v0.0.77
pullPolicy: Always

# optional
Expand Down Expand Up @@ -81,7 +81,7 @@ api:
image:
repository: docker.io
name: briefercloud/briefer-api
tag: v0.0.74
tag: v0.0.77
pullPolicy: Always

resources:
Expand Down Expand Up @@ -155,7 +155,7 @@ jupyter:
image:
repository: docker.io
name: briefercloud/briefer-jupyter
tag: v0.0.66
tag: v0.0.77
pullPolicy: Always

# tolerations:
Expand Down

0 comments on commit 7ace3fa

Please sign in to comment.