Skip to content

Commit

Permalink
feat: Reassure the user about why we need the sudo password
Browse files Browse the repository at this point in the history
  • Loading branch information
Konubinix committed Sep 6, 2024
1 parent e3e0ba1 commit 745bdbd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -1269,8 +1269,9 @@ def install_local_certificate(client, secret_name, namespace, type):
f.close()
did_something = False
if os_name == 'darwin':
# NOTE: This is adding a certificate to SYSTEM keychain since
# otherwise the chrome is not accepting it as valid.
LOGGER.info('I need your sudo password to use security to install the local certificate.'
' I cannot install it only for the current user because chrome would'
' not accept it that way (at least, this is what "they" told me...).')
silent_call([
'sudo',
security,
Expand Down

0 comments on commit 745bdbd

Please sign in to comment.