Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/drupal/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: drupal
apiVersion: v2
type: application
version: 2.0.0-beta12
version: 2.0.0-beta13
appVersion: 6.1.4
description: Helm Chart for deploying an enterprise-grade Drupal environment.
keywords:
Expand Down
9 changes: 9 additions & 0 deletions charts/drupal/templates/route/drupal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ spec:
tls:
termination: {{ .termination | default "edge" }}
insecureEdgeTerminationPolicy: {{ .insecureEdgeTerminationPolicy | default "Redirect" }}
{{- if .key }}
key: {{ .key }}
{{- end }}
{{- if .certificate }}
certificate: {{ .certificate }}
{{- end }}
{{- if .caCertificate }}
caCertificate: {{ .caCertificate }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
13 changes: 13 additions & 0 deletions charts/drupal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,22 @@ route:
hosts:
- chart-example.local
tls:
# Terminate TLS at the OpenShift router (edge): HTTPS is decrypted here,
# then the request is forwarded to the app over plain HTTP internally.
termination: edge

# Redirect insecure HTTP requests to HTTPS when they reach the route.
insecureEdgeTerminationPolicy: Redirect

# Private key for the route certificate (PEM format)
# key:

# Public certificate for the route (PEM format)
# certificate:

# Optional CA certificate chain used to validate the backend/route cert
# caCertificate:

extraEnvVars: []

netpol:
Expand Down
Loading