You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch introduces a mechanism to run an arbitrary script on the
`edpm_deploy_prep` target after the `kustomization.yaml` file has been
created by the `gen-edpm-kustomize.sh` script.
This provides a flexible mechanism to modify things in the kustomization
that are not currently possible.
An example is to use a different ansible host for deployment than the IP
that will be used as the `ctlplane` network IP.
The variable used to define the location of the script is
`EDPM_POST_GEN_SCRIPT`.
Example of usage:
```
$ make edpm_deploy \
DATAPLANE_POST_GEN_SCRIPT="$(realpath ./scripts/change-ansible-hosts.sh)"
```
And the contents of `change-ansible-hosts.sh` are:
```
sed -i "s/value: 192.168.122.100/value: 192.168.1.13/" kustomization.yaml
```
0 commit comments