Update ingress
This commit is contained in:
		@@ -13,7 +13,8 @@ kind: Secret
 | 
				
			|||||||
stringData:
 | 
					stringData:
 | 
				
			||||||
{{- end }}
 | 
					{{- end }}
 | 
				
			||||||
{{- with $v.data }}
 | 
					{{- with $v.data }}
 | 
				
			||||||
{{ toYaml . | indent 2}}
 | 
					{{- range $k, $v := $v.data }}
 | 
				
			||||||
 | 
					{{ $k }}: {{ $v | quote }}
 | 
				
			||||||
{{- end }}
 | 
					{{- end }}
 | 
				
			||||||
{{- end }}
 | 
					{{- end }}
 | 
				
			||||||
{{- end -}}
 | 
					{{- end -}}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -17,11 +17,12 @@ metadata:
 | 
				
			|||||||
{{- include "lib.metadata" (dict "Context" $ "customName" $customName "annotations" $v.annotations)}}
 | 
					{{- include "lib.metadata" (dict "Context" $ "customName" $customName "annotations" $v.annotations)}}
 | 
				
			||||||
spec:
 | 
					spec:
 | 
				
			||||||
  ingressClassName: {{ $v.class }}
 | 
					  ingressClassName: {{ $v.class }}
 | 
				
			||||||
  rules:
 | 
					 | 
				
			||||||
  {{- with $v.rules }}
 | 
					  {{- with $v.rules }}
 | 
				
			||||||
 | 
					  rules:
 | 
				
			||||||
    {{- tpl ( . | toYaml | nindent 4 | toString) $  }}
 | 
					    {{- tpl ( . | toYaml | nindent 4 | toString) $  }}
 | 
				
			||||||
  {{- end }}
 | 
					  {{- end }}
 | 
				
			||||||
  {{- with $v.tls }}
 | 
					  {{- with $v.tls }}
 | 
				
			||||||
 | 
					  tls:
 | 
				
			||||||
    {{- tpl ( . | toYaml | nindent 4 | toString) $  }}
 | 
					    {{- tpl ( . | toYaml | nindent 4 | toString) $  }}
 | 
				
			||||||
  {{- end }}
 | 
					  {{- end }}
 | 
				
			||||||
{{- end }}
 | 
					{{- end }}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user