Skip to content

Commit

Permalink
Fix more lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ReToCode committed Apr 18, 2023
1 parent d8164e8 commit 13c76e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/generate-upstream-cert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ openssl req -out "${out_dir}"/tls.csr -newkey rsa:2048 -nodes -keyout "${out_dir
openssl x509 -req -extfile <(printf "subjectAltName=DNS:%s" "$san") -days 365 -in "${out_dir}"/tls.csr -CA "${out_dir}"/root.crt -CAkey "${out_dir}"/root.key -CAcreateserial -out "${out_dir}"/tls.crt

# Override certificate in istio-system namespace with the generated CA
# Delete it first, otherwise istio reconciliation does not work propperly
# Delete it first, otherwise istio reconciliation does not work properly
kubectl delete -n ${ISTIO_NAMESPACE} secret knative-serving-certs
kubectl create -n ${ISTIO_NAMESPACE} secret generic knative-serving-certs \
--from-file=ca.crt="${out_dir}"/root.crt \
Expand Down

0 comments on commit 13c76e4

Please sign in to comment.