Add harbor chart

This commit is contained in:
2023-09-23 21:45:09 +08:00
parent 8fe357d823
commit 378eafc1a2
55 changed files with 6476 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
{{ if .Values.trivy.enabled }}
apiVersion: v1
kind: Service
metadata:
name: "{{ template "harbor.trivy" . }}"
labels:
{{ include "harbor.labels" . | indent 4 }}
spec:
ports:
- name: {{ ternary "https-trivy" "http-trivy" .Values.internalTLS.enabled }}
protocol: TCP
port: {{ template "harbor.trivy.servicePort" . }}
selector:
{{ include "harbor.matchLabels" . | indent 4 }}
component: trivy
{{ end }}