mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2025-12-05 23:56:23 +00:00
Jenkinsfile에서 kubectl context 설정 제거
- kubectl config use-context 명령 제거 (Jenkins 환경에서 불필요) - deploy_env_vars_dev에서 context 변수 제거 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
0f054109bb
commit
ab27787951
1
deployment/cicd/Jenkinsfile
vendored
1
deployment/cicd/Jenkinsfile
vendored
@ -79,7 +79,6 @@ podTemplate(
|
|||||||
stage("Setup Kubernetes") {
|
stage("Setup Kubernetes") {
|
||||||
container('kubectl') {
|
container('kubectl') {
|
||||||
sh """
|
sh """
|
||||||
kubectl config use-context ${props.context}
|
|
||||||
kubectl create namespace ${props.namespace} --dry-run=client -o yaml | kubectl apply -f -
|
kubectl create namespace ${props.namespace} --dry-run=client -o yaml | kubectl apply -f -
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,2 @@
|
|||||||
# dev Environment Configuration
|
# dev Environment Configuration
|
||||||
context=minikube
|
|
||||||
namespace=phonebill
|
namespace=phonebill
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user