feat: initialize Harbor Helm chart with full component templates and configuration values
This commit is contained in:
21
manifest/harbor/templates/redis/service.yaml
Normal file
21
manifest/harbor/templates/redis/service.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
{{- if eq .Values.redis.type "internal" -}}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ template "harbor.redis" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels:
|
||||
{{ include "harbor.labels" . | indent 4 }}
|
||||
spec:
|
||||
{{- if .Values.ipFamily.policy }}
|
||||
ipFamilyPolicy: {{ .Values.ipFamily.policy }}
|
||||
{{- end }}
|
||||
{{- if .Values.ipFamily.families }}
|
||||
ipFamilies: {{ toYaml .Values.ipFamily.families }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- port: 6379
|
||||
selector:
|
||||
{{ include "harbor.matchLabels" . | indent 4 }}
|
||||
component: redis
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user