Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit 177abfe

Browse files
authored
Merge pull request #2461 from thedadams/traefik-external-names
fix: allow traefik external names in ingress
2 parents ce008ae + 7be0a0f commit 177abfe

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pkg/install/install.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func Install(ctx context.Context, image string, opts *Options) error {
270270
s.Success()
271271

272272
if installIngressController {
273-
if err := installTraefik(ctx, opts.Progress, c, apply); err != nil {
273+
if err := installTraefik(ctx, opts.Progress, apply); err != nil {
274274
return err
275275
}
276276
}
@@ -419,7 +419,7 @@ func missingIngressClass(ctx context.Context, client kclient.Client) (bool, erro
419419
return len(ingressClassList.Items) <= 0, nil
420420
}
421421

422-
func installTraefik(ctx context.Context, p progress.Builder, client kclient.WithWatch, apply apply.Apply) (err error) {
422+
func installTraefik(ctx context.Context, p progress.Builder, apply apply.Apply) (err error) {
423423
pb := p.New("Installing Traefik Ingress Controller")
424424
defer func() {
425425
_ = pb.Fail(err)

pkg/install/traefik.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ spec:
180180
- "--metrics.prometheus.entrypoint=metrics"
181181
- "--providers.kubernetesingress"
182182
- "--providers.kubernetesingress.ingressendpoint.publishedservice=acorn-system/traefik"
183+
- "--providers.kubernetesingress.allowexternalnameservices=true"
183184
- "--entrypoints.websecure.http.tls=true"
184185
volumes:
185186
- name: data

0 commit comments

Comments
 (0)