apiVersion: argoproj.io/v1alpha1
kind: ConfigManagementPlugin
metadata:
  name: cmp-preserve-file-mode
spec:
  version: v1.0
  generate:
    command: [sh, -c , "./script.sh"]
  discovery:
  - glob: "**/*"
  preserveFileMode: true
