[stable/2024.1] Add optional kubeconfig path to roles (#1919)

This is an automated cherry-pick of #1871
/assign mnaser
diff --git a/roles/goldpinger/defaults/main.yml b/roles/goldpinger/defaults/main.yml
index aae6f4b..3acd074 100644
--- a/roles/goldpinger/defaults/main.yml
+++ b/roles/goldpinger/defaults/main.yml
@@ -6,4 +6,5 @@
 goldpinger_helm_chart_ref: /usr/local/src/goldpinger
 
 goldpinger_helm_release_namespace: monitoring
+goldpinger_helm_kubeconfig: "{{ kubeconfig_path | default('/etc/kubernetes/admin.conf') }}"
 goldpinger_helm_values: {}
diff --git a/roles/goldpinger/tasks/main.yml b/roles/goldpinger/tasks/main.yml
index 42c71a3..43e27a1 100644
--- a/roles/goldpinger/tasks/main.yml
+++ b/roles/goldpinger/tasks/main.yml
@@ -8,5 +8,5 @@
     chart_ref: "{{ goldpinger_helm_chart_ref }}"
     release_namespace: "{{ goldpinger_helm_release_namespace }}"
     create_namespace: true
-    kubeconfig: /etc/kubernetes/admin.conf
+    kubeconfig: "{{ goldpinger_helm_kubeconfig }}"
     values: "{{ _goldpinger_helm_values | combine(goldpinger_helm_values, recursive=True) }}"