update chart
This commit is contained in:
@@ -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 }}
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
@@ -5,8 +5,8 @@ metadata:
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
port: {{ .Values.service.port }}
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: durpapi
|
||||
Reference in New Issue
Block a user