updated readme and restructure project
This commit is contained in:
		
							
								
								
									
										29
									
								
								kubernetes/docker-registry-helm-chart/templates/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								kubernetes/docker-registry-helm-chart/templates/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,29 @@ | ||||
| {{- if .Values.ingress.enabled }} | ||||
| apiVersion: networking.k8s.io/v1 | ||||
| kind: Ingress | ||||
| metadata: | ||||
|   name: {{ .Values.name }}-ingress | ||||
|   namespace: {{ .Values.namespace }} | ||||
|   annotations: | ||||
|   {{- range $key, $value := .Values.ingress.annotations }} | ||||
|     {{ $key }}: {{ $value | quote }} | ||||
|   {{- end }} | ||||
| spec: | ||||
|   rules: | ||||
|     - host: "{{ .Values.host }}" | ||||
|       http: | ||||
|         paths: | ||||
|           - path: / | ||||
|             pathType: Prefix | ||||
|             backend: | ||||
|               service: | ||||
|                 name: {{ .Values.name }}-service | ||||
|                 port: | ||||
|                   number: 5000 | ||||
|   {{- if .Values.ingress.tls.enabled }} | ||||
|   tls: | ||||
|     - hosts: | ||||
|         - "{{ .Values.ingress.tls.host }}" | ||||
|       secretName: {{ .Values.ingress.tls.secretName }} | ||||
|   {{- end }} | ||||
| {{- end }} | ||||
		Reference in New Issue
	
	Block a user