resources:
  - ../../premium/cluster-ng-executor
patches:
  - path: local-aws-credentials.yaml
  - target:
      group: apps
      version: v1
      kind: Deployment
      name: cluster-ng-executor
    patch: |-
      - op: replace
        path: /spec/strategy/rollingUpdate/maxSurge
        value: 0
      - op: replace
        path: /spec/strategy/rollingUpdate/maxUnavailable
        value: 1
generatorOptions:
  disableNameSuffixHash: true
configMapGenerator:
  - name: cluster-ng-executor-root-config
    behavior: replace
    files:
      - config.yaml
