Skip to content

Commit

Permalink
Add Kubernetes cluster domain and update ingress host***
Browse files Browse the repository at this point in the history
***Add backend, database, and nginx deployments***

***Add persistent volumes and persistent volume claims***

***Add secrets for database, backend, and TLS***

***Update helm/values.yaml
  • Loading branch information
Flagro committed Mar 2, 2024
1 parent 685e85b commit de98294
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions helm/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
backendConfig:
environment: production

kubernetesClusterDomain: cluster.local

ingress:
host: api.phrinifluent.com

backendDeployment:
phrinifluentBackend:
image:
Expand All @@ -15,30 +21,46 @@ 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
hostPath: /var/lib/docker/volumes/phrinifluent-db-pv/_data
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"

0 comments on commit de98294

Please sign in to comment.