File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 88
88
89
89
# Update image in repo using kustomize
90
90
- name : select-parameters
91
+ serviceAccountName : argo-hub.git.0.0.2
91
92
inputs :
92
93
artifacts :
93
94
- name : repo
@@ -151,14 +152,15 @@ spec:
151
152
artifacts :
152
153
- name : repo
153
154
path : /tmp/repo
155
+ # remove this s3 reference if using minio
154
156
s3 :
155
157
key : /{{ workflow.name }}/changed
156
158
script :
157
159
image : ubuntu:20.04
158
160
command : [ bash ]
159
161
source : |
160
162
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 }}"
163
165
164
166
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