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

View File

@@ -4,10 +4,10 @@ metadata:
name: durpapi-ingress name: durpapi-ingress
annotations: annotations:
kubernetes.io/ingress.class: nginx kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt-production cert-manager.io/cluster-issuer: {{ .Values.ingress.clusterissuer }}
spec: spec:
rules: rules:
- host: durpapi.durp.info - host: {{ .Values.ingress.host }}
http: http:
paths: paths:
- path: / - path: /
@@ -16,8 +16,8 @@ spec:
service: service:
name: durpapi name: durpapi
port: port:
number: 8080 number: http
tls: tls:
- hosts: - hosts:
- durpapi.durp.info - {{ .Values.ingress.host }}
secretName: durpapi-tls 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: spec:
ports: ports:
- name: http - name: http
port: 8080 port: {{ .Values.service.port }}
targetPort: 8080 targetPort: http
protocol: TCP protocol: TCP
selector: selector:
app: durpapi app: durpapi

View File

@@ -0,0 +1,15 @@
deployment:
replicas: 1
image: ghcr.io/developerdurp/durpapi
tag: latest
imagePullPolicy: always
secretfile: durpapi-secret
ingress:
clusterissuer: letsencrypt-production
host: durpapi.durp.info
tls: durpapi-tls
service:
type: ClusterIP
port: 8080