Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JenkinsURL is undefined #981

Open
romankydybets opened this issue Jan 15, 2024 · 2 comments
Open

JenkinsURL is undefined #981

romankydybets opened this issue Jan 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@romankydybets
Copy link

romankydybets commented Jan 15, 2024

Describe the bug

I am setting up next params

  serviceAnnotations:
    service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing
    service.beta.kubernetes.io/aws-load-balancer-name: "jenkins-network-lb"
    service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: "ip"
    external-dns.alpha.kubernetes.io/hostname: "jenkins-cicd.test.com"
    external-dns.alpha.kubernetes.io/ttl: "60"
  serviceType: LoadBalancer
  servicePort: 80
  jenkinsUrl: "jenkins-cicd.test.com"
  jenkinsUrlProtocol: "https"

but each time when i changing something and login into the jenkins -> Manage Jenkins -> i see the JenkinsUrl is undefined,
Then i go to System and see the values. so i click just save and everything went fine, to the next changes.

Version of Helm and Kubernetes

- Helm: 
- Kubernetes:

Chart version

4.11.2

What happened?

1.
2.
3.
...

What you expected to happen?

I expected not to have this, as i would like fully automated updated

How to reproduce it

No response

Anything else we need to know?

No response

@romankydybets romankydybets added the bug Something isn't working label Jan 15, 2024
@YakovHerz
Copy link

YakovHerz commented Jan 29, 2024

I'm pretty sure you need to set it either for the controller or the agent:
controller.jenkinsUrl or agent.jenkinsUrl
same for the protocol

@pashcan
Copy link
Contributor

pashcan commented Feb 1, 2024

I had a situation recently where we were using templating parts of the ingress and accidentally borked the URL part because it gets used there: https://github.com/jenkinsci/helm-charts/blob/main/charts/jenkins/templates/_helpers.tpl#L85
Took me better part of the day to eventually just do the helm template . and look at what was ending up in the configmap manifest for jcasc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants