pulumi/tests/testdata/codegen/kubernetes20/python/pulumi_kubernetes
Fraser Waters a9947b4e4e
Python parameterized provider test (#16491)
This adds support for replacement parameterised providers to Python and
a small integration test to check it works e2e.

When using parameterised providers we need to use the new (currently
unstable) RegisterPackage system, instead of sending
Version/DownloadURL/etc via RegisterResourceRequest. Once
RegisterPackage is stable the intention is to change _all_ packages to
use it and for normal packages to fall back to the
RegisterResourceRequest options, while parameterised packages will
error.

The actual parameter value is embedded in the python SDK as a base64
string that we decode before sending to the gRPC endpoint as bytes.
2024-07-16 10:55:38 +00:00
..
core Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00
helm Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00
meta Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00
yaml Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00
README.md Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00
__init__.py Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00
_inputs.py Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00
_utilities.py Python parameterized provider test (#16491) 2024-07-16 10:55:38 +00:00
provider.py Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00
pulumi-plugin.json Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00
py.typed Move codegen testdata (#15549) 2024-03-06 20:36:50 +00:00

README.md

The Kubernetes provider package offers support for all Kubernetes resources and their properties. Resources are exposed as types from modules based on Kubernetes API groups such as 'apps', 'core', 'rbac', and 'storage', among many others. Additionally, support for deploying Helm charts ('helm') and YAML files ('yaml') is available in this package. Using this package allows you to programmatically declare instances of any Kubernetes resources and any supported resource version using infrastructure as code, which Pulumi then uses to drive the Kubernetes API.

If this is your first time using this package, these two resources may be helpful: