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 no-interpolate feature option to the CLI #1955

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jvitor83
Copy link
Contributor

@jvitor83 jvitor83 commented Nov 6, 2024

What type of PR is this?

/kind feature

What this PR does / why we need it:

Allow the generated files to keep the environment variable placeholders in order to be interpolated in a later moment.

Which issue(s) this PR fixes:

Fixes #1953

Special notes for your reviewer:

This didn't pretend to put all compose keys to support the "env var placeholder" to not be interpolated, but the basic (most used ones) like "image" and "environments". Otherwise, it will be a huge effort to support this kind of feature. I guess each "non-supported" attribute can have it own issue and addressed as needed (as said in the #1953).

@k8s-ci-robot k8s-ci-robot added do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 6, 2024
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 6, 2024
cmd/convert.go Outdated Show resolved Hide resolved
@cdrage
Copy link
Member

cdrage commented Nov 27, 2024

/lgtm

@cdrage
Copy link
Member

cdrage commented Nov 27, 2024

/approve

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 27, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cdrage, hangyan, jvitor83

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@hangyan
Copy link
Contributor

hangyan commented Nov 30, 2024

LGTM

Can you address this invalid message warnning?

@jvitor83 jvitor83 force-pushed the feature/no-interpolate branch from 0019903 to b354989 Compare December 2, 2024 23:23
@k8s-ci-robot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@k8s-ci-robot k8s-ci-robot removed lgtm "Looks good to me", indicates that a PR is ready to be merged. do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. labels Dec 2, 2024
@jvitor83
Copy link
Contributor Author

jvitor83 commented Dec 2, 2024

LGTM

Can you address this invalid message warnning?

Sorry about that. The commit message has "fixes". Have it removed!
Should be good now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add no-interpolate to allow the generated files to keep the variable placeholder
4 participants