Skip to content

Commit

Permalink
add pp website image
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Feb 27, 2024
1 parent 6279701 commit f91e10d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
20 changes: 20 additions & 0 deletions kubernetes/loculus/templates/ghcr-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,25 @@ spec:
name: ghcr-secret
type: kubernetes.io/dockerconfigjson

{{ if .Values.customWebsiteSealedSecret }}
---
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
annotations:
sealedsecrets.bitnami.com/cluster-wide: "true"
creationTimestamp: null
name: custom-website-sealed-secret
spec:
encryptedData:
.dockerconfigjson: {{ $.Values.customWebsiteSealedSecret }}
template:
metadata:
annotations:
sealedsecrets.bitnami.com/cluster-wide: "true"
creationTimestamp: null
name: custom-website-sealed-secret
type: kubernetes.io/dockerconfigjson
{{- end }}

{{- end }}
3 changes: 2 additions & 1 deletion kubernetes/loculus/templates/loculus-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
containers:
{{- if not .Values.disableWebsite }}
- name: website
image: "ghcr.io/loculus-project/website:{{ $dockerTag }}"
image: "{{ if .$Values.customWebsiteImage }}{{ .$Values.customWebsiteImage }}{{ else }}ghcr.io/loculus-project/website:{{ $dockerTag }}{{ end }}"
imagePullPolicy: Always
resources:
requests:
Expand Down Expand Up @@ -95,6 +95,7 @@ spec:

imagePullSecrets:
- name: ghcr-secret
- name: custom-website-sealed-secret
volumes:
{{ include "loculus.configVolume" (dict "name" "loculus-website-config") | nindent 8 }}
{{ include "loculus.configVolume" (dict "name" "loculus-backend-config") | nindent 8 }}
1 change: 1 addition & 0 deletions kubernetes/loculus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,4 @@ instances:
genes:
- name: OPG001
sequence: MKQYIVLACMCLVAAAMPTSLQQSSSSCTEEENKHHMGIDVIIKVTKQDQTPTNDKICQSVT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