(svc Service, useTLS bool)
| 14 | } |
| 15 | |
| 16 | func authPatchPre022(svc Service, useTLS bool) *Service { |
| 17 | svc.Labels = Ingresses{ |
| 18 | { |
| 19 | Name: "auth", |
| 20 | TLS: useTLS, |
| 21 | Rule: traefikHostMatch("auth"), |
| 22 | Port: authPort, |
| 23 | Rewrite: nil, |
| 24 | }, |
| 25 | }.Labels() |
| 26 | |
| 27 | return &svc |
| 28 | } |
| 29 | |
| 30 | func auth( //nolint:funlen |
| 31 | cfg *model.ConfigConfig, |
no test coverage detected