Skip to content

Logging pubsub subscription only works in same project as gke. #562

@mtrelation-acg

Description

@mtrelation-acg

Describe the bug
It is not possible to have the logging pubsub subscription located in a project other than the one the cluster is being installed into.

To Reproduce
Self configure an existing gke autopilot cluster in project a.
Manually create the pubsub topic and subscription in project b.
There is no configuration available in values.yaml to set the logsSubcriptionProject

Expected behavior
Place to set logsSubscriptionProject in values.yaml which in turn would set LOGS_SUBSCRIPTION_PROJECT properly in src/lib/logs/log_forwarder_variables.py

Desktop (please complete the following information):
Not applicable

Smartphone (please complete the following information):
Not applicable

Additional context
This bug can be fixed by pull request: #561

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions