github.com/replicatedcom/ship@v0.50.0/integration/update/helm-values-files-and-new-files/expected/.ship/upstream/templates/NOTES.txt (about) 1 1. Get your '{{ .Values.Master.AdminUser }}' user password by running: 2 printf $(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "jenkins.fullname" . }} -o jsonpath="{.data.jenkins-admin-password}" | base64 --decode);echo 3 4 {{- if .Values.Master.HostName }} 5 6 2. Visit http://{{ .Values.Master.HostName }} 7 {{- else }} 8 2. Get the Jenkins URL to visit by running these commands in the same shell: 9 {{- if contains "NodePort" .Values.Master.ServiceType }} 10 export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "jenkins.fullname" . }}) 11 export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") 12 echo http://$NODE_IP:$NODE_PORT/login 13 14 {{- else if contains "LoadBalancer" .Values.Master.ServiceType }} 15 NOTE: It may take a few minutes for the LoadBalancer IP to be available. 16 You can watch the status of by running 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "jenkins.fullname" . }}' 17 export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "jenkins.fullname" . }} --template "{{ "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}" }}") 18 echo http://$SERVICE_IP:{{ .Values.Master.ServicePort }}/login 19 20 {{- else if contains "ClusterIP" .Values.Master.ServiceType }} 21 export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "component={{ .Release.Name }}-{{ .Values.Master.Component }}" -o jsonpath="{.items[0].metadata.name}") 22 echo http://127.0.0.1:{{ .Values.Master.ServicePort }} 23 kubectl port-forward $POD_NAME {{ .Values.Master.ServicePort }}:{{ .Values.Master.ServicePort }} 24 25 {{- end }} 26 {{- end }} 27 28 3. Login with the password from step 1 and the username: {{ .Values.Master.AdminUser }} 29 30 For more information on running Jenkins on Kubernetes, visit: 31 https://cloud.google.com/solutions/jenkins-on-container-engine 32 33 {{- if .Values.Persistence.Enabled }} 34 {{- else }} 35 ################################################################################# 36 ###### WARNING: Persistence is disabled!!! You will lose your data when ##### 37 ###### the Jenkins pod is terminated. ##### 38 ################################################################################# 39 {{- end }} 40 41 {{- if .Values.rbac.install }} 42 Configure the Kubernetes plugin in Jenkins to use the following Service Account name {{ template "jenkins.fullname" . }} using the following steps: 43 Create a Jenkins credential of type Kubernetes service account with service account name {{ template "jenkins.fullname" . }} 44 Under configure Jenkins -- Update the credentials config in the cloud section to use the service account credential you created in the step above. 45 {{- end }}