concourse / concourse/concourse-chart
Ingress is not created
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 160
- Forks
- 189
- PR merge metrics
- No merged PRs in 30d
Description
I have install concourse using helm chart.
I have add custom ingress data but two things happen:
- first of all ingress isn't created
- second - web pod is ignoring externalUrl flag.
Service is created using helm command:
helm install builder -f concourse-settings.yaml concourse/concourse --namespace builder
My config file:
concourse:
web:
enabled: true
externalUrl: builder.my.domain.name
bindPort: 80
ingress:
hosts:
- builder.my.domain.name
enabled: true
annotations:
external-dns.alpha.kubernetes.io/hostname: builder.my.domain.name
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS":443}]'
alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
alb.ingress.kubernetes.io/certificate-arn: <arn-here>
worker:
baggageclaim:
driver: btrfs
persistence:
worker:
storageClass: gp2
postgresql:
persistence:
storageClass: gp2
secrets:
bitbucketCloudClientId: <token>
bitbucktetCloudClientSecret: <secret>
Because ingress creation isn't working I have made ingress myself:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: "concourse-ingress"
namespace: "builder"
annotations:
external-dns.alpha.kubernetes.io/hostname: builder.my.domain.name
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS":443}]'
alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
alb.ingress.kubernetes.io/certificate-arn: <arn-here>
spec:
rules:
- http:
paths:
- path: /*
backend:
serviceName: "builder-web"
servicePort: 80
Everything is working - i can access dashboard on: https://builder.my.domain.name - but when I click login button it redirects me to 127.0.0.1
I have checked and pod web have configured enviornment variable CONCOURSE_EXTERNAL_URL: builder.my.domain.name.
Then as i supposed it should work correctly.
Have you any advises why it doesn't work correctly?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by rendering the Helm chart with the shown concourse.web.ingress values and inspect the generated Ingress and web deployment environment. Compare the generated configuration with the manually working Ingress and the CONCOURSE_EXTERNAL_URL value; done means the chart creates the Ingress and login redirects to builder.my.domain.name rather than 127.0.0.1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, kubernetes, yaml
- Domain
- cloud, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100