Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventTrigger: referenced resource names as template #223

Merged
merged 1 commit into from
Jul 18, 2024

Commits on Jul 18, 2024

  1. EventTrigger: referenced resource names as template

    EventTrigger can reference resources in the PolicyRefs section:
    
    - namespace of each of those resources can either be set or left
    empty (in which case the cluster's namespace will be used);
    - name of each of those resources can be expressed as a template
    using `.Cluster.metadata.namespace`, `.Cluster.metadata.name` and
    `.Cluster.metedata.kind`
    
    HelmCharts are also instantiated. If an Helm chart is referencing
    one or more ConfigMap/Secret instances via ValuesFrom, those are
    instantiated if referenced resource contains the annotation
    `projectsveltos.io/template`
    
    Same applies to KustomizationRefs, which are also instantiated.
    If a KustomizationRef is referencing one or more ConfigMap/Secret
    instances via ValuesFrom, those are instantiated if referenced
    resource contains the annotation `projectsveltos.io/template`
    mgianluc committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    f137e05 View commit details
    Browse the repository at this point in the history