Skip to content

Use starlark.Value, add starlib#9

Merged
michaelvl merged 2 commits intomainfrom
feature/use-starlark-values-add-starlib
Mar 1, 2025
Merged

Use starlark.Value, add starlib#9
michaelvl merged 2 commits intomainfrom
feature/use-starlark-values-add-starlib

Conversation

@michaelvl
Copy link
Contributor

@michaelvl michaelvl commented Mar 1, 2025

This PR adds conversion of resources and parameters to starlark.Value type to handle e.g. large integers. Also adds starlib support. This is implemented by code imported from https://github.com/GoogleContainerTools/kpt-functions-catalog/blob/set-enforcement-action/v0.1/functions/go/starlark/third_party/sigs.k8s.io/kustomize/kyaml/fn/runtime/starlark

Fixes #6

@michaelvl michaelvl merged commit d5018b3 into main Mar 1, 2025
1 check passed
@michaelvl michaelvl deleted the feature/use-starlark-values-add-starlib branch March 1, 2025 10:00
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.

Add starlib

1 participant

Comments