github.com/abayer/test-infra@v0.0.5/prow/plugins/updateconfig/README.md (about)

     1  
     2  
     3  `updateconfig` allows prow to update configmaps when files in a repo change.
     4  
     5  `updateconfig` also supports glob match, or multi-key updates.
     6  
     7  ## Usage
     8  
     9  Update your `plugins.yaml` file to something along the following lines:
    10  ```
    11  plugins:
    12    my-github/repo:
    13    - config-updater
    14  
    15  config_updater:
    16    maps:
    17      # Update the thing-config configmap whenever thing changes
    18      path/to/some/other/thing:
    19        name: thing-config
    20        # Using ProwJobNamespace by default.
    21      path/to/some/other/thing2:
    22        name: thing2-config
    23        namespace: otherNamespace
    24      # Update the config configmap whenever config.yaml changes
    25      prow/config.yaml:
    26        name: config
    27      # Update the plugin configmap whenever plugins.yaml changes
    28      prow/plugins.yaml:
    29        name: plugin
    30      # Update the `this` or/and `that` key in the `data` configmap whenever `data.yaml` or/and `other-data.yaml` changes
    31      some/data.yaml:
    32        name: data
    33        key: this
    34      some/other-data.yaml
    35        name: data
    36        key: that
    37      # Update the fejtaverse configmap whenever any `.yaml` file under `fejtaverse` changes
    38      fejtaverse/**/*.yaml
    39        name: fejtaverse
    40  ```