Skip to content

Commit a926804

Browse files
committed
feat: disable compression for Contour installations (pscloud-483)
1 parent 9f37e0e commit a926804

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

roles/baseline/tasks/contour.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,30 @@
7171
- install
7272
- update
7373

74+
# Patch Contour ConfigMap to add compression configuration (PSCLOUD-483)
75+
# Note: Contour Helm chart v0.2.1 doesn't properly merge configFileContents,
76+
# so we need to patch the ConfigMap directly after deployment
77+
- name: Patch Contour ConfigMap with compression settings
78+
kubernetes.core.k8s:
79+
state: patched
80+
kind: ConfigMap
81+
name: "{{ CONTOUR_NAME }}"
82+
namespace: "{{ CONTOUR_NAMESPACE }}"
83+
kubeconfig: "{{ KUBECONFIG }}"
84+
definition:
85+
data:
86+
contour.yaml: |
87+
accesslog-format: envoy
88+
compression:
89+
algorithm: disabled
90+
disablePermitInsecure: false
91+
tls:
92+
fallback-certificate: {}
93+
when: CONTOUR_CONFIG.contour.configFileContents.compression is defined
94+
tags:
95+
- install
96+
- update
97+
7498
# Remove the Contour ingress controller Helm release
7599
- name: Remove contour
76100
kubernetes.core.helm:

0 commit comments

Comments
 (0)