Ran automattic formatting

Triggered with `hatch run test`
This commit is contained in:
P.J. Finlay 2023-09-16 17:37:03 -05:00
parent 830e168fec
commit e2711bd2a0
3 changed files with 6 additions and 6 deletions

View file

@ -33,7 +33,7 @@
# this will add an api key with a limit of 120 requests per minute
kubectl exec -it {{ include "libretranslate.fullname" . }}-0 -c {{ include "libretranslate.fullname" . }} -- /bin/bash -c "source ./venv/bin/activate && ltmanage keys add --key req-limit-120 120"
# returns a list of all api keys
kubectl exec -it {{ include "libretranslate.fullname" . }}-0 -c {{ include "libretranslate.fullname" . }} -- /bin/bash -c "source ./venv/bin/activate && ltmanage keys"

View file

@ -20,7 +20,7 @@ spec:
{{- toYaml .Values.podAnnotations | nindent 8 }}
{{- end }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
labels:
{{- include "libretranslate.selectorLabels" . | nindent 8 }}
spec:
@ -294,12 +294,12 @@ spec:
- name: db-volume
persistentVolumeClaim:
claimName: db-volume
{{- end }}
{{- end }}
{{- if eq .Values.persistence.models.accessMode "ReadWriteMany" }}
- name: models-volume
persistentVolumeClaim:
claimName: models-volume
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:

View file

@ -115,11 +115,11 @@ livenessProbe:
periodSeconds: 5
# Auth secret for basic authentication
# generate base64-user-password-pair with:
# generate base64-user-password-pair with:
# htpasswd -nb <username> <password> | base64
#
# e.g.:
#
#
# htpasswd -nb admin mySecretPassword | base64
# This is used by the nginx ingress controller to enable basic auth for the whole site.
# It will create a secret with the name libretranslate-auth.