Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tenancy in self-service #261

Open
wants to merge 14 commits into
base: remove-mtp
Choose a base branch
from

Conversation

QuentinBisson
Copy link
Contributor

What this PR does / why we need it

This PR allows customers to set the tenant they want using the pod label application_giantswarm_io_tenant.

@TheoBrigitte do you have any ideas on how to test this?

Checklist

  • Update changelog in CHANGELOG.md.
  • Follow deployment test procedure in the tests/manual_e2e directory and have a working branch.

@QuentinBisson QuentinBisson self-assigned this Nov 7, 2024
@QuentinBisson QuentinBisson requested a review from a team as a code owner November 7, 2024 15:30
@QuentinBisson QuentinBisson force-pushed the allow-setting-custom-tenant-on-pod branch 2 times, most recently from da03311 to eac9607 Compare November 7, 2024 15:32
Comment on lines 295 to 305
tenant_id = env("{{ .TenantIDEnvVarName }}")
tenant_id = "giantswarm"
Copy link
Member

Choose a reason for hiding this comment

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

I liked the idea of using an env var to set the default tenant, why removing this ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What value does it bring?

@QuentinBisson QuentinBisson force-pushed the write-all-to-giantswarm-tenant branch 2 times, most recently from 79a0d0c to 068c65f Compare November 27, 2024 14:47
@QuentinBisson QuentinBisson changed the base branch from write-all-to-giantswarm-tenant to remove-mtp December 17, 2024 16:06
@QuentinBisson QuentinBisson force-pushed the allow-setting-custom-tenant-on-pod branch 2 times, most recently from a4aef31 to 1985e10 Compare December 17, 2024 16:51
QuentinBisson and others added 13 commits December 17, 2024 23:02
* enable vpa on alloy-logs

* Update pkg/resource/logging-config/alloy/logging-config.alloy.yaml.template

* remove clutter
* enable vpa on alloy-logs

* Update pkg/resource/logging-config/alloy/logging-config.alloy.yaml.template

* remove clutter

* add support-for-private-cas

* disable grafana agent usage reporting

* Update pkg/resource/logging-config/alloy-logging-config.go
* template grafana-agent-config

* fix incorrect grafana agent secret namespace

* add common format scraped namespaces
@QuentinBisson QuentinBisson force-pushed the allow-setting-custom-tenant-on-pod branch from 1985e10 to 408b6f4 Compare December 17, 2024 22:02
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.

3 participants