Skip to content

Commit 4817a98

Browse files
Abhishek KumarAbhishek Kumar
authored andcommitted
Merge branch 'main' of https://github.com/sassoftware/viya4-deployment into viyaipv6_contour
2 parents a789f8f + 27d4ce1 commit 4817a98

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

roles/baseline/tasks/contour.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,28 @@
8181
- install
8282
- update
8383

84+
# Patch Contour ConfigMap to add compression configuration.
85+
- name: Patch Contour ConfigMap with compression settings
86+
kubernetes.core.k8s:
87+
state: patched
88+
kind: ConfigMap
89+
name: "{{ CONTOUR_NAME }}"
90+
namespace: "{{ CONTOUR_NAMESPACE }}"
91+
kubeconfig: "{{ KUBECONFIG }}"
92+
definition:
93+
data:
94+
contour.yaml: |
95+
accesslog-format: envoy
96+
compression:
97+
algorithm: disabled
98+
disablePermitInsecure: false
99+
tls:
100+
fallback-certificate: {}
101+
when: CONTOUR_CONFIG.contour.configFileContents.compression is defined
102+
tags:
103+
- install
104+
- update
105+
84106
# Remove the Contour ingress controller Helm release
85107
- name: Remove contour
86108
kubernetes.core.helm:

0 commit comments

Comments
 (0)