Update nexus helm charts. Docker and helm repos are exposed using separated ingress...
[it/dep.git] / ric-infra / 10-Nexus / helm / templates / secret-helm.yaml
index 49e47da..ce7bec6 100644 (file)
@@ -19,14 +19,9 @@ apiVersion: v1
 kind: Secret
 type: kubernetes.io/tls
 metadata:
-  name: {{ include "common.helmrepositorycert" . }}
-  labels:
-    app: {{ template "nexus.name" . }}
-    chart: {{ template "nexus.chart" . }}
-    heritage: {{ .Release.Service }}
-    release: {{ .Release.Name }}
+  name: secret-{{ include "common.name.nexus" . }}-helm
   annotations:
     "helm.sh/hook": "pre-install"
     "helm.sh/hook-delete-policy": "before-hook-creation"
 data:
-{{ ( include "common.helmrepository.gen-certs" . ) | indent 2 }}
+{{ ( include "nexus.gen-helm-cert" . ) | indent 2 }}