Create artifacts with a script


My deployment artifacts are generated by a script for each git commit. The secrets are encrypted inside of the git commit and the configmap and ingress resources are calculated on demand. It seems hard to create a pipeline that executes a script to generate the needed yaml files for deployment. The deployment, service, cronjob, secrets and configmaps could be generates ahead of time and pushed into a storage bucket or another git repo to trigger a pipeline, but I don’t understand how to create the dynamically generated ingress resource since it combines the ingress hosts for deployment by looking at tags in their deployments. It would be great to have a script step in the pipeline.