Skip to content

Commit 41fcde8

Browse files
authored
Merge pull request #1115 from oracle/fastfix
fixed path for exporter github project
2 parents eb12fb5 + d371840 commit 41fcde8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/ITMonitoringExporter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ private static void gitCloneBuildMonitoringExporter() throws Exception {
708708
private static void deployMonitoringExporterPrometethusGrafana(
709709
String exporterAppPath, Domain domain, Operator operator) throws Exception {
710710

711-
String samplesDir = monitoringExporterDir + "/src/samples/kubernetes/";
711+
String samplesDir = monitoringExporterDir + "/src/samples/kubernetes/deployments/";
712712

713713
String crdCmd = " kubectl apply -f " + samplesDir + "monitoring-namespace.yaml";
714714
ExecResult result = ExecCommand.exec(crdCmd);
@@ -760,7 +760,7 @@ private static void resetMonitoringExporterToPreBuiltConfig() throws Exception {
760760

761761
private static void deletePrometheusGrafana() throws Exception {
762762

763-
String samplesDir = monitoringExporterDir + "/src/samples/kubernetes/";
763+
String samplesDir = monitoringExporterDir + "/src/samples/kubernetes/deployments/";
764764

765765
String crdCmd = " kubectl delete -f " + samplesDir + "prometheus-deployment.yaml";
766766
TestUtils.exec(crdCmd);
@@ -780,7 +780,7 @@ private static void deletePrometheusGrafana() throws Exception {
780780
* @throws IOException when copying files from source location to staging area fails
781781
*/
782782
private static void createCoordinatorFile(String domainNS) throws IOException {
783-
String samplesDir = monitoringExporterDir + "/src/samples/kubernetes/";
783+
String samplesDir = monitoringExporterDir + "/src/samples/kubernetes/deployments/";
784784
Path src = Paths.get(resourceExporterDir + "/coordinator.yml");
785785
Path dst = Paths.get(samplesDir + "/coordinator_" + domainNS + ".yaml");
786786
if (!dst.toFile().exists()) {
@@ -800,7 +800,7 @@ private static void createCoordinatorFile(String domainNS) throws IOException {
800800
* @throws IOException when copying files from source location to staging area fails
801801
*/
802802
private static void createCrossNSRBACFile(String domainNS, String operatorNS) throws IOException {
803-
String samplesDir = monitoringExporterDir + "/src/samples/kubernetes/";
803+
String samplesDir = monitoringExporterDir + "/src/samples/kubernetes/deployments/";
804804
Path src = Paths.get(samplesDir + "/crossnsrbac.yaml");
805805
Path dst = Paths.get(samplesDir + "/crossnsrbac_" + domainNS + "_" + operatorNS + ".yaml");
806806
if (!dst.toFile().exists()) {

0 commit comments

Comments
 (0)