kubesphere / kubekey

Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA 🔥 ⎈ 🐳
https://kubesphere.io
Apache License 2.0
2.3k stars 544 forks source link

feature: add work-dir volume for job pod. #2263

Closed redscholar closed 4 months ago

redscholar commented 4 months ago

What type of PR is this?

/kind feature

What this PR does / why we need it:

add work dir volume to support offline scenario.

Which issue(s) this PR fixes:

Fixes # defined workVolume in pipeline. when run job, it's apply in pod. image

Special notes for reviewers:

Does this PR introduced a user-facing change?

add work-dir volume for job pod

Additional documentation, usage docs, etc.:

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

pixiake commented 4 months ago

/lgtm /approve

ks-ci-bot commented 4 months ago

LGTM label has been added.

Git tree hash: 58eda765c6fb62aac493a286ef0c0e5381ed6584

ks-ci-bot commented 4 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ImitationImmortal, pixiake

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: - ~~[OWNERS](https://github.com/kubesphere/kubekey/blob/feature-gitops/OWNERS)~~ [pixiake] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment