This commit is contained in:
		
							parent
							
								
									a7e111cc96
								
							
						
					
					
						commit
						291b553638
					
				| @ -30,10 +30,7 @@ steps: | ||||
|     skip_tls_verify: true | ||||
|     values_files: | ||||
|       - .drone/helm/values.yaml | ||||
|     values: | ||||
|       - ingress.tls.host: newsite.staging.dutchellie.nl | ||||
|       - ingress.hosts:  | ||||
|           - host: newsite.staging.dutchellie.nl | ||||
|       - .drone/helm/staging-val.yaml | ||||
|     kube_api_server: | ||||
|       from_secret: staging_api_server | ||||
|     kube_token: | ||||
|  | ||||
| @ -10,9 +10,13 @@ spec: | ||||
|   ingressClassName: {{ .Values.ingress.className }} | ||||
| {{- if .Values.ingress.tls }} | ||||
|   tls: | ||||
|   {{- range .Values.ingress.tls }} | ||||
|     - hosts: | ||||
|         - {{ .Values.ingress.tls.host }} | ||||
|       secretName: {{ .Values.ingress.tls.secretName }} | ||||
|       {{- range .hosts }} | ||||
|         - {{ . | quote }} | ||||
|       {{- end }} | ||||
|       secretName: {{ .secretName }} | ||||
|   {{- end }} | ||||
| {{- end }} | ||||
|   rules: | ||||
|     {{- range .Values.ingress.hosts }} | ||||
|  | ||||
| @ -15,9 +15,11 @@ ingress: | ||||
|   name: newsite-ingress | ||||
|   annotations: {} | ||||
|   className: nginx | ||||
|   tls:  | ||||
|     host: example.com | ||||
|     secretName: newsite-tls   | ||||
|   tls: [] | ||||
|   # tls: | ||||
|   # - hosts: | ||||
|   #   - example.com | ||||
|   #   secretName: example-tls | ||||
|   hosts: | ||||
|     - host: example.com | ||||
|       paths: | ||||
|  | ||||
							
								
								
									
										13
									
								
								.drone/helm/staging-val.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								.drone/helm/staging-val.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,13 @@ | ||||
| name: newsite-staging | ||||
| service: newsite-staging | ||||
| ingress: | ||||
|   name: newsite-staging | ||||
|   tls: | ||||
|     - hosts: | ||||
|         - newsite.staging.dutchellie.nl | ||||
|       secretName: newsite-staging-tls | ||||
|   hosts: | ||||
|     - host: newsite.staging.dutchellie.nl | ||||
|       paths: | ||||
|         - path: / | ||||
|           pathType: Prefix | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user