Skip to content

Commit 410e398

Browse files
authored
Merge pull request #384 from concourse/release/7.14.x
Merge Release/7.14.x into master
2 parents af7253d + 80a89f8 commit 410e398

3 files changed

Lines changed: 58 additions & 0 deletions

File tree

templates/_helpers.tpl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,12 @@ Return concourse environment variables for worker configuration
284284
value: {{ . | title | quote }}
285285
{{- end }}
286286
{{- end }}
287+
{{- if .Values.concourse.worker.containerd.additionalHosts }}
288+
{{- range .Values.concourse.worker.containerd.additionalHosts }}
289+
- name: CONCOURSE_CONTAINERD_ADDITIONAL_HOSTS
290+
value: {{ . | title | quote }}
291+
{{- end }}
292+
{{- end }}
287293
{{- if .Values.concourse.worker.containerd.allowHostAccess }}
288294
- name: CONCOURSE_CONTAINERD_ALLOW_HOST_ACCESS
289295
value: {{ .Values.concourse.worker.containerd.allowHostAccess | quote }}
@@ -481,6 +487,10 @@ Return concourse environment variables for postgresql configuration
481487
- name: CONCOURSE_POSTGRES_SSLMODE
482488
value: {{ .Values.concourse.web.postgres.sslmode | quote }}
483489
{{- end }}
490+
{{- if .Values.concourse.web.postgres.sslNegotiation }}
491+
- name: CONCOURSE_POSTGRES_SSLNEGOTIATION
492+
value: {{ .Values.concourse.web.postgres.sslNegotiation | quote }}
493+
{{- end }}
484494
{{- if .Values.secrets.postgresCaCert }}
485495
- name: CONCOURSE_POSTGRES_CA_CERT
486496
value: "{{ .Values.web.postgresqlSecretsPath }}/ca.cert"

templates/web-deployment.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,19 @@ spec:
747747
value: {{ .Values.concourse.web.conjur.secretTemplate | quote }}
748748
{{- end }}
749749

750+
{{- if .Values.concourse.web.idToken.signingKey.checkInterval }}
751+
- name: CONCOURSE_SIGNING_KEY_CHECK_INTERVAL
752+
value: {{ .Values.concourse.web.idToken.signingKey.checkInterval | quote }}
753+
{{- end }}
754+
{{- if .Values.concourse.web.idToken.signingKey.rotationPeriod }}
755+
- name: CONCOURSE_SIGNING_KEY_ROTATION_PERIOD
756+
value: {{ .Values.concourse.web.idToken.signingKey.rotationPeriod | quote }}
757+
{{- end }}
758+
{{- if .Values.concourse.web.idToken.signingKey.gracePeriod }}
759+
- name: CONCOURSE_SIGNING_KEY_GRACE_PERIOD
760+
value: {{ .Values.concourse.web.idToken.signingKey.gracePeriod | quote }}
761+
{{- end }}
762+
750763
{{- if .Values.concourse.web.metrics.hostName }}
751764
- name: CONCOURSE_METRICS_HOST_NAME
752765
value: {{ .Values.concourse.web.metrics.hostName | quote }}

values.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,11 @@ concourse:
486486
##
487487
sslmode: disable
488488

489+
## Controls how SSL encryption is negotiated with the server. (default: postgres)
490+
## Can be set to "postgres" or "direct".
491+
##
492+
sslNegotiation:
493+
489494
## Dialing timeout. (0 means wait indefinitely)
490495
##
491496
connectTimeout: 5m
@@ -723,6 +728,29 @@ concourse:
723728
# Path used to locate a vault or safe-level secret
724729
secretTemplate: concourse/{{.Secret}}
725730

731+
## Configuration for Concourse Identity Tokens.
732+
## Ref: https://concourse-ci.org/idtoken-credential-manager.html
733+
##
734+
idToken:
735+
## Configuration for the Signing Key used to sign identity tokens
736+
## generated by Concourse.
737+
##
738+
signingKey:
739+
## How often to check for outdated or expired signing keys for the
740+
## idtoken secrets provider (default: 10m)
741+
##
742+
checkInterval:
743+
744+
## After which time a new signing key for the idtoken secrets provider
745+
## should be generated. 0 turns off generation of new keys (default: 168h)
746+
##
747+
rotationPeriod:
748+
749+
## How long a key should still be published for the idtoken secrets
750+
## provider after a new key has been generated (default: 24h)
751+
##
752+
gracePeriod:
753+
726754
tracing:
727755
## Service name to attach to traces as metadata.
728756
#
@@ -1798,6 +1826,13 @@ concourse:
17981826
## - 2.2.2.2
17991827
restrictedNetworks: []
18001828

1829+
## List of hosts to be added to /etc/hosts file.
1830+
## Example:
1831+
## additionalHosts:
1832+
## - 1.1.1.1 example.com
1833+
## - 2.2.2.2 another.example.com
1834+
additionalHosts: []
1835+
18011836
## Allows containers to reach host network.
18021837
allowHostAccess:
18031838

0 commit comments

Comments
 (0)