Skip to content

Commit

Permalink
Don't fail when remove not existing secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Mao-hsiang Lien committed Jan 6, 2022
1 parent d998bd8 commit 06d6f15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/run_kops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,10 @@
if [ -n "${BOTO_PROFILE}" ]; then
export AWS_PROFILE="{{ kops_aws_profile | default('') }}";
fi
# Don't fail to remove no exist secret
kops delete secret secret dockerconfig \
--state s3://{{ cluster.s3_bucket_name }} \
--name {{ cluster.name }}
--name {{ cluster.name }} || true
args:
executable: bash
environment:
Expand Down

0 comments on commit 06d6f15

Please sign in to comment.