From de98294eb48eb8e3ac15cf66e2055e48ac4eb68b Mon Sep 17 00:00:00 2001 From: Anton Potapov <47938145+Flagro@users.noreply.github.com> Date: Sat, 2 Mar 2024 22:25:30 +0100 Subject: [PATCH] Add Kubernetes cluster domain and update ingress host*** ***Add backend, database, and nginx deployments*** ***Add persistent volumes and persistent volume claims*** ***Add secrets for database, backend, and TLS*** ***Update helm/values.yaml --- helm/values.yaml | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/helm/values.yaml b/helm/values.yaml index c8ada05..8f47cf2 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -1,5 +1,11 @@ backendConfig: environment: production + +kubernetesClusterDomain: cluster.local + +ingress: + host: api.phrinifluent.com + backendDeployment: phrinifluentBackend: image: @@ -15,19 +21,21 @@ backendDeployment: repository: ghcr.io/flagro/phrinifluentbackend tag: latest replicas: 1 + dbDeployment: phrinifluentDb: image: repository: postgres tag: latest replicas: 1 -kubernetesClusterDomain: cluster.local + nginxDeployment: nginx: image: repository: nginx tag: latest replicas: 1 + pv: dbPv: storageRequest: 5Gi @@ -35,10 +43,24 @@ pv: staticPv: storageRequest: 2Gi hostPath: /var/lib/docker/volumes/phrinifluent-static-pv/_data + pvc: dbPvc: storageRequest: 5Gi staticPvc: storageRequest: 2Gi -ingress: - host: api.phrinifluent.com + +dbSecrets: + user: "" + password: "" + dbName: "" + +backendSecrets: + secretKey: "" + adminUsername: "" + adminEmail: "" + adminPassword: "" + +tlsSecrets: + certFile: "cert.pem" + keyFile: "key.pem"