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 a "strict mode" configuration option #2425

Merged
merged 4 commits into from
May 24, 2023
Merged

Commits on May 23, 2023

  1. Add a "strict mode" configuration option

    The Kubernetes provider selects a target cluster based on information in a `kubeconfig` file, which contains one or more context settings. If these options are not explicitly specified in a Pulumi stack, the provider will attempt to load ambient configuration similarly to most Kubernetes CLI tooling. While this behavior makes it easier to get started quickly, it is not always desirable in production stacks.
    
    In "strict mode", the default Kubernetes provider is disabled, and the `kubeconfig` and `context` settings are required for Provider configuration. These settings unambiguously ensure that every Kubernetes resource is associated with a particular cluster.
    
    These options are already available individually, but "strict mode" makes it more convenient to enforce across a project or stack.
    lblackstone committed May 23, 2023
    Configuration menu
    Copy the full SHA
    0a4af3b View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. Add test

    lblackstone committed May 24, 2023
    Configuration menu
    Copy the full SHA
    0e33ce0 View commit details
    Browse the repository at this point in the history
  2. Changelog

    lblackstone committed May 24, 2023
    Configuration menu
    Copy the full SHA
    1528c26 View commit details
    Browse the repository at this point in the history
  3. Review feedback

    lblackstone committed May 24, 2023
    Configuration menu
    Copy the full SHA
    f101404 View commit details
    Browse the repository at this point in the history