Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add base init job for git sync repo shared mode#592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
pgvishnuram wants to merge1 commit intomaster
base:master
Choose a base branch
Loading
fromfeat/add-init-hook-gitsync

Conversation

@pgvishnuram
Copy link
Contributor

@pgvishnurampgvishnuram commentedMay 30, 2025
edited
Loading

Description

This PR utilizes helm hook logic to initiate git sync relay container to pre-pull all the code inside the shared volume and utilize the in downstream airflow deployments

Input GRPC

{    "airflow_database": {        "connection": "",        "database_name": "meteor_desc_100_airflow",        "password": "testmenot",        "schema_name": "airflow",        "secret_name": "in",        "sslmode": "aute elit et dolore",        "username": "meteor_desc_100_airflow"    },    "celery_database": {        "connection": "",        "database_name": "meteor_desc_100_celery",        "password": "testmenot",        "schema_name": "celery",        "secret_name": "meteor_desc_100_celery",        "sslmode": "aliqua ut nulla est",        "username": "meteor_desc_100_celery"    },    "chart": {        "name": "laboris minim irure occaecat",        "version": "nisi Duis esse"    },    "correlation_id": "123456789",    "namespace": "default",    "raw_config": "veniam aute nisi minim culpa",    "release_name": "meteor-desc-100"}

Database Provisioning on create Deployment

INFO[0071] Ensuring user meteor_desc_100_airflow exists... INFO[0071] User meteor_desc_100_airflow already exists   operation=ensure_userINFO[0071] Ensuring database meteor_desc_100_airflow exists... INFO[0071] Database meteor_desc_100_airflow already exists INFO[0071] Connecting to database meteor_desc_100_airflow... INFO[0071] Connected to database successfully           INFO[0071] Creating schema airflow...                   INFO[0071] Schema airflow created successfully          INFO[0071] Granting permissions to user meteor_desc_100_airflow for schema airflow... INFO[0071] Executing statement: ALTER DEFAULT PRIVILEGES IN SCHEMA "airflow" GRANT ALL PRIVILEGES ON TABLES TO  "meteor_desc_100_airflow" ;ALTER DEFAULT PRIVILEGES IN SCHEMA "airflow" GRANT ALL PRIVILEGES ON SEQUENCES TO "meteor_desc_100_airflow";GRANT USAGE ON SCHEMA "airflow" TO "meteor_desc_100_airflow";GRANT CREATE ON SCHEMA "airflow" TO "meteor_desc_100_airflow";GRANT ALL PRIVILEGES ON SCHEMA "airflow" TO "meteor_desc_100_airflow";GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA "airflow" TO "meteor_desc_100_airflow";GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA "airflow" TO "meteor_desc_100_airflow";ALTER ROLE "meteor_desc_100_airflow" SET search_path = "airflow"  operation=grant_permissionsINFO[0071] Permissions granted successfully to user meteor_desc_100_airflow for schema airflow INFO[0071] Database provisioning completed successfully INFO[0071] Ensuring user meteor_desc_100_celery exists... INFO[0071] User meteor_desc_100_celery created successfully  operation=ensure_userINFO[0071] User meteor_desc_100_celery already exists    operation=ensure_userINFO[0071] Ensuring database meteor_desc_100_celery exists... INFO[0071] Database meteor_desc_100_celery created successfully INFO[0071] Database meteor_desc_100_celery already exists INFO[0071] Connecting to database meteor_desc_100_celery... INFO[0071] Connected to database successfully           INFO[0071] Creating schema celery...                    INFO[0071] Schema celery created successfully           INFO[0071] Granting permissions to user meteor_desc_100_celery for schema celery... INFO[0071] Executing statement: ALTER DEFAULT PRIVILEGES IN SCHEMA "celery" GRANT ALL PRIVILEGES ON TABLES TO  "meteor_desc_100_celery" ;ALTER DEFAULT PRIVILEGES IN SCHEMA "celery" GRANT ALL PRIVILEGES ON SEQUENCES TO "meteor_desc_100_celery";GRANT USAGE ON SCHEMA "celery" TO "meteor_desc_100_celery";GRANT CREATE ON SCHEMA "celery" TO "meteor_desc_100_celery";GRANT ALL PRIVILEGES ON SCHEMA "celery" TO "meteor_desc_100_celery";GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA "celery" TO "meteor_desc_100_celery";GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA "celery" TO "meteor_desc_100_celery";ALTER ROLE "meteor_desc_100_celery" SET search_path = "celery"  operation=grant_permissionsINFO[0071] Permissions granted successfully to user meteor_desc_100_celery for schema celery INFO[0071] Database provisioning completed successfully

Related Issues

Do not merge this PR until this text is replaced with links to related issues.

Testing

Do not merge this PR until this text is replaced with details about how these changes were tested.

Merging

Do not merge this PR until it lists which release branches this PR should be merged / cherry-picked into.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@pgvishnuram

[8]ページ先頭

©2009-2025 Movatter.jp