Regenerate index.yaml, add namespace to NOTES, fix Jenkins CR
This commit is contained in:
		
							parent
							
								
									9b2f44187a
								
							
						
					
					
						commit
						f8b502f393
					
				|  | @ -2,13 +2,13 @@ apiVersion: v1 | |||
| entries: | ||||
|   jenkins-operator: | ||||
|   - apiVersion: v1 | ||||
|     appVersion: "1.0" | ||||
|     created: "2019-09-18T10:03:55.800596+02:00" | ||||
|     description: Jenkins operator is a Kubernetes native operator which fully manages | ||||
|     appVersion: 0.2.0 | ||||
|     created: "2019-09-18T11:28:17.672673+02:00" | ||||
|     description: Kubernetes native operator which fully manages | ||||
|       Jenkins on Kubernetes | ||||
|     digest: 6594e655923d9555bbfc19c7d2fb78580bbc9e7901530dd09aa3877c00759460 | ||||
|     digest: 8dc6fbfb7c6b17d6ea42ff985aa5f52d191277efa396a62a74390c1edf1f9b46 | ||||
|     name: jenkins-operator | ||||
|     urls: | ||||
|     - https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/chart/jenkins-operator/jenkins-operator-0.2.0.tgz | ||||
|     version: 0.2.0 | ||||
| generated: "2019-09-18T10:03:55.799534+02:00" | ||||
|     - https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/chart/jenkins-operator/jenkins-operator-0.0.1.tgz | ||||
|     version: 0.0.1 | ||||
| generated: "2019-09-18T11:28:17.671883+02:00" | ||||
|  |  | |||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							|  | @ -1,5 +1,5 @@ | |||
| apiVersion: v1 | ||||
| appVersion: "1.0" | ||||
| description: Jenkins operator is a Kubernetes native operator which fully manages Jenkins on Kubernetes | ||||
| appVersion: "0.2.0" | ||||
| description: Kubernetes native operator which fully manages Jenkins on Kubernetes | ||||
| name: jenkins-operator | ||||
| version: 0.2.0 | ||||
| version: 0.0.1 | ||||
|  |  | |||
|  | @ -1,11 +1,11 @@ | |||
| 1. Watch Jenkins instance being created: | ||||
| $ kubectl get pods -w | ||||
| $ kubectl --namespace {{ .Values.jenkins.namespace }} get pods -w | ||||
| 
 | ||||
| 2. Get Jenkins credentials: | ||||
| $ kubectl get secret jenkins-operator-credentials-{{ .Values.jenkins.name }} -o 'jsonpath={.data.user}' | base64 -d | ||||
| $ kubectl get secret jenkins-operator-credentials-{{ .Values.jenkins.name }} -o 'jsonpath={.data.password}' | base64 -d | ||||
| $ kubectl --namespace {{ .Values.jenkins.namespace }} get secret jenkins-operator-credentials-{{ .Values.jenkins.name }} -o 'jsonpath={.data.user}' | base64 -d | ||||
| $ kubectl --namespace {{ .Values.jenkins.namespace }} get secret jenkins-operator-credentials-{{ .Values.jenkins.name }} -o 'jsonpath={.data.password}' | base64 -d | ||||
| 
 | ||||
| 3. Connect to Jenkins (minikube): | ||||
| $ minikube service jenkins-operator-http-{{ .Values.jenkins.name }} --url | ||||
| Connect to Jenkins (actual Kubernetes cluster): | ||||
| $ kubectl port-forward jenkins-{{ .Values.jenkins.name }} 8080:8080 | ||||
| 3. Connect to Jenkins (actual Kubernetes cluster): | ||||
| $ kubectl --namespace {{ .Values.jenkins.namespace }} port-forward jenkins-{{ .Values.jenkins.name }} 8080:8080 | ||||
| 
 | ||||
