diff --git a/nordvpn-autoconfigure.jenkins b/nordvpn-autoconfigure.jenkins index 552dea4..343dd42 100644 --- a/nordvpn-autoconfigure.jenkins +++ b/nordvpn-autoconfigure.jenkins @@ -117,18 +117,17 @@ pipeline { } } } - } - // Create K8S Secret - withCredentials( - [ - string( - credentialsId: nordCreds, - variable: "NORD_CREDS", - ) - ] - ) { - k8sSecret = """apiVersion: v1 + // Create K8S Secret + withCredentials( + [ + string( + credentialsId: nordCreds, + variable: "NORD_CREDS", + ) + ] + ) { + k8sSecret = """apiVersion: v1 kind: Secret metadata: name: """ + kubeSecret + """ @@ -137,6 +136,7 @@ data: openvpn-credentials.txt: """ + NORD_CREDS + """ nordvpn.com.tcp.ovpn: """ + openVPNConfig + """ """ + } } } }