Просмотр исходного кода

works with published chart, no downtime

Stefan McShane 2 лет назад
Родитель
Сommit
c0ece4e489
3 измененных файлов с 10 добавлено и 9 удалено
  1. 1 1
      local/3/existing_values.yaml
  2. 6 6
      local/3/template.yaml
  3. 3 2
      local/3/umbrella_values.yaml

+ 1 - 1
local/3/existing_values.yaml

@@ -106,7 +106,7 @@ ingress:
   custom_paths: []
   customTls:
     enabled: false
-  enabled: false
+  enabled: true
   hosts: []
   porter_hosts:
   - legacy-17e207c81b4cbb84.onporter.run

+ 6 - 6
local/3/template.yaml

@@ -1,13 +1,13 @@
 
-# Source: testchart/charts/legacy-web/templates/deployment.yaml
+# Source: newumbrella/charts/legacy-web/templates/deployment.yaml
 apiVersion: apps/v1
 kind: Deployment
 metadata:
-  name: legacy2-web
+  name: legacy-web2
   labels:
     helm.sh/chart: legacy-web-0.136.0
     app.kubernetes.io/name: legacy-web
-    app.kubernetes.io/instance: umbrella-chart
+    app.kubernetes.io/instance: release-name
     app.kubernetes.io/version: "1.25.0"
     app.kubernetes.io/managed-by: Helm
 spec:
@@ -17,15 +17,15 @@ spec:
   selector:
     matchLabels:
       app.kubernetes.io/name: legacy-web
-      app.kubernetes.io/instance: umbrella-chart
+      app.kubernetes.io/instance: release-name
   template:
     metadata:
       annotations:
         helm.sh/revision: "1"
       labels:
         app.kubernetes.io/name: legacy-web
-        app.kubernetes.io/instance: umbrella-chart
-        porter.run/application-name: "umbrella-chart"
+        app.kubernetes.io/instance: release-name
+        porter.run/application-name: "release-name"
     spec:
       serviceAccountName: legacy-web
       terminationGracePeriodSeconds: 30

+ 3 - 2
local/3/umbrella_values.yaml

@@ -1,4 +1,5 @@
 legacy-web:
+  fullnameOverride: legacy-web
   albIngress:
     custom_paths: []
     enabled: false
@@ -31,7 +32,7 @@ legacy-web:
     env:
       normal: {}
     lifecycle: {}
-    port: 8080
+    port: 80
   currentCluster:
     service:
       is_aws: false
@@ -106,7 +107,7 @@ legacy-web:
     custom_paths: []
     customTls:
       enabled: false
-    enabled: false
+    enabled: true
     hosts: []
     porter_hosts:
     - legacy-17e207c81b4cbb84.onporter.run