作者 Administrator

更新 allied-creation-manufacture.yaml

@@ -10,6 +10,9 @@ spec: @@ -10,6 +10,9 @@ spec:
10 - name: "http" 10 - name: "http"
11 port: 80 11 port: 80
12 targetPort: 8082 12 targetPort: 8082
  13 + - name: "https"
  14 + port: 443
  15 + targetPort: 443
13 selector: 16 selector:
14 k8s-app: allied-creation-manufacture 17 k8s-app: allied-creation-manufacture
15 --- 18 ---
@@ -48,6 +51,7 @@ spec: @@ -48,6 +51,7 @@ spec:
48 imagePullPolicy: Always 51 imagePullPolicy: Always
49 ports: 52 ports:
50 - containerPort: 8082 53 - containerPort: 8082
  54 + - containerPort: 443
51 env: 55 env:
52 - name: POSTGRESQL_DB_NAME 56 - name: POSTGRESQL_DB_NAME
53 valueFrom: 57 valueFrom: