We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c6deac commit 562440eCopy full SHA for 562440e
1 file changed
scripts/setup-oci-public.py
@@ -787,6 +787,7 @@ def certs(ctx):
787
)
788
click.echo(" and re-run 'make deploy-oci'.", err=True)
789
sys.exit(1)
790
+ assert fn_id is not None # narrowing for type checkers (checked above)
791
click.echo(f" Found certmgr function: {fn_id}")
792
793
click.echo(f" Invoking certmgr for *.{cfg.domain}...")
@@ -826,6 +827,7 @@ def certs(ctx):
826
827
click.echo("ERROR: Could not retrieve certificate or key from Vault.", err=True)
828
click.echo(" Check certmgr function logs and Vault IAM policies.", err=True)
829
830
+ assert cert_pem is not None and key_pem is not None # narrowing (checked above)
831
click.echo(" [OK] Retrieved certificate and private key from Vault")
832
833
click.echo(" Creating K8s TLS secret...")
0 commit comments