mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Set empty TLS secrets by default instead of referencing non-existent ones from the config (#29688)
This change fixes nginx errors regarding non-existent config: e.g.: ``` W0602 09:49:37.725821 7 controller.go:1720] Error getting SSL certificate "fleetdm/chart-example-tls": local SSL certificate fleetdm/chart-example-tls was not found ``` ``` ➜ ~ k describe ingress fleetdm -n fleetdm Name: fleetdm .... Ingress Class: nginx Default backend: <default> TLS: chart-example-tls terminates chart-example.local Rules: ``` This approach is simpler than requiring everyone to set tls: [] in their values file.
This commit is contained in:
parent
590bfd4cf3
commit
4a411c3703
2 changed files with 8 additions and 9 deletions
|
|
@ -55,10 +55,10 @@ ingress:
|
|||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- secretName: chart-example-tls
|
||||
hosts:
|
||||
- chart-example.local
|
||||
tls: []
|
||||
# - secretName: chart-example-tls
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
|
||||
## Section: Fleet
|
||||
# All of the settings relating to configuring the Fleet server
|
||||
|
|
|
|||
|
|
@ -56,11 +56,10 @@ ingress:
|
|||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
#tls: []
|
||||
tls:
|
||||
- secretName: chart-example-tls
|
||||
hosts:
|
||||
- chart-example.local
|
||||
tls: []
|
||||
# - secretName: chart-example-tls
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
|
|
|
|||
Loading…
Reference in a new issue