lighthouse
Helm chartv0.0.939App 0.0.939
This chart bootstraps installation of [Lighthouse](https://github.com/jenkins-x/lighthouse).
About this chart
Lighthouse
This chart bootstraps installation of Lighthouse.
Installing
- Add jenkins-x helm charts repo
helm repo add jenkins-x http://chartmuseum.jenkins-x.io
helm repo update
- Install (or upgrade)
# This will install Lighthouse in the lighthouse namespace (with a my-lighthouse release name)
# Helm v2
helm upgrade --install my-lighthouse --namespace lighthouse jenkins-x/lighthouse
# Helm v3
helm upgrade --install my-lighthouse --namespace lighthouse jenkins-x/lighthouse
Look below for the list of all available options and their corresponding description.
Uninstalling
To uninstall the chart, simply delete the release.
# This will uninstall Lighthouse in the lighthouse namespace (assuming a my-lighthouse release name)
# Helm v2
helm delete --purge my-lighthouse
# Helm v3
helm uninstall my-lighthouse --namespace lighthouse
Values
| Key | Type | Description | Default |
|---|---|---|---|
cluster.crds.create | bool | Create custom resource definitions | true |
configMaps.config | string | Raw config.yaml content | nil |
configMaps.configUpdater | object | Settings used to configure the config-updater plugin | {"orgAndRepo":"","path":""} |
configMaps.create | bool | Enables creation of config.yaml and plugins.yaml config maps | false |
configMaps.plugins | string | Raw plugins.yaml content | nil |
engines.jenkins | bool | Enables the Jenkins engine | false |
engines.jx | bool | Enables the jx engine | true |
engines.tekton | bool | Enables the tekton engine | false |
env | object | Environment variables | {"JX_DEFAULT_IMAGE":""} |
foghorn.affinity | object | Affinity rules applied to the foghorn pods | {} |
foghorn.image.pullPolicy | string | Template for computing the foghorn controller docker image pull policy | "{{ .Values.image.pullPolicy }}" |
foghorn.image.repository | string | Template for computing the foghorn controller docker image repository | "{{ .Values.image.parentRepository }}/lighthouse-foghorn" |
foghorn.image.tag | string | Template for computing the foghorn controller docker image tag | "{{ .Values.image.tag }}" |
foghorn.nodeSelector | object | Node selector applied to the foghorn pods | {} |
foghorn.replicaCount | int | Number of replicas | 1 |
foghorn.resources.limits | object | Resource limits applied to the foghorn pods | {"cpu":"100m","memory":"256Mi"} |
foghorn.resources.requests | object | Resource requests applied to the foghorn pods | {"cpu":"80m","memory":"128Mi"} |
foghorn.terminationGracePeriodSeconds | int | Termination grace period for foghorn pods | 180 |
foghorn.tolerations | list | Tolerations applied to the foghorn pods | [] |
gcJobs.concurrencyPolicy | string | Drives the job's concurrency policy | "Forbid" |
gcJobs.failedJobsHistoryLimit | int | Drives the failed jobs history limit | 1 |
gcJobs.image.pullPolicy | string | Template for computing the gc job docker image pull policy | "{{ .Values.image.pullPolicy }}" |
gcJobs.image.repository | string | Template for computing the gc job docker image repository | "{{ .Values.image.parentRepository }}/lighthouse-gc-jobs" |
gcJobs.image.tag | string | Template for computing the gc job docker image tag | "{{ .Values.image.tag }}" |
gcJobs.maxAge | string | Max age from which LighthouseJobs will be deleted | "168h" |
gcJobs.schedule | string | Cron expression to periodically delete LighthouseJobs | "0/30 * * * *" |
gcJobs.successfulJobsHistoryLimit | int | Drives the successful jobs history limit | 3 |
git.kind | string | Git SCM provider (github, gitlab, stash) | "github" |
git.server | string | Git server URL | "" |
githubApp.enabled | bool | Enables GitHub app authentication | false |
githubApp.username | string | GitHub app user name | "jenkins-x[bot]" |
hmacToken | string | Secret used for webhooks | "" |
hmacTokenEnabled | bool | Enables the use of a hmac token. This should always be enabled if possible - though some git providers don't support it such as bitbucket cloud | true |
image.parentRepository | string | Docker registry to pull images from | "gcr.io/jenkinsxio" |
image.pullPolicy | string | Image pull policy | "IfNotPresent" |
image.tag | string | Docker images tag | "0.0.939" |
jenkinscontroller.affinity | object | Affinity rules applied to the tekton controller pods | {} |
jenkinscontroller.image.pullPolicy | string | Template for computing the tekton controller docker image pull policy | "{{ .Values.image.pullPolicy }}" |
jenkinscontroller.image.repository | string | Template for computing the Jenkins controller docker image repository | "{{ .Values.image.parentRepository }}/lighthouse-jenkins-controller" |
jenkinscontroller.image.tag | string | Template for computing the tekton controller docker image tag | "{{ .Values.image.tag }}" |
jenkinscontroller.jenkinsToken | string | The token for authenticating the Jenkins user | nil |
jenkinscontroller.jenkinsURL | string | The URL of the Jenkins instance | nil |
jenkinscontroller.jenkinsUser | string | The username for the Jenkins user | nil |
jenkinscontroller.nodeSelector | object | Node selector applied to the tekton controller pods | {} |
jenkinscontroller.podAnnotations | object | Annotations applied to the tekton controller pods | {} |
jenkinscontroller.resources.limits | object | Resource limits applied to the tekton controller pods | {"cpu":"100m","memory":"256Mi"} |
jenkinscontroller.resources.requests | object | Resource requests applied to the tekton controller pods | {"cpu":"80m","memory":"128Mi"} |
jenkinscontroller.service | object | Service settings for the tekton controller | {"annotations":{}} |
jenkinscontroller.terminationGracePeriodSeconds | int | Termination grace period for tekton controller pods | 180 |
jenkinscontroller.tolerations | list | Tolerations applied to the tekton controller pods | [] |
keeper.affinity | object | Affinity rules applied to the keeper pods | {} |
keeper.datadog.enabled | string | Enables datadog | "true" |
keeper.image.pullPolicy | string | Template for computing the keeper controller docker image pull policy | "{{ .Values.image.pullPolicy }}" |
keeper.image.repository | string | Template for computing the keeper controller docker image repository | "{{ .Values.image.parentRepository }}/lighthouse-keeper" |
keeper.image.tag | string | Template for computing the keeper controller docker image tag | "{{ .Values.image.tag }}" |
keeper.livenessProbe | object | Liveness probe configuration | {"initialDelaySeconds":120,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1} |
keeper.nodeSelector | object | Node selector applied to the keeper pods | {} |
keeper.podAnnotations | object | Annotations applied to the keeper pods | {} |
keeper.probe | object | Liveness and readiness probes settings | {"path":"/"} |
keeper.readinessProbe | object | Readiness probe configuration | {"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1} |
keeper.replicaCount | int | Number of replicas | 1 |
keeper.resources.limits | object | Resource limits applied to the keeper pods | {"cpu":"400m","memory":"512Mi"} |
keeper.resources.requests | object | Resource requests applied to the keeper pods | {"cpu":"100m","memory":"128Mi"} |
keeper.service | object | Service settings for the webhooks controller | {"externalPort":80,"internalPort":8888,"type":"ClusterIP"} |
keeper.statusContextLabel | string | Label used to report status to git provider | "Lighthouse Merge Status" |
keeper.terminationGracePeriodSeconds | int | Termination grace period for keeper pods | 30 |
keeper.tolerations | list | Tolerations applied to the keeper pods | [] |
lighthouseJobNamespace | string | Namespace where LighthouseJobs and Pods are created | Deployment namespace |
logFormat | string | Log format | "json" |
oauthToken | string | Git token (used when GitHub app authentication is not enabled) | "" |
tektoncontroller.affinity | object | Affinity rules applied to the tekton controller pods | {} |
tektoncontroller.dashboardTemplate | string | Go template expression for URLs in the dashboard if not using Tekton dashboard | "" |
tektoncontroller.dashboardURL | string | the dashboard URL (e.g. Tekton dashboard) | "" |
tektoncontroller.image.pullPolicy | string | Template for computing the tekton controller docker image pull policy | "{{ .Values.image.pullPolicy }}" |
tektoncontroller.image.repository | string | Template for computing the tekton controller docker image repository | "{{ .Values.image.parentRepository }}/lighthouse-tekton-controller" |
tektoncontroller.image.tag | string | Template for computing the tekton controller docker image tag | "{{ .Values.image.tag }}" |
tektoncontroller.nodeSelector | object | Node selector applied to the tekton controller pods | {} |
tektoncontroller.podAnnotations | object | Annotations applied to the tekton controller pods | {} |
tektoncontroller.replicaCount | int | Number of replicas | 1 |
tektoncontroller.resources.limits | object | Resource limits applied to the tekton controller pods | {"cpu":"100m","memory":"256Mi"} |
tektoncontroller.resources.requests | object | Resource requests applied to the tekton controller pods | {"cpu":"80m","memory":"128Mi"} |
tektoncontroller.service | object | Service settings for the tekton controller | {"annotations":{}} |
tektoncontroller.terminationGracePeriodSeconds | int | Termination grace period for tekton controller pods | 180 |
tektoncontroller.tolerations | list | Tolerations applied to the tekton controller pods | [] |
user | string | Git user name (used when GitHub app authentication is not enabled) | "" |
webhooks.affinity | object | Affinity rules applied to the webhooks pods | {} |
webhooks.customDeploymentTriggerCommand | string | deployments can configure the ability to allow custom lighthouse triggers using their own unique chat prefix, for example extending the default /test trigger prefix let them specify customDeploymentTriggerPrefix: foo which means they can also use their own custom trigger /foo mycoolthing | "" |
webhooks.image.pullPolicy | string | Template for computing the webhooks controller docker image pull policy | "{{ .Values.image.pullPolicy }}" |
webhooks.image.repository | string | Template for computing the webhooks controller docker image repository | "{{ .Values.image.parentRepository }}/lighthouse-webhooks" |
webhooks.image.tag | string | Template for computing the webhooks controller docker image tag | "{{ .Values.image.tag }}" |
webhooks.ingress.annotations | object | Webhooks ingress annotations | {} |
webhooks.ingress.enabled | bool | Enable webhooks ingress | false |
webhooks.ingress.hosts | list | Webhooks ingress host names | [] |
webhooks.labels | object | allow optional labels to be added to the webhook deployment | {} |
webhooks.livenessProbe | object | Liveness probe configuration | {"initialDelaySeconds":60,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1} |
webhooks.nodeSelector | object | Node selector applied to the webhooks pods | {} |
webhooks.podAnnotations | object | Annotations applied to the webhooks pods | {} |
webhooks.probe | object | Liveness and readiness probes settings | {"path":"/"} |
webhooks.readinessProbe | object | Readiness probe configuration | {"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1} |
webhooks.replicaCount | int | Number of replicas | 1 |
webhooks.resources.limits | object | Resource limits applied to the webhooks pods | {"cpu":"100m","memory":"512Mi"} |
webhooks.resources.requests | object | Resource requests applied to the webhooks pods | {"cpu":"80m","memory":"128Mi"} |
webhooks.service | object | Service settings for the webhooks controller | {"annotations":{},"externalPort":80,"internalPort":8080,"type":"ClusterIP"} |
webhooks.serviceName | string | Allows overriding the service name, this is here for compatibility reasons, regular users should clear this out | "hook" |
webhooks.terminationGracePeriodSeconds | int | Termination grace period for webhooks pods | `180 |
Deploy lighthouse with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has lighthouse on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartlighthouse is pinned at v0.0.939 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply