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

---

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



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

---

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



