Skip to content

exec: retrive log files from api_server minio address#2

Open
3pointer wants to merge 3 commits intoYuJuncen:masterfrom
3pointer:remove_v
Open

exec: retrive log files from api_server minio address#2
3pointer wants to merge 3 commits intoYuJuncen:masterfrom
3pointer:remove_v

Conversation

@3pointer
Copy link
Copy Markdown

@3pointer 3pointer commented Nov 3, 2020

  1. retrive cluster log from api_server minio address
  2. fix addv bug

Comment thread ctl/lib/get_file.py Outdated
secure=False)

def get_artifacts_dir_of(self, cluster_id: int) -> Object:
self._api_server_client = Minio(api_server_minio, secure=False)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems access_key and secret_key are forgotten here.

BTW, I will prefer to extract them to another config entry (like artifacts_s3_endpoint, etc..), and fully ignore this config s3_endpoint here.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems this minio address is fixed, and doesn't need access_key.

Comment thread ctl/lib/get_file.py Outdated
@YuJuncen
Copy link
Copy Markdown
Owner

YuJuncen commented Nov 3, 2020

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants