diff --git a/Jenkinsfile b/Jenkinsfile index 30cd9d6..8004ef8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,9 +17,9 @@ pipeline { stage('Deploy to k3s') { steps { sh ''' - kubectl delete deployment chatroom-deployment --ignore-not-found=true - kubectl create deployment chatroom-deployment --image=chatroom:latest - kubectl expose deployment chatroom-deployment --type=NodePort --port=3030 --target-port=3030 + kubectl --insecure-skip-tls-verify=true delete deployment chatroom-deployment --ignore-not-found=true + kubectl --insecure-skip-tls-verify=true create deployment chatroom-deployment --image=chatroom:latest + kubectl --insecure-skip-tls-verify=true expose deployment chatroom-deployment --type=NodePort --port=3030 --target-port=3030 ''' } }