2022-07-22 20:19:45 +00:00
|
|
|
image:
|
2023-09-24 11:16:08 +00:00
|
|
|
repository: tccr.io/truecharts/reactive-resume-client
|
2022-07-22 20:19:45 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-09-24 11:16:08 +00:00
|
|
|
tag: latest@sha256:f9d11934cb0a01f72b4aed13efdf454296e477172e14d2793d42aab9b5d46e20
|
|
|
|
serverImage:
|
|
|
|
repository: tccr.io/truecharts/reactive-resume-server
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
tag: latest@sha256:1d1b4862f77ea7cebf2df843fc61a47a0dcaf5acbd10bb65187a75d4db504774
|
|
|
|
|
2022-07-22 20:19:45 +00:00
|
|
|
securityContext:
|
2023-09-24 11:16:08 +00:00
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
2022-07-22 20:19:45 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2023-09-24 11:16:08 +00:00
|
|
|
targetPort: 3000
|
|
|
|
port: 3000
|
|
|
|
server:
|
|
|
|
enabled: true
|
|
|
|
type: ClusterIP
|
|
|
|
targetSelector: server
|
|
|
|
ports:
|
|
|
|
server:
|
|
|
|
enabled: true
|
|
|
|
port: 3100
|
|
|
|
targetSelector: server
|
|
|
|
|
|
|
|
reactiveresume:
|
|
|
|
app:
|
|
|
|
public_url: "http://localhost:{{ .Values.service.main.ports.main.targetPort }}"
|
|
|
|
google:
|
|
|
|
client_id: ""
|
|
|
|
client_secret: ""
|
|
|
|
api_key: ""
|
|
|
|
mail:
|
|
|
|
from_name: "Reactive Resume"
|
|
|
|
from_email: "noreply@rxresu.me"
|
|
|
|
host: ""
|
|
|
|
port: 587
|
|
|
|
user: ""
|
|
|
|
password: ""
|
|
|
|
storage:
|
|
|
|
bucket: ""
|
|
|
|
region: ""
|
|
|
|
endpoint: ""
|
|
|
|
url_prefix: ""
|
|
|
|
access_key: ""
|
|
|
|
secret_key: ""
|
|
|
|
# time in MS
|
|
|
|
pdf_deletion_time: 345600000
|
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
imageSelector: image
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /
|
|
|
|
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /
|
|
|
|
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
|
|
startup:
|
|
|
|
enabled: true
|
|
|
|
type: tcp
|
|
|
|
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
|
|
env:
|
|
|
|
PUBLIC_URL: "{{ .Values.reactiveresume.app.public_url }}"
|
|
|
|
PUBLIC_SERVER_URL: '{{ printf "http://%v-server:%v" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.server.ports.server.port }}'
|
|
|
|
PUBLIC_GOOGLE_CLIENT_ID: "{{ .Values.reactiveresume.google.client_id }}"
|
|
|
|
server:
|
|
|
|
enabled: true
|
|
|
|
type: Deployment
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
server:
|
|
|
|
primary: true
|
|
|
|
enabled: true
|
|
|
|
imageSelector: serverImage
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /health
|
|
|
|
port: "{{ .Values.service.server.ports.server.port }}"
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /health
|
|
|
|
port: "{{ .Values.service.server.ports.server.port }}"
|
|
|
|
startup:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /health
|
|
|
|
port: "{{ .Values.service.server.ports.server.port }}"
|
|
|
|
env:
|
|
|
|
PORT: "{{ .Values.service.server.ports.server.port }}"
|
|
|
|
PUBLIC_URL: "{{ .Values.reactiveresume.app.public_url }}"
|
|
|
|
PUBLIC_SERVER_URL: '{{ printf "http://%v-server:%v" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.server.ports.server.port }}'
|
|
|
|
# Google
|
|
|
|
PUBLIC_GOOGLE_CLIENT_ID: "{{ .Values.reactiveresume.google.client_id }}"
|
|
|
|
GOOGLE_CLIENT_SECRET: "{{ .Values.reactiveresume.google.client_secret }}"
|
|
|
|
GOOGLE_API_KEY: "{{ .Values.reactiveresume.google.api_key }}"
|
|
|
|
# Email
|
|
|
|
MAIL_FROM_NAME: "{{ .Values.reactiveresume.mail.from_name }}"
|
|
|
|
MAIL_FROM_EMAIL: "{{ .Values.reactiveresume.mail.from_email }}"
|
|
|
|
MAIL_HOST: "{{ .Values.reactiveresume.mail.host }}"
|
|
|
|
MAIL_PORT: "{{ .Values.reactiveresume.mail.port }}"
|
|
|
|
MAIL_USERNAME: "{{ .Values.reactiveresume.mail.user }}"
|
|
|
|
MAIL_PASSWORD: "{{ .Values.reactiveresume.mail.password }}"
|
|
|
|
# Storage
|
|
|
|
STORAGE_BUCKET: "{{ .Values.reactiveresume.storage.bucket }}"
|
|
|
|
STORAGE_REGION: "{{ .Values.reactiveresume.storage.region }}"
|
|
|
|
STORAGE_ENDPOINT: "{{ .Values.reactiveresume.storage.endpoint }}"
|
|
|
|
STORAGE_URL_PREFIX: "{{ .Values.reactiveresume.storage.url_prefix }}"
|
|
|
|
STORAGE_ACCESS_KEY: "{{ .Values.reactiveresume.storage.access_key }}"
|
|
|
|
STORAGE_SECRET_KEY: "{{ .Values.reactiveresume.storage.secret_key }}"
|
|
|
|
PDF_DELETION_TIME: "{{ .Values.reactiveresume.storage.pdf_deletion_time }}"
|
|
|
|
# DB
|
|
|
|
POSTGRES_DB: "{{ .Values.cnpg.main.database }}"
|
|
|
|
POSTGRES_USER: "{{ .Values.cnpg.main.user }}"
|
|
|
|
POSTGRES_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
|
|
|
POSTGRES_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: host
|
|
|
|
POSTGRES_PORT: 5432
|
|
|
|
# POSTGRES_SSL_CERT: ""
|
|
|
|
JWT_EXPIRY_TIME: 604800
|
|
|
|
JWT_SECRET:
|
|
|
|
secretKeyRef:
|
|
|
|
name: reactiveresume-secrets
|
|
|
|
key: JWT_SECRET
|
|
|
|
SECRET_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: reactiveresume-secrets
|
|
|
|
key: SECRET_KEY
|
|
|
|
|
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
database: reactiveresume
|
|
|
|
user: reactiveresume
|
2022-08-08 21:25:02 +00:00
|
|
|
|
|
|
|
portal:
|
2023-09-24 11:16:08 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|