bitops
bitops copied to clipboard
helm copy default before and after scripts
https://github.com/bitovi/bitops/blob/master/scripts/helm/copy-defaults.sh
should copy default/helm/<chart>/bitops.before-deploy.d
and default/helm/<chart>/bitops.after-deploy.d
Two things;
- When does
default/helm/*charts*/bitops.<before|after>-deploy.d
get used? I haven't seen this pattern before.. - Does this line in the
copy-defaults.sh
file not recursively copy anything in the OpsRepo chart?
https://github.com/bitovi/bitops/pull/126
When does default/helm/charts/bitops.<before|after>-deploy.d get used? I haven't seen this pattern before..
similar to before/after scripts for ansible. they get used during the deployment of a chart.
here: https://github.com/bitovi/bitops/blob/master/scripts/helm/helm_handle_chart.sh#L33 and here: https://github.com/bitovi/bitops/blob/master/scripts/helm/helm_handle_chart.sh#L102
Does this line in the copy-defaults.sh file not recursively copy anything in the OpsRepo chart?
that's for subcharts (i.e. opsrepo/<env>/helm/chartA/charts
) which is different from before/after scripts (i.e. opsrepo/<env>/helm/chartA/bitops.(before|after)-deploy.d
@shyamrayaprolu I believe you fixed this in the V2 plugin?
@PhillypHenning - yes, this is fixed