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

feat: support creating files with configmap in container #479

Merged

Conversation

liu-hm19
Copy link
Contributor

@liu-hm19 liu-hm19 commented Aug 22, 2023

What type of PR is this?

/kind feature

What this PR does / why we need it:

This PR adds support for creating files with ConfigMap in workload container.

Which issue(s) this PR fixes:

Fixes #379

Special notes for your reviewer:

An example of creating files with ConfigMap in the container is shown below:
image
image

Does this PR introduce a user-facing change?


Additional documentation e.g., design docs, usage docs, etc.:


@coveralls
Copy link

coveralls commented Aug 22, 2023

Pull Request Test Coverage Report for Build 6007674666

  • 111 of 131 (84.73%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 74.717%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/generator/appconfiguration/generator/workload/service_generator.go 15 17 88.24%
pkg/generator/appconfiguration/generator/workload/job_generator.go 6 15 40.0%
pkg/generator/appconfiguration/generator/workload/workload_generator.go 90 99 90.91%
Totals Coverage Status
Change from base Build 6000360002: 0.2%
Covered Lines: 6070
Relevant Lines: 8124

💛 - Coveralls

@liu-hm19 liu-hm19 force-pushed the feat/support-create-file-with-configmap branch 2 times, most recently from 3c41825 to f083a4f Compare August 28, 2023 07:58
@liu-hm19 liu-hm19 force-pushed the feat/support-create-file-with-configmap branch from f083a4f to fdc7e42 Compare August 29, 2023 03:45
@adohe adohe added this to the 0.9.0 milestone Aug 29, 2023
@adohe adohe added the kind/feature Categorizes issue or PR as related to a new feature label Aug 29, 2023
Copy link
Contributor

@adohe adohe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall lgtm

@adohe adohe merged commit 272419a into KusionStack:main Aug 29, 2023
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Model: AppConfiguration model supports ConfigMap resource
4 participants