From 1fd65f27de64128dcc3a7437b8d8b7002fd58f96 Mon Sep 17 00:00:00 2001 From: vsoch Date: Wed, 11 Sep 2024 13:27:05 -0600 Subject: [PATCH] run tests with http Signed-off-by: vsoch --- .github/test.sh | 1 + .../charts/as-a-second-scheduler/templates/deployment.yaml | 4 ++-- .../install/charts/as-a-second-scheduler/values.yaml | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/test.sh b/.github/test.sh index da5b064..64a35c9 100755 --- a/.github/test.sh +++ b/.github/test.sh @@ -22,6 +22,7 @@ helm install \ --set controller.pullPolicy=Never \ --set scheduler.pullPolicy=Never \ --set scheduler.sidecarPullPolicy=Never \ + --set scheduler.httpScheme=HTTP \ schedscheduler-plugins as-a-second-scheduler/ # These containers should already be loaded into minikube diff --git a/sig-scheduler-plugins/manifests/install/charts/as-a-second-scheduler/templates/deployment.yaml b/sig-scheduler-plugins/manifests/install/charts/as-a-second-scheduler/templates/deployment.yaml index 289a0e5..7708fc0 100644 --- a/sig-scheduler-plugins/manifests/install/charts/as-a-second-scheduler/templates/deployment.yaml +++ b/sig-scheduler-plugins/manifests/install/charts/as-a-second-scheduler/templates/deployment.yaml @@ -76,14 +76,14 @@ spec: httpGet: path: /healthz port: 10259 - scheme: HTTPS + scheme: {{ .Values.scheduler.httpScheme }} initialDelaySeconds: 15 name: scheduler-plugins-scheduler readinessProbe: httpGet: path: /healthz port: 10259 - scheme: HTTPS + scheme: {{ .Values.scheduler.httpScheme }} resources: requests: cpu: '0.1' diff --git a/sig-scheduler-plugins/manifests/install/charts/as-a-second-scheduler/values.yaml b/sig-scheduler-plugins/manifests/install/charts/as-a-second-scheduler/values.yaml index 4113209..86d0964 100644 --- a/sig-scheduler-plugins/manifests/install/charts/as-a-second-scheduler/values.yaml +++ b/sig-scheduler-plugins/manifests/install/charts/as-a-second-scheduler/values.yaml @@ -12,6 +12,7 @@ scheduler: pullPolicy: Always sidecarPullPolicy: Always loggingLevel: "9" + httpScheme: HTTPS # Port is for GRPC, and enabling the external service will also # create the service and ingress to it, along with adding