From 3ee7819bf0dc95c20b9a609db930528c8c6ab87f Mon Sep 17 00:00:00 2001 From: mengkzhaoyun Date: Sun, 7 Apr 2019 01:30:57 +0800 Subject: [PATCH] update --- templates/ingress/notary-ingress.yaml | 33 --------------------------- 1 file changed, 33 deletions(-) delete mode 100644 templates/ingress/notary-ingress.yaml diff --git a/templates/ingress/notary-ingress.yaml b/templates/ingress/notary-ingress.yaml deleted file mode 100644 index 17a436d..0000000 --- a/templates/ingress/notary-ingress.yaml +++ /dev/null @@ -1,33 +0,0 @@ -{{- if .Values.notary.enabled }} -{{- if eq .Values.expose.type "ingress" }} -{{- $ingress := .Values.expose.ingress -}} -apiVersion: extensions/v1beta1 -kind: Ingress -metadata: - name: "{{ template "harbor.ingress.notary" . }}" - labels: -{{ include "harbor.labels" . | indent 4 }} - annotations: -{{ toYaml $ingress.annotations | indent 4 }} - {{ printf "%s: /" $ingress.rewriteAnnotation }} -spec: - {{- if .Values.expose.tls.enabled }} - tls: - - secretName: {{ template "harbor.certificate-secret" . }} - {{- if $ingress.host }} - hosts: - - {{ $ingress.host }} - {{- end }} - {{- end }} - rules: - - http: - paths: - - path: /notary/ - backend: - serviceName: {{ template "harbor.notary-server" . }} - servicePort: 4443 - {{- if $ingress.host }} - host: {{ $ingress.host }} - {{- end }} -{{- end }} -{{- end }} \ No newline at end of file -- 2.26.0