From 2958f906e4b502d153decb76ef12e4263c3128db Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 23 Jul 2025 20:28:40 -0400 Subject: [PATCH] chore: update and move comment in rendered template --- plugins/scheduler-k3s/templates/chart/certificate.yaml | 2 +- plugins/scheduler-k3s/templates/chart/deployment.yaml | 2 +- .../templates/chart/https-redirect-middleware.yaml | 2 +- plugins/scheduler-k3s/templates/chart/ingress-route.yaml | 2 +- plugins/scheduler-k3s/templates/chart/ingress.yaml | 2 +- .../scheduler-k3s/templates/chart/keda-http-scaled-object.yaml | 2 +- .../templates/chart/keda-interceptor-proxy-service.yaml | 2 +- plugins/scheduler-k3s/templates/chart/keda-scaled-object.yaml | 2 +- plugins/scheduler-k3s/templates/chart/service.yaml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/scheduler-k3s/templates/chart/certificate.yaml b/plugins/scheduler-k3s/templates/chart/certificate.yaml index 5065d77f8..077470ce8 100644 --- a/plugins/scheduler-k3s/templates/chart/certificate.yaml +++ b/plugins/scheduler-k3s/templates/chart/certificate.yaml @@ -1,6 +1,6 @@ {{- range $processName, $config := .Values.processes }} -# Skip processes that don't have a web section {{- if not (hasKey $config "web") }} +# Skip {{ $processName }} as it doesn't have a web section {{- continue }} {{- end }} diff --git a/plugins/scheduler-k3s/templates/chart/deployment.yaml b/plugins/scheduler-k3s/templates/chart/deployment.yaml index 4ffa5ba29..a741804d1 100644 --- a/plugins/scheduler-k3s/templates/chart/deployment.yaml +++ b/plugins/scheduler-k3s/templates/chart/deployment.yaml @@ -1,6 +1,6 @@ {{- range $processName, $config := .Values.processes }} -# Skip processes that don't have a web section {{- if not (hasKey $config "web") }} +# Skip {{ $processName }} as it doesn't have a web section {{- continue }} {{- end }} diff --git a/plugins/scheduler-k3s/templates/chart/https-redirect-middleware.yaml b/plugins/scheduler-k3s/templates/chart/https-redirect-middleware.yaml index b4b6bc810..4a38d1291 100644 --- a/plugins/scheduler-k3s/templates/chart/https-redirect-middleware.yaml +++ b/plugins/scheduler-k3s/templates/chart/https-redirect-middleware.yaml @@ -1,6 +1,6 @@ {{- range $processName, $config := .Values.processes }} -# Skip processes that don't have a web section {{- if not (hasKey $config "web") }} +# Skip {{ $processName }} as it doesn't have a web section {{- continue }} {{- end }} diff --git a/plugins/scheduler-k3s/templates/chart/ingress-route.yaml b/plugins/scheduler-k3s/templates/chart/ingress-route.yaml index bdf492282..fb137204e 100644 --- a/plugins/scheduler-k3s/templates/chart/ingress-route.yaml +++ b/plugins/scheduler-k3s/templates/chart/ingress-route.yaml @@ -1,6 +1,6 @@ {{- range $processName, $config := .Values.processes }} -# Skip processes that don't have a web section {{- if not (hasKey $config "web") }} +# Skip {{ $processName }} as it doesn't have a web section {{- continue }} {{- end }} diff --git a/plugins/scheduler-k3s/templates/chart/ingress.yaml b/plugins/scheduler-k3s/templates/chart/ingress.yaml index 2349d0292..1b5cd1081 100644 --- a/plugins/scheduler-k3s/templates/chart/ingress.yaml +++ b/plugins/scheduler-k3s/templates/chart/ingress.yaml @@ -1,6 +1,6 @@ {{- range $processName, $config := .Values.processes }} -# Skip processes that don't have a web section {{- if not (hasKey $config "web") }} +# Skip {{ $processName }} as it doesn't have a web section {{- continue }} {{- end }} diff --git a/plugins/scheduler-k3s/templates/chart/keda-http-scaled-object.yaml b/plugins/scheduler-k3s/templates/chart/keda-http-scaled-object.yaml index 2e1fea6db..5907ead1e 100644 --- a/plugins/scheduler-k3s/templates/chart/keda-http-scaled-object.yaml +++ b/plugins/scheduler-k3s/templates/chart/keda-http-scaled-object.yaml @@ -1,7 +1,7 @@ {{- if .Capabilities.APIVersions.Has "http.keda.sh/v1alpha1" -}} {{- range $processName, $config := .Values.processes }} -# Skip processes that don't have a web section {{- if not (hasKey $config "web") }} +# Skip {{ $processName }} as it doesn't have a web section {{- continue }} {{- end }} diff --git a/plugins/scheduler-k3s/templates/chart/keda-interceptor-proxy-service.yaml b/plugins/scheduler-k3s/templates/chart/keda-interceptor-proxy-service.yaml index f7b76393b..ade8549a2 100644 --- a/plugins/scheduler-k3s/templates/chart/keda-interceptor-proxy-service.yaml +++ b/plugins/scheduler-k3s/templates/chart/keda-interceptor-proxy-service.yaml @@ -1,7 +1,7 @@ {{- if .Capabilities.APIVersions.Has "http.keda.sh/v1alpha1" -}} {{- range $processName, $config := .Values.processes }} -# Skip processes that don't have a web section {{- if not (hasKey $config "web") }} +# Skip {{ $processName }} as it doesn't have a web section {{- continue }} {{- end }} diff --git a/plugins/scheduler-k3s/templates/chart/keda-scaled-object.yaml b/plugins/scheduler-k3s/templates/chart/keda-scaled-object.yaml index e57e6a799..3f37603ac 100644 --- a/plugins/scheduler-k3s/templates/chart/keda-scaled-object.yaml +++ b/plugins/scheduler-k3s/templates/chart/keda-scaled-object.yaml @@ -1,7 +1,7 @@ {{- if .Capabilities.APIVersions.Has "keda.sh/v1alpha1" -}} {{- range $processName, $config := .Values.processes }} -# Skip processes that don't have a web section {{- if not (hasKey $config "web") }} +# Skip {{ $processName }} as it doesn't have a web section {{- continue }} {{- end }} diff --git a/plugins/scheduler-k3s/templates/chart/service.yaml b/plugins/scheduler-k3s/templates/chart/service.yaml index f35967ab1..8980597da 100644 --- a/plugins/scheduler-k3s/templates/chart/service.yaml +++ b/plugins/scheduler-k3s/templates/chart/service.yaml @@ -1,6 +1,6 @@ {{- range $processName, $config := .Values.processes }} -# Skip processes that don't have a web section {{- if not (hasKey $config "web") }} +# Skip {{ $processName }} as it doesn't have a web section {{- continue }} {{- end }}