Code Monkey home page Code Monkey logo

Comments (5)

javsalgar avatar javsalgar commented on September 23, 2024

Hi!

I'm not sure I understood the issue completely. What do you mean by copying the password from inside the pod? What exact steps are being missed? Is the login operation failing?

from charts.

busyboy77 avatar busyboy77 commented on September 23, 2024

this mean that the adminPassword has to be acquired from side the Jenkins Pod when the Helm chart is deployed completely.

you see disableInitialization: "no" , which should disable any sort intialization for Jenkins, but either it is not working or what, we have to setup the whole Jenkins at the start
copy the password from inside the pod
install default plugins ( although all the required plugins are already listed in values.yaml)

from charts.

fevisera avatar fevisera commented on September 23, 2024

Hi @busyboy77,

I think I was able to reproduce what you are saying:

  • Installed the helm chart:
$ helm install $namespace . --create-namespace -f my-values.yaml 
...
1. Get the Jenkins URL by running:

  echo "Jenkins URL: http://127.0.0.1:8080/"
  kubectl port-forward --namespace jenkins svc/jenkins 8080:80

2. Login with the following credentials

  echo Username: user
  echo Password: $(kubectl get secret --namespace jenkins jenkins -o jsonpath="{.data.jenkins-password}" | base64 -d)
  • That created secret with an autogenerated password:
$ echo Password: $(kubectl get secret --namespace jenkins jenkins -o jsonpath="{.data.jenkins-password}" | base64 -d)
Password: TSY3SpCaKh
  • The jenkins pod logs a setup password:
$ k logs -f jenkins-868bb8788-m7d4b
...
*************************************************************

Jenkins initial setup is required. An admin user has been created and a password generated.
Please use the following password to proceed to installation:

c2e208eba6f54826a5fa965bdaac7227

This may also be found at: /bitnami/jenkins/home/secrets/initialAdminPassword

*************************************************************
...

Is that what you mean? If so, could you give more details on why you say "password sometimes work only"? I mean, if Jenkins requires an internal password with a different length, it would never match.

from charts.

github-actions avatar github-actions commented on September 23, 2024

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

from charts.

github-actions avatar github-actions commented on September 23, 2024

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

from charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.