Skip to content

Commit

Permalink
osrdyne: remove autoscaling
Browse files Browse the repository at this point in the history
  • Loading branch information
bloussou committed Oct 10, 2024
1 parent 2ed9e23 commit ab14833
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
5 changes: 0 additions & 5 deletions templates/osrdyne/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ data:
deployment_prefix: "{{ include "osrd.fullname" . }}"
namespace: "{{ .Release.Namespace }}"
{{- with .Values.services.core.autoscaling }}
autoscaling:
{{- toYaml . | nindent 8 }}
{{- end }}
kube_deployment_options:
default_env:
{{- with .Values.services.core.env }}
Expand Down
11 changes: 0 additions & 11 deletions templates/osrdyne/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,6 @@ spec:
{{- else }}
value: "{{ $amqpManagement }}"
{{- end }}

{{- if (and .Values.services.core.autoscaling (eq .Values.services.core.autoscaling.type "Keda")) }}
- name: OSRDYNE__WORKER_DRIVER__AUTOSCALING__AMQP_HOST
{{- $amqp := .Values.endpoints.amqp }}
{{- if eq (typeOf $amqp) "map" }}
valueFrom:
{{- toYaml $amqp.valueFrom | nindent 6 }}
{{- else }}
value: "{{ $amqp }}"
{{- end }}
{{- end }}

- name: RUST_LOG
value: info
Expand Down

0 comments on commit ab14833

Please sign in to comment.