fix: correctly pull the deployment id from an app's helm values when executing dokku run under the k3s scheduler

- Fix the internal identifier of deployment_id -> deployment_id
- Add tests for both enter and run.
This commit is contained in:
Jose Diaz-Gonzalez committed 2024-11-04 14:44:25 -05:00
1 parent ef061ef32b
commit fd2cfe8080
10 files changed
+35 -18

No files matched your search

@@ -5,7 +5,7 @@ apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
annotations:
app.kubernetes.io/version: {{ $.Values.global.deploment_id | quote }}
app.kubernetes.io/version: {{ $.Values.global.deployment_id | quote }}
dokku.com/managed: "true"
{{- if and $.Values.global.annotations $.Values.global.annotations.keda_trigger_authentication }}
{{- range $k, $v := $.Values.global.annotations.keda_trigger_authentication }}