Skip to content

Commit

Permalink
Merge pull request #3514 from jinrenjie/master
Browse files Browse the repository at this point in the history
examples: optimize --dry-run flag
  • Loading branch information
jedevc authored Jan 18, 2023
2 parents 1a76376 + 2f28a75 commit c3eddbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/kubernetes/create-certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ mkdir -p $DIR ${DIR}/daemon ${DIR}/client
cp -f rootCA.pem client/ca.pem
rm -f rootCA.pem rootCA-key.pem

kubectl create secret generic ${PRODUCT}-daemon-certs --dry-run -o yaml --from-file=./daemon >${PRODUCT}-daemon-certs.yaml
kubectl create secret generic ${PRODUCT}-client-certs --dry-run -o yaml --from-file=./client >${PRODUCT}-client-certs.yaml
kubectl create secret generic ${PRODUCT}-daemon-certs --dry-run=client -o yaml --from-file=./daemon >${PRODUCT}-daemon-certs.yaml
kubectl create secret generic ${PRODUCT}-client-certs --dry-run=client -o yaml --from-file=./client >${PRODUCT}-client-certs.yaml
)

0 comments on commit c3eddbf

Please sign in to comment.