Add k3s Helm charts for Opus API and TeX Live API

This commit is contained in:
Solaria
2026-03-14 23:32:38 +00:00
parent 1a627dc099
commit 1b94a71f02
7 changed files with 215 additions and 0 deletions
@@ -0,0 +1,36 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}
labels:
app: texlive-api
spec:
replicas: {{ .Values.replicas | default 1 }}
selector:
matchLabels:
app: texlive-api
template:
metadata:
labels:
app: texlive-api
spec:
containers:
- name: texlive
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default "latest" }}"
ports:
- containerPort: {{ .Values.service.port | default 8080 }}
resources:
{{- toYaml .Values.resources | nindent 10 }}
---
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-service
spec:
selector:
app: texlive-api
ports:
- protocol: TCP
port: {{ .Values.service.port | default 8080 }}
targetPort: {{ .Values.service.port | default 8080 }}
type: {{ .Values.service.type | default "ClusterIP" }}