88 lines
2.0 KiB
YAML
88 lines
2.0 KiB
YAML
# Basic configuration values for IP Calculator application
|
|
|
|
# Application metadata
|
|
app:
|
|
name: ipify
|
|
version: "1.0.0"
|
|
description: "IP Subnet Calculator with React + Vite frontend and FastAPI backend"
|
|
|
|
# Backend configuration
|
|
backend:
|
|
name: ipify-backend
|
|
replicaCount: 1
|
|
image:
|
|
repository: harbor.dvirlabs.com/my-apps/ipify-backend
|
|
pullPolicy: Always
|
|
tag: master-894b429
|
|
service:
|
|
type: ClusterIP
|
|
port: 8000
|
|
targetPort: 8000
|
|
resources:
|
|
limits:
|
|
cpu: "500m"
|
|
memory: "512Mi"
|
|
requests:
|
|
cpu: "250m"
|
|
memory: "256Mi"
|
|
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-ipify.dvirlabs.com
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- secretName: api-ipify-tls
|
|
hosts:
|
|
- api-ipify.dvirlabs.com
|
|
|
|
# Frontend configuration
|
|
frontend:
|
|
name: ipify-frontend
|
|
replicaCount: 1
|
|
image:
|
|
repository: harbor.dvirlabs.com/my-apps/ipify-frontend
|
|
pullPolicy: Always
|
|
tag: master-67d217c
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
targetPort: 80
|
|
resources:
|
|
limits:
|
|
cpu: "200m"
|
|
memory: "256Mi"
|
|
requests:
|
|
cpu: "100m"
|
|
memory: "128Mi"
|
|
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: ipify.dvirlabs.com
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- secretName: ipify-tls
|
|
hosts:
|
|
- ipify.dvirlabs.com
|
|
|
|
# Environment variables
|
|
env:
|
|
backendUrl: "https://api-ipify.dvirlabs.com"
|
|
|
|
# Ingress configuration (kept for compatibility)
|
|
ingress:
|
|
enabled: false
|