File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 8888
8989 # Update image in repo using kustomize
9090 - name : select-parameters
91+ serviceAccountName : argo-hub.git.0.0.2
9192 inputs :
9293 artifacts :
9394 - name : repo
@@ -151,14 +152,15 @@ spec:
151152 artifacts :
152153 - name : repo
153154 path : /tmp/repo
155+ # remove this s3 reference if using minio
154156 s3 :
155157 key : /{{ workflow.name }}/changed
156158 script :
157159 image : ubuntu:20.04
158160 command : [ bash ]
159161 source : |
160162 repo_dir="{{ inputs.artifacts.repo.path }}"
161- input_filepath="${repo_dir}/{{ inputs.parameters.TARGET_TEMPLATE_FILEPATH }}"
162- output_filepath="${repo_dir}/{{ inputs.parameters.TARGET_OUTPUT_FILEPATH }}"
163+ input_filepath="${repo_dir}/{{ inputs.parameters.SEARCH_FILE }}"
164+ output_filepath="${repo_dir}/{{ inputs.parameters.OUTPUT_FILE }}"
163165
164166 sed "s/{{ inputs.parameters.SEARCH_STRING }}/{{ inputs.parameters.SEARCH_REPLACEMENT }}/g" ${input_filepath} | tee ${output_filepath}
You can’t perform that action at this time.
0 commit comments