| Now open the browser and enter http://localhost:8080 | ||||
|  | @ -1,6 +1,8 @@ | |||
| apiVersion: {{ .Values.jenkins.apiVersion }} | ||||
| kind: Jenkins | ||||
| metadata: | ||||
|     name: {{ .Values.jenkins.name }} | ||||
| master: | ||||
|         {{- toYaml .Values.jenkins.master | nindent 4 }} | ||||
|   name: {{ .Values.jenkins.name }} | ||||
|   namespace: {{ .Values.jenkins.namespace  }} | ||||
| spec: | ||||
|   master: | ||||
|         {{- toYaml .Values.jenkins.spec.master | nindent 4 }} | ||||
|  |  | |||
|  | @ -16,58 +16,40 @@ fullnameOverride: "" | |||
| jenkins: | ||||
|     apiVersion: jenkins.io/v1alpha2 | ||||
|     name: example | ||||
|     master: | ||||
|       containers: | ||||
|         - name: jenkins-master | ||||
|           image: jenkins/jenkins:lts | ||||
|           imagePullPolicy: Always | ||||
|           livenessProbe: | ||||
|             failureThreshold: 12 | ||||
|             httpGet: | ||||
|               path: /login | ||||
|               port: http | ||||
|               scheme: HTTP | ||||
|             initialDelaySeconds: 80 | ||||
|             periodSeconds: 10 | ||||
|             successThreshold: 1 | ||||
|             timeoutSeconds: 5 | ||||
|           readinessProbe: | ||||
|             failureThreshold: 3 | ||||
|             httpGet: | ||||
|               path: /login | ||||
|               port: http | ||||
|               scheme: HTTP | ||||
|             initialDelaySeconds: 30 | ||||
|             periodSeconds: 10 | ||||
|             successThreshold: 1 | ||||
|             timeoutSeconds: 1 | ||||
|           resources: | ||||
|             limits: | ||||
|               cpu: 1500m | ||||
|               memory: 3Gi | ||||
|             requests: | ||||
|               cpu: "1" | ||||
|               memory: 500Mi | ||||
|       seedJobs: | ||||
|         - id: jenkins-operator | ||||
|           targets: "cicd/jobs/*.jenkins" | ||||
|           description: "Jenkins Operator repository" | ||||
|           repositoryBranch: master | ||||
|           repositoryUrl: https://github.com/jenkinsci/kubernetes-operator.git | ||||
| 
 | ||||
| ingress: | ||||
|   enabled: false | ||||
|   annotations: {} | ||||
|     # kubernetes.io/ingress.class: nginx | ||||
|     # kubernetes.io/tls-acme: "true" | ||||
|   hosts: | ||||
|     - host: chart-example.local | ||||
|       paths: [] | ||||
| 
 | ||||
|   tls: [] | ||||
|   #  - secretName: chart-example-tls | ||||
|   #    hosts: | ||||
|   #      - chart-example.local | ||||
|     namespace: default | ||||
|     spec: | ||||
|       master: | ||||
|         containers: | ||||
|           - name: jenkins-master | ||||
|             image: jenkins/jenkins:lts | ||||
|             imagePullPolicy: Always | ||||
|             livenessProbe: | ||||
|               failureThreshold: 12 | ||||
|               httpGet: | ||||
|                 path: /login | ||||
|                 port: http | ||||
|                 scheme: HTTP | ||||
|               initialDelaySeconds: 80 | ||||
|               periodSeconds: 10 | ||||
|               successThreshold: 1 | ||||
|               timeoutSeconds: 5 | ||||
|             readinessProbe: | ||||
|               failureThreshold: 3 | ||||
|               httpGet: | ||||
|                 path: /login | ||||
|                 port: http | ||||
|                 scheme: HTTP | ||||
|               initialDelaySeconds: 30 | ||||
|               periodSeconds: 10 | ||||
|               successThreshold: 1 | ||||
|               timeoutSeconds: 1 | ||||
|             resources: | ||||
|               limits: | ||||
|                 cpu: 1500m | ||||
|                 memory: 3Gi | ||||
|               requests: | ||||
|                 cpu: "1" | ||||
|                 memory: 500Mi | ||||
| 
 | ||||
| resources: {} | ||||
|   # We usually recommend not to specify default resources and to leave this as a conscious | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue