apiVersion: karbon/v1alpha1
kind: Karbonfile

resources:
 ? ../../base/karbon.yml
 ? service.yml
 ? ingress.yml

transformations:
  - filters:
      - /kind: Deployment
        /metadata/name: test-web
    patches:
      /spec/template/spec/containers/0/ports/-:
        add:
          name: http
          containerPort: 8080
      /spec/revisionHistoryLimit:
        add: 3
      /spec/strategy/rollingUpdate/maxUnavailable:
        add: 0
      /spec/strategy/rollingUpdate/maxSurge:
        add: 50%