Skip to content

Commit

Permalink
fix delete command in prune config-maps tempalate
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Cerven <rcerven@redhat.com>
  • Loading branch information
rcerven committed Jan 13, 2021
1 parent e805fa2 commit f39351b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/prune-config-maps.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ echo
count=$(wc -l <<<${old_config_maps})
echo "SUMMARY: ${count} ConfigMaps will be removed"

echo ${old_config_maps} | xargs -n 10 $OC configmap pod
echo ${old_config_maps} | xargs -n 10 $OC delete configmap

0 comments on commit f39351b

Please sign in to comment.