Skip to content

Commit

Permalink
squashme: add amalthea session cache config
Browse files Browse the repository at this point in the history
  • Loading branch information
olevski committed Oct 23, 2024
1 parent f291c6e commit d1148fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helm-chart/renku/templates/notebooks/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ spec:
value: {{ .Values.amalthea.crdApiVersion }}
- name: K8S_WATCHER_CR_PLURAL
value: {{ .Values.amalthea.crdNames.plural }}
- name: K8S_WATCHER_AMALTHEA_SESSION_GROUP
value: amalthea.dev
- name: K8S_WATCHER_AMALTHEA_SESSION_VERSION
value: v1alpha1
- name: K8S_WATCHER_AMALTHEA_SESSION_PLURAL
value: amaltheasessions
- name: K8S_WATCHER_NAMESPACES
{{ if .Values.notebooks.sessionsNamespace }}
value: {{ list .Release.Namespace .Values.notebooks.sessionsNamespace | uniq | toJson | quote }}
Expand Down
4 changes: 4 additions & 0 deletions helm-chart/renku/templates/notebooks/network-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ spec:
matchLabels:
app: {{ template "renku.notebooks.name" . }}
release: {{ .Release.Name }}
- podSelector:
matchLabels:
app: renku-data-service
release: {{ .Release.Name }}
ports:
- protocol: TCP
port: http
Expand Down

0 comments on commit d1148fa

Please sign in to comment.