mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
The `values.yaml` for `stable/concourse` didn't look much consistent, having some values with totally different commenting formats compared to others. This commit also improves the documentation around some of those values that are not very easy to infer what they're all about. By making the values uncommented we can leverage tools that parse yaml files to make sure we have all variables documented. He we also remove an unused debug values file and fix few values check. With the use of default values under `values.yaml` as opposed to commented fields, few values (like default `storageClass`) needed to be updated, as well as adding few checks. Also, Previously we allowed the creation of objects that wouldn't pass `kubeval`'s validation. Now `kubeval` is ok with all of our objects. Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
71 lines
2.9 KiB
Plaintext
71 lines
2.9 KiB
Plaintext
|
|
* Concourse can be accessed:
|
|
|
|
* Within your cluster, at the following DNS name at port {{ .Values.concourse.web.bindPort }}:
|
|
|
|
{{ template "concourse.web.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local
|
|
|
|
{{- if .Values.web.ingress.enabled }}
|
|
|
|
* From outside the cluster, the URL(s) are:
|
|
{{ range .Values.web.ingress.hosts }}
|
|
http://{{ . }}
|
|
{{- end }}
|
|
{{- else }}
|
|
|
|
* From outside the cluster, run these commands in the same shell:
|
|
{{- if contains "NodePort" .Values.web.service.type }}
|
|
|
|
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "concourse.web.fullname" . }})
|
|
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
|
|
echo http://$NODE_IP:$NODE_PORT
|
|
{{- else if contains "LoadBalancer" .Values.web.service.type }}
|
|
|
|
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
|
You can watch the status of by running 'kubectl get svc -w {{ template "concourse.web.fullname" . }}'
|
|
|
|
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "concourse.web.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
|
echo http://$SERVICE_IP:{{ .Values.concourse.web.bindPort }}
|
|
{{- else if contains "ClusterIP" .Values.web.service.type }}
|
|
|
|
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "concourse.web.fullname" . }}" -o jsonpath="{.items[0].metadata.name}")
|
|
echo "Visit http://127.0.0.1:8080 to use Concourse"
|
|
kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME 8080:{{ .Values.concourse.web.bindPort }}
|
|
{{- end }}
|
|
{{- end }}
|
|
* If this is your first time using Concourse, follow the tutorials at https://concourse-ci.org/tutorials.html
|
|
|
|
{{- if .Values.concourse.worker.baggageclaim.driver }}
|
|
{{- if contains "naive" .Values.concourse.worker.baggageclaim.driver }}
|
|
|
|
*******************
|
|
******WARNING******
|
|
*******************
|
|
|
|
You are using the "naive" baggage claim driver, which is also the default value for this chart.
|
|
|
|
This is the default for compatibility reasons, but is very space inefficient, and should be changed to either "btrfs" (recommended) or "overlay" depending on that filesystem's support in the Linux kernel your cluster is using.
|
|
|
|
Please see https://github.com/concourse/concourse/issues/1230 and https://github.com/concourse/concourse/issues/1966 for background.
|
|
|
|
{{- end }}
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- if .Values.concourse.web.localAuth.enabled }}
|
|
{{- if contains "test:test" .Values.secrets.localUsers }}
|
|
|
|
*******************
|
|
******WARNING******
|
|
*******************
|
|
|
|
You're using the default "test" user with the default "test" password.
|
|
|
|
Make sure you either disable local auth or change the combination to something more secure, preferably specifying a password in the bcrypted form.
|
|
|
|
Please see `README.md` for examples.
|
|
|
|
{{- end }}
|
|
{{- end }}
|