apiVersion: karbon/v1alpha1
kind: Karbonfile

resources:
  ? deployment.yml

transformations:
  - filters:
      - /metadata/name: test
    patches:
      /spec/template/spec/containers/0/ports/-:
        add:
          name: http
          containerPort: 8080
      /spec/revisionHistoryLimit:
        replace: 3