Merge "Fix problem with wrong volume mount names"
[oom.git] / kubernetes / dmaap / components / dmaap-bc / templates / post-install-job.yaml
index ee24cfb..a8833c1 100644 (file)
@@ -4,8 +4,9 @@ metadata:
   name: {{ include "common.fullname" . }}-post-install
   labels:
     app.kubernetes.io/managed-by: {{.Release.Service | quote }}
-    app.kubernetes.io/instance: {{.Release.Name | quote }}
+    app.kubernetes.io/instance: {{include "common.release" . | quote }}
     helm.sh/chart: "{{.Chart.Name}}-{{.Chart.Version}}"
+    release: {{ include "common.release" . }}
   annotations:
     # This is what defines this resource as a hook. Without this line, the
     # job is considered part of the release.
@@ -18,8 +19,9 @@ spec:
       name: {{ include "common.fullname" . }}
       labels:
         app.kubernetes.io/managed-by: {{.Release.Service | quote }}
-        app.kubernetes.io/instance: {{.Release.Name | quote }}
+        app.kubernetes.io/instance: {{include "common.release" . | quote }}
         helm.sh/chart: "{{.Chart.Name}}-{{.Chart.Version}}"
+        release: {{ include "common.release" . }}
     spec:
       restartPolicy: Never
 
@@ -31,9 +33,9 @@ spec:
         - name: DELAY
           value: "0"
         - name: PROTO
-          value: "http"
+          value: "https"
         - name: PORT
-          value: "8080"
+          value: "8443"
         - name: REQUESTID
           value: "{{.Chart.Name}}-post-install"
         volumeMounts: