This commit is contained in:
parent
a7e111cc96
commit
291b553638
@ -30,10 +30,7 @@ steps:
|
|||||||
skip_tls_verify: true
|
skip_tls_verify: true
|
||||||
values_files:
|
values_files:
|
||||||
- .drone/helm/values.yaml
|
- .drone/helm/values.yaml
|
||||||
values:
|
- .drone/helm/staging-val.yaml
|
||||||
- ingress.tls.host: newsite.staging.dutchellie.nl
|
|
||||||
- ingress.hosts:
|
|
||||||
- host: newsite.staging.dutchellie.nl
|
|
||||||
kube_api_server:
|
kube_api_server:
|
||||||
from_secret: staging_api_server
|
from_secret: staging_api_server
|
||||||
kube_token:
|
kube_token:
|
||||||
|
@ -10,9 +10,13 @@ spec:
|
|||||||
ingressClassName: {{ .Values.ingress.className }}
|
ingressClassName: {{ .Values.ingress.className }}
|
||||||
{{- if .Values.ingress.tls }}
|
{{- if .Values.ingress.tls }}
|
||||||
tls:
|
tls:
|
||||||
|
{{- range .Values.ingress.tls }}
|
||||||
- hosts:
|
- hosts:
|
||||||
- {{ .Values.ingress.tls.host }}
|
{{- range .hosts }}
|
||||||
secretName: {{ .Values.ingress.tls.secretName }}
|
- {{ . | quote }}
|
||||||
|
{{- end }}
|
||||||
|
secretName: {{ .secretName }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
{{- range .Values.ingress.hosts }}
|
{{- range .Values.ingress.hosts }}
|
||||||
|
@ -15,9 +15,11 @@ ingress:
|
|||||||
name: newsite-ingress
|
name: newsite-ingress
|
||||||
annotations: {}
|
annotations: {}
|
||||||
className: nginx
|
className: nginx
|
||||||
tls:
|
tls: []
|
||||||
host: example.com
|
# tls:
|
||||||
secretName: newsite-tls
|
# - hosts:
|
||||||
|
# - example.com
|
||||||
|
# secretName: example-tls
|
||||||
hosts:
|
hosts:
|
||||||
- host: example.com
|
- host: example.com
|
||||||
paths:
|
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