Fineract-CN-Helm/fineract-cn/templates/postgres.yml [32:70]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---

apiVersion: v1
kind: Service
metadata:
  name: postgresdb-cluster
  namespace: {{ .Values.namespace }}
spec:
  selector:
    app: postgresdb
  ports:
  - port: 5432
    targetPort: 5432
  # type: LoadBalancer

---

apiVersion: apps/v1
kind: Deployment
metadata:
  name: postgresdb-cluster
  namespace: {{ .Values.namespace }}
spec:
  replicas: 1
  selector:
    matchLabels:
      app: postgresdb
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: postgresdb
    spec:
      containers:
        - image: postgres:9.5
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



kubernetes_scripts/Fineract-CN-Helm/fineract-cn/templates/postgres.yml [30:68]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---

apiVersion: v1
kind: Service
metadata:
  name: postgresdb-cluster
  namespace: {{ .Values.namespace }}
spec:
  selector:
    app: postgresdb
  ports:
  - port: 5432
    targetPort: 5432
  # type: LoadBalancer

---

apiVersion: apps/v1
kind: Deployment
metadata:
  name: postgresdb-cluster
  namespace: {{ .Values.namespace }}
spec:
  replicas: 1
  selector:
    matchLabels:
      app: postgresdb
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: postgresdb
    spec:
      containers:
        - image: postgres:9.5
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



