Fineract-CN-Helm/fineract-cn/templates/payroll.yml [1:38]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
apiVersion: v1
kind: Service
metadata:
  name: payroll-service
  namespace: {{ .Values.namespace }}
spec:
  selector:
    app: payroll-ms
  ports:
    - port: 2031
      targetPort: 2031
  # type: LoadBalancer

---

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



kubernetes_scripts/Fineract-CN-Helm/fineract-cn/templates/payroll.yml [1:38]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
apiVersion: v1
kind: Service
metadata:
  name: payroll-service
  namespace: {{ .Values.namespace }}
spec:
  selector:
    app: payroll-ms
  ports:
    - port: 2031
      targetPort: 2031
  # type: LoadBalancer

---

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



