浏览代码

Expose machinaris api port for workers usage

sonicaj 4 年之前
父节点
当前提交
a795e211bc
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      test/machinaris/1.0.1/templates/deployment.yaml

+ 4 - 0
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 }}