fix file service

This commit is contained in:
Simon Larsen 2023-09-27 11:44:00 +00:00
parent 5e82b0f158
commit 8b25a006a9

View File

@ -1,16 +1,16 @@
# OneUptime file Deployment
{{- $fileEnv := dict "PORT" $.Values.port.file -}}
{{- $fileDeploymentArgs :=dict "IsServer" true "ServiceName" "dashboard-api" "Port" $.Values.port.file "Release" $.Release "Values" $.Values "Env" $fileEnv -}}
{{- $fileDeploymentArgs :=dict "IsServer" true "ServiceName" "file" "Port" $.Values.port.file "Release" $.Release "Values" $.Values "Env" $fileEnv -}}
{{- include "oneuptime.deployment" $fileDeploymentArgs }}
---
# OneUptime file Service
{{- $fileServiceArgs := dict "ServiceName" "dashboard-api" "Port" $.Values.port.file "Release" $.Release "Values" $.Values -}}
{{- $fileServiceArgs := dict "ServiceName" "file" "Port" $.Values.port.file "Release" $.Release "Values" $.Values -}}
{{- include "oneuptime.service" $fileServiceArgs }}
---
# OneUptime file Service
{{- $fileAutoScalerArgs := dict "ServiceName" "dashboard-api" "Release" $.Release "Values" $.Values -}}
{{- $fileAutoScalerArgs := dict "ServiceName" "file" "Release" $.Release "Values" $.Values -}}
{{- include "oneuptime.autoscaler" $fileAutoScalerArgs }}
---