#31 Update docs
This commit is contained in:
		
							parent
							
								
									a05c496322
								
							
						
					
					
						commit
						8fc2917afb
					
				|  | @ -8,7 +8,8 @@ This document describes a getting started guide for **jenkins-operator** and an | ||||||
| 4. [Install Plugins](#install-plugins) | 4. [Install Plugins](#install-plugins) | ||||||
| 5. [Configure Backup & Restore](#configure-backup-and-restore) | 5. [Configure Backup & Restore](#configure-backup-and-restore) | ||||||
| 6. [AKS](#aks) | 6. [AKS](#aks) | ||||||
| 7. [Debugging](#debugging) | 7. [Jenkins login credentials](#jenkins-login-credentials) | ||||||
|  | 8. [Debugging](#debugging) | ||||||
| 
 | 
 | ||||||
| ## First Steps | ## First Steps | ||||||
| 
 | 
 | ||||||
|  | @ -95,7 +96,7 @@ Connect to Jenkins (actual Kubernetes cluster): | ||||||
| ```bash | ```bash | ||||||
| kubectl port-forward jenkins-<cr_name> 8080:8080 | kubectl port-forward jenkins-<cr_name> 8080:8080 | ||||||
| ``` | ``` | ||||||
| Then open browser with address http://localhost:8080. | Then open browser with address `http://localhost:8080`. | ||||||
|  |  | ||||||
| 
 | 
 | ||||||
| ## Configure Seed Jobs and Pipelines | ## Configure Seed Jobs and Pipelines | ||||||
|  | @ -467,6 +468,27 @@ Azure AKS managed Kubernetes service adds to every pod the following envs: | ||||||
| The operator is aware of it and omits these envs when checking if Jenkins pod envs have been changed. It prevents  | The operator is aware of it and omits these envs when checking if Jenkins pod envs have been changed. It prevents  | ||||||
| restart Jenkins pod over and over again. | restart Jenkins pod over and over again. | ||||||
| 
 | 
 | ||||||
|  | ## Jenkins login credentials | ||||||
|  | 
 | ||||||
|  | The operator automatically generate Jenkins user name and password and stores it in Kubernetes secret named  | ||||||
|  | `jenkins-operator-credentials-<cr_name>` in namespace where Jenkins CR has been deployed. | ||||||
|  | 
 | ||||||
|  | If you want change it you can override the secret: | ||||||
|  | 
 | ||||||
|  | ```yaml | ||||||
|  | apiVersion: v1 | ||||||
|  | kind: Secret | ||||||
|  | metadata: | ||||||
|  |   name: jenkins-operator-credentials-<cr-name> | ||||||
|  |   namespace: <namespace> | ||||||
|  | data: | ||||||
|  |   user: <base64-encoded-new-username> | ||||||
|  |   password: <base64-encoded-new-password> | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | If needed **jenkins-operator** will restart Jenkins master pod and then you can login with the new user and password  | ||||||
|  | credentials. | ||||||
|  | 
 | ||||||
| ## Debugging | ## Debugging | ||||||
| 
 | 
 | ||||||
| Turn on debug in **jenkins-operator** deployment: | Turn on debug in **jenkins-operator** deployment: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue