replicaCount: 1 serviceAccount: create: false annotations: {} name: "" ingress: ssl: false className: "" annotations: nginx.ingress.kubernetes.io/rewrite-target: /$2 nginx.ingress.kubernetes.io/ssl-redirect: "false" nginx.ingress.kubernetes.io/use-regex: "true" hosts: - host: kube-exam.local paths: - path: /()(.*) pathType: ImplementationSpecific name: "client" port: 8080 - path: /api(/|$)(.*) pathType: ImplementationSpecific name: "api" port: 5000 tls: [] # - secretName: chart-example-tls # hosts: # - chart-example.local resources: {} nodeSelector: {} tolerations: [] affinity: {} # TODO: merge with deployments services: - api: name: "api" tier: "backend" port: 5000 target: 0 type: ClusterIP - postgres: name: "db" tier: "backend" port: 5432 target: 0 type: ClusterIP - client: name: "client" tier: "frontend" port: 8080 target: 80 type: ClusterIP secrets: password: "username" username: "password1234" pvc: class: manual request: 1Gi deployments: - api: name: "api" tier: "backend" env: nonsecrets: app-settings: src.config.ProductionConfig database-url: postgresql://$(POSTGRES_USER):$(POSTGRES_PASS)@api-db/$(POSTGRES_DB) port: "5000" postgres-db: api-db secrets: postgres-password: password postgres-user: username image: repository: api tag: prod port: 5000 replicas: 3 - client: tier: "frontend" name: "client" image: repository: client tag: prod port: 8080 replicas: 1 - db: tier: "backend" name: "db" env: nonsecrets: pgdata: /var/lib/postgresql/data/pgdata postgresDb: db image: repository: db tag: 13.3 port: 5432 replicas: 1 mountPath: /var/lib/postgresql/data storage: postgres-pv-storage