Jenkins K8s

  • Canonical IS DevOps
Channel Revision Published Runs on
latest/stable 127 07 Nov 2024
Ubuntu 22.04
latest/edge 139 17 Dec 2024
Ubuntu 22.04
juju deploy jenkins-k8s
Show information

Platform:

How to rotate credentials

Rotate credentials

To rotate credentials for the admin account and invalidate all logged in user sessions, run the rotate-credentials action.

juju run jenkins-k8s/0 rotate-credentials 

The output should look similar to the contents below:

unit-jenkins-k8s-0:
  UnitId: jenkins-k8s/0
  id: "1"
  results:
    password: <new password>
  status: completed
  timing:
    completed: <timestamp>
    enqueued: <timestamp>
    started: <timestamp>

You can use the newly generated password above to access your Jenkins server UI at http://<UNIT_IP>:8080 as the “admin” user.