corrects syntax (again)
This commit is contained in:
parent
93c0e5bb4c
commit
9647e859ba
@ -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 + """
|
||||||
"""
|
"""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user