apiVersion: apps/v1
kind: Deployment
metadata:
  name: simple-deployment
spec:
  template:
    spec:
      containers:
      - name: simple-app
        env:
        - $patch: replace
        - name: my_replaced_key
          value: My new patched value
        - $patch: delete
          name: key_todel
        - name: my_patched_key
          value: "true"
