From a795e211bc9372b6d408af993300232990da6cd5 Mon Sep 17 00:00:00 2001 From: sonicaj Date: Tue, 10 Aug 2021 13:16:08 +0500 Subject: [PATCH] Expose machinaris api port for workers usage --- test/machinaris/1.0.1/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/machinaris/1.0.1/templates/deployment.yaml b/test/machinaris/1.0.1/templates/deployment.yaml index 60aceb7326..a4bacc2afd 100644 --- a/test/machinaris/1.0.1/templates/deployment.yaml +++ b/test/machinaris/1.0.1/templates/deployment.yaml @@ -31,6 +31,10 @@ spec: - name: machinaris-ui protocol: TCP containerPort: 8926 + - name: machinaris-api + protocol: TCP + containerPort: 8927 + hostPort: 8927 {{ $envList := (default list .Values.environmentVariables) }} {{ $envList = mustAppend $envList (dict "name" "TZ" "value" $.Values.timezone) }} {{ include "common.containers.allEnvironmentVariables" (dict "environmentVariables" $envList) | nindent 10 }}