apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://git.cloudsolutions.com.sa/Ishrath.Ahamed/CENTRAL-BASE-REPO/security/securityiamcache

patchesStrategicMerge:
- patch-hpa.yaml

images:
- name: harbor.moh.gov.sa/vidamoh/jboss-infinispan-server
  newName: registry.cloudsolutions.com.sa/vida-qa/jboss-infinispan-server
  newTag: 9.4.8.Final

patchesJson6902:
- target:
    group: apps
    version: v1
    kind: StatefulSet
    name: infinispan-server
    namespace: moh-prod
  patch: |
    - op: add
      path: /spec/template/spec/tolerations
      value:
        - key: "treat"
          operator: "Equal"
          value: "core"
          effect: "NoSchedule"

namespace: csi-uat