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

OS_CLOUD environment variable should be ignored #1881

Closed
stephenfin opened this issue Feb 15, 2024 · 1 comment
Closed

OS_CLOUD environment variable should be ignored #1881

stephenfin opened this issue Feb 15, 2024 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@stephenfin
Copy link
Contributor

/kind bug

What steps did you take and what happened:

Users pass cloud credentials by placing a clouds.yaml in a Secret and configuring OpenStackClusterSpec.Cloud (for the cloud name) and OpenStackClusterSpec.IdentityRef. However, if OS_CLOUD is defined, we can end up with a mismash of clouds.

What did you expect to happen:

We should ignore environment variables. All configuration should be pulled from the Secret.

Anything else you would like to add:

none.

Environment:

  • Cluster API Provider OpenStack version (Or git rev-parse HEAD if manually built): master
  • Cluster-API version: n/a
  • OpenStack version: n/a
  • Minikube/KIND version: n/a
  • Kubernetes version (use kubectl version): n/a
  • OS (e.g. from /etc/os-release): n/a
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Feb 15, 2024
@mdbooth
Copy link
Contributor

mdbooth commented Feb 16, 2024

This was fixed by #1883

@mdbooth mdbooth closed this as completed Feb 16, 2024
@github-project-automation github-project-automation bot moved this from Inbox to Done in CAPO Roadmap Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
Archived in project
Development

No branches or pull requests

3 participants