crate.operator.update_user_password module

async crate.operator.update_user_password.update_user_password(namespace, cluster_id, pod_name, username, new_password, has_ssl, logger)

Update the password of a given user_spec in a CrateDB cluster.

Parameters
  • namespace (str) – The Kubernetes namespace for the CrateDB cluster.

  • cluster_id (str) – The ID of the CrateDB cluster.

  • pod_name (str) – The name of the pod to exec into.

  • username (str) – The username of the user of the CrateDB resource that should be updated.

  • new_password (str) – The new password of the user that should be updated.

  • has_ssl (bool) – When True, crash will establish a connection to the CrateDB cluster from inside the crate container using SSL/TLS. This must match how the cluster is configured, otherwise crash won’t be able to connect, since non-encrypted connections are forbidden when SSL/TLS is enabled, and encrypted connections aren’t possible when no SSL/TLS is configured.

  • logger (Logger) –