100 lines
1.9 KiB
YAML
100 lines
1.9 KiB
YAML
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
commonLabels: {}
|
|
commonAnnotations: {}
|
|
|
|
backend:
|
|
image:
|
|
repository: harbor.dvirlabs.com/my-apps/calink-backend
|
|
tag: latest
|
|
pullPolicy: IfNotPresent
|
|
|
|
replicas: 1
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 250m
|
|
memory: 256Mi
|
|
|
|
env:
|
|
- name: DATABASE_PATH
|
|
value: "/data/app.db"
|
|
|
|
persistence:
|
|
enabled: true
|
|
storageClass: "nfs-client"
|
|
size: 1Gi
|
|
mountPath: /data
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8000
|
|
|
|
healthCheck:
|
|
path: /health
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 30
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: "traefik"
|
|
annotations:
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
hosts:
|
|
- host: api-calink.dvirlabs.com
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- secretName: api-calink-tls
|
|
hosts:
|
|
- api-calink.dvirlabs.com
|
|
|
|
frontend:
|
|
image:
|
|
repository: harbor.dvirlabs.com/my-apps/calink-frontend
|
|
tag: latest
|
|
pullPolicy: IfNotPresent
|
|
|
|
replicas: 1
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 200m
|
|
memory: 256Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
|
|
healthCheck:
|
|
path: /
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 30
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: "traefik"
|
|
annotations:
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
hosts:
|
|
- host: calink.dvirlabs.com
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- secretName: calink-tls
|
|
hosts:
|
|
- calink.dvirlabs.com
|