---
apiVersion: v1
kind: Secret
metadata:
  name: external-dns-overlay-secret
  namespace: PACKAGE_INSTALL_NAMESPACE
stringData:
  add-new-data-value-to-schema.yml: |
    #@data/values-schema
    ---
    #@overlay/match missing_ok=True
    custom_label_for_custom_overlay: ""
  add-deployment-label.yml: |
    #@ load("@ytt:overlay", "overlay")
    #@ load("@ytt:data", "data")
    #@overlay/match by=overlay.subset({"kind":"Deployment", "metadata": {"name": "external-dns", "namespace": data.values.namespace}}),expects="1+"
    ---
    metadata:
      #@overlay/match missing_ok=True
      labels:
        #@overlay/match missing_ok=True
        custom-label: #@ data.values.custom_label_for_custom_overlay
