diff --git a/README.md b/README.md index abb3874..1a30ad0 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,7 @@ The following table lists the configurable parameters of the Concourse chart and | `imagePullSecrets` | Array of imagePullSecrets in the namespace for pulling images | `[]` | | `imageTag` | Concourse image version | `8.0.2` | | `image` | Concourse image | `concourse/concourse` | +| `enableServiceLinks` | Enables service links in workload | `true` | | `nameOverride` | Provide a name in place of `concourse` for `app:` labels | `nil` | | `persistence.enabled` | Enable Concourse persistence using Persistent Volume Claims | `true` | | `persistence.worker.accessMode` | Concourse Worker Persistent Volume Access Mode | `ReadWriteOnce` | diff --git a/templates/web-deployment.yaml b/templates/web-deployment.yaml index f60e42f..ef54359 100644 --- a/templates/web-deployment.yaml +++ b/templates/web-deployment.yaml @@ -39,6 +39,7 @@ spec: {{ toYaml .Values.web.annotations | indent 8 }} {{- end }} spec: + enableServiceLinks: {{ .Values.concourse.enableServiceLinks }} {{- if .Values.web.nodeSelector }} nodeSelector: {{ toYaml .Values.web.nodeSelector | indent 8 }} diff --git a/templates/worker-statefulset.yaml b/templates/worker-statefulset.yaml index b0479f0..fac2b50 100644 --- a/templates/worker-statefulset.yaml +++ b/templates/worker-statefulset.yaml @@ -32,6 +32,7 @@ spec: {{ toYaml .Values.worker.annotations | indent 8 }} {{- end }} spec: + enableServiceLinks: {{ .Values.concourse.enableServiceLinks }} {{- if .Values.worker.nodeSelector }} nodeSelector: {{ toYaml .Values.worker.nodeSelector | indent 8 }} diff --git a/values.yaml b/values.yaml index fba480d..fa2c0e9 100644 --- a/values.yaml +++ b/values.yaml @@ -49,6 +49,9 @@ imagePullSecrets: [] ## `concourse web` and `concourse worker` commands. ## concourse: + ## Enables service links for the workload + enableServiceLinks: true + ## Configurations for the `web` component based on the possible flags configurable ## through the `concourse web` command. ##