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

dynamic host volumes: set namespace from volume spec when monitoring #24586

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

tgross
Copy link
Member

@tgross tgross commented Dec 2, 2024

In #24528 we added monitoring to the CLI for dynamic host volume creation. But when the volume's namespace is set by the volume specification instead of the -namespace flag, the API client doesn't have the right namespace and gets a 404 when setting up the monitoring. The specification always overrides the -namespace flag, so use that when available for all subsequent API calls.

Ref: #24479

In #24528 we added monitoring to the CLI for dynamic host volume creation. But
when the volume's namespace is set by the volume specification instead of the
`-namespace` flag, the API client doesn't have the right namespace and gets a
404 when setting up the monitoring. The specification always overrides the
`-namespace` flag, so use that when available for all subsequent API calls.

Ref: #24479
@tgross tgross marked this pull request as ready for review December 2, 2024 17:01
@tgross tgross requested review from a team as code owners December 2, 2024 17:01
@tgross tgross added this to the 1.10.0 milestone Dec 2, 2024
@tgross tgross merged commit fff5ac4 into dynamic-host-volumes Dec 2, 2024
47 checks passed
@tgross tgross deleted the dhv-cli-monitor-namespace branch December 2, 2024 18:27
tgross added a commit that referenced this pull request Dec 3, 2024
…24586)

In #24528 we added monitoring to the CLI for dynamic host volume creation. But
when the volume's namespace is set by the volume specification instead of the
`-namespace` flag, the API client doesn't have the right namespace and gets a
404 when setting up the monitoring. The specification always overrides the
`-namespace` flag, so use that when available for all subsequent API calls.

Ref: #24479
tgross added a commit that referenced this pull request Dec 9, 2024
…24586)

In #24528 we added monitoring to the CLI for dynamic host volume creation. But
when the volume's namespace is set by the volume specification instead of the
`-namespace` flag, the API client doesn't have the right namespace and gets a
404 when setting up the monitoring. The specification always overrides the
`-namespace` flag, so use that when available for all subsequent API calls.

Ref: #24479
tgross added a commit that referenced this pull request Dec 13, 2024
…24586)

In #24528 we added monitoring to the CLI for dynamic host volume creation. But
when the volume's namespace is set by the volume specification instead of the
`-namespace` flag, the API client doesn't have the right namespace and gets a
404 when setting up the monitoring. The specification always overrides the
`-namespace` flag, so use that when available for all subsequent API calls.

Ref: #24479
tgross added a commit that referenced this pull request Dec 19, 2024
…24586)

In #24528 we added monitoring to the CLI for dynamic host volume creation. But
when the volume's namespace is set by the volume specification instead of the
`-namespace` flag, the API client doesn't have the right namespace and gets a
404 when setting up the monitoring. The specification always overrides the
`-namespace` flag, so use that when available for all subsequent API calls.

Ref: #24479
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants