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

Commit

Permalink
Merge pull request #2461 from thedadams/traefik-external-names
Browse files Browse the repository at this point in the history
fix: allow traefik external names in ingress
  • Loading branch information
thedadams authored Jan 26, 2024
2 parents ce008ae + 7be0a0f commit 177abfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func Install(ctx context.Context, image string, opts *Options) error {
s.Success()

if installIngressController {
if err := installTraefik(ctx, opts.Progress, c, apply); err != nil {
if err := installTraefik(ctx, opts.Progress, apply); err != nil {
return err
}
}
Expand Down Expand Up @@ -419,7 +419,7 @@ func missingIngressClass(ctx context.Context, client kclient.Client) (bool, erro
return len(ingressClassList.Items) <= 0, nil
}

func installTraefik(ctx context.Context, p progress.Builder, client kclient.WithWatch, apply apply.Apply) (err error) {
func installTraefik(ctx context.Context, p progress.Builder, apply apply.Apply) (err error) {
pb := p.New("Installing Traefik Ingress Controller")
defer func() {
_ = pb.Fail(err)
Expand Down
1 change: 1 addition & 0 deletions pkg/install/traefik.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ spec:
- "--metrics.prometheus.entrypoint=metrics"
- "--providers.kubernetesingress"
- "--providers.kubernetesingress.ingressendpoint.publishedservice=acorn-system/traefik"
- "--providers.kubernetesingress.allowexternalnameservices=true"
- "--entrypoints.websecure.http.tls=true"
volumes:
- name: data
Expand Down

0 comments on commit 177abfe

Please sign in to comment.