update chart

This commit is contained in:
2023-04-09 16:21:20 -05:00
parent c28c5e1ec1
commit 58f6a47ab0
5 changed files with 27 additions and 23 deletions

View File

@@ -9,7 +9,7 @@ spec:
selector:
matchLabels:
app: durpapi
replicas: 1
replicas: {{ .Values.deployment.replicas }}
template:
metadata:
labels:
@@ -17,11 +17,11 @@ spec:
spec:
containers:
- name: durpapi
image: ghcr.io/developerdurp/durpapi:latest
imagePullPolicy: Always
image: "{{ .Values.deployment.image }}:{{ .Values.deployment.tag }}"
imagePullPolicy: {{ .Values.deployment.imagePullPolicy }}
ports:
- name: http
containerPort: 8080
containerPort: http
envFrom:
- secretRef:
name: durpapi-secret
name: {{ .Values.deployment.secretfile }}

View File

@@ -4,10 +4,10 @@ metadata:
name: durpapi-ingress
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt-production
cert-manager.io/cluster-issuer: {{ .Values.ingress.clusterissuer }}
spec:
rules:
- host: durpapi.durp.info
- host: {{ .Values.ingress.host }}
http:
paths:
- path: /
@@ -16,8 +16,8 @@ spec:
service:
name: durpapi
port:
number: 8080
number: http
tls:
- hosts:
- durpapi.durp.info
secretName: durpapi-tls
- {{ .Values.ingress.host }}
secretName: {{ .Values.ingress.tls }}

View File

@@ -1,11 +0,0 @@
apiVersion: v1
data:
OPENAI_API_KEY:
UNRAID_API_KEY:
UNRAID_URI:
jwtToken:
kind: Secret
metadata:
creationTimestamp: null
name: durpapi-secret
namespace: durpapi

View File

@@ -5,8 +5,8 @@ metadata:
spec:
ports:
- name: http
port: 8080
targetPort: 8080
port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
selector:
app: durpapi