corrects syntax (again)

This commit is contained in:
Hyatt 2023-10-22 10:15:20 -05:00
parent 93c0e5bb4c
commit 9647e859ba
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

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