diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 1ea49d2c..185b6d42 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,6 +3,7 @@
+
@@ -16,8 +17,8 @@
-
-
+
+
@@ -26,8 +27,8 @@
-
-
+
+
@@ -47,7 +48,7 @@
-
+
@@ -56,13 +57,36 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -82,8 +106,9 @@
-
+
+
@@ -93,7 +118,7 @@
true
DEFINITION_ORDER
-
+
@@ -126,7 +151,6 @@
-
@@ -145,16 +169,12 @@
-
-
-
-
-
+
@@ -191,16 +211,15 @@
-
-
+
-
-
+
+
@@ -228,6 +247,57 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -276,34 +346,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
diff --git a/Jenkinsfile b/Jenkinsfile
index 47116284..9bbf2ffe 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -3,7 +3,7 @@
// load pipeline functions
// Requires pipeline-github-lib plugin to load library from github
-@Library('github.com/lachie83/jenkins-pipeline@dev')
+@Library('github.com/EamonKeane/jenkins-pipeline@dev')
def pipeline = new io.estrado.Pipeline()
@@ -73,7 +73,8 @@ volumes:[
stage ('test deployment') {
container('helm') {
-
+ //ensures that helm is initialised in cluster with appropriate credentials before continuing
+ sh "helm init --wait --service-account tiller"
// run helm chart linter
pipeline.helmLint(chart_dir)
@@ -131,6 +132,8 @@ volumes:[
if (env.BRANCH_NAME =~ "PR-*" ) {
stage ('deploy to k8s') {
container('helm') {
+ //ensures that helm is initialised in cluster with appropriate credentials before continuing
+ sh "helm init --wait --service-account tiller"
// Deploy using Helm chart
pipeline.helmDeploy(
dry_run : false,