kcl-lang / krm-kcl

Kubernetes Resource Model KCL Specification and Integrations including Kubectl, Kustomize, Helm, Helmfile, Crossplane, KPT, etc.
Apache License 2.0
20 stars 13 forks source link

enable read env map from KCL option("env") function #30

Closed satyazzz123 closed 9 months ago

satyazzz123 commented 9 months ago

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

fixes: #29

2. What is the scope of this PR (e.g. component or file name):

Read the environment var map through option("env") in KRM KCL Spec.

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

satyazzz123 commented 9 months ago

Hello @Peefy I have opened this PR to address issue #29 , I have made some initial changes to read env map . Please have a look and suggest if any changes are needed. Thank you!

satyazzz123 commented 9 months ago

@Peefy I have addressed the requested changes please review