Skip to content

Commit

Permalink
Fix bug in promote secret
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMisencik authored Dec 13, 2022
1 parent 9216e1b commit e552964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions propagate_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo "secrets_promotion: $5"

if [ "$5" == "false" ]
then
rsync -avc --del --exclude='*-secret.yaml' --exclude="$1-values.yaml" --exclude="$2-values.yaml" --exclude='develop-values.yaml' $3/$1/$4/ $3/$2/$4
rsync -avc --del --exclude='*-secret.yaml' --exclude="$1-values.yaml" --exclude="$2-values.yaml" --exclude='development-values.yaml' $3/$1/$4/ $3/$2/$4
else
rsync -avc --del --exclude="$1-values.yaml" --exclude="$2-values.yaml" --exclude='develop-values.yaml' $3/$1/$4/ $3/$3/$4
rsync -avc --del --exclude="$1-values.yaml" --exclude="$2-values.yaml" --exclude='development-values.yaml' $3/$1/$4/ $3/$2/$4
fi

0 comments on commit e552964

Please sign in to comment.