Skip to content

Commit c30575d

Browse files
authored
feat: disable compression for Contour installations (pscloud-483) (#700)
1 parent 27d4ce1 commit c30575d

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

roles/baseline/tasks/contour.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,24 @@
8888
disablePermitInsecure: false
8989
tls:
9090
fallback-certificate: {}
91-
when: CONTOUR_CONFIG.contour.configFileContents.compression is defined
91+
tags:
92+
- install
93+
- update
94+
95+
# Restart Contour deployment to apply the compression configuration changes
96+
- name: Restart Contour deployment
97+
kubernetes.core.k8s:
98+
state: patched
99+
kind: Deployment
100+
name: "{{ CONTOUR_NAME }}"
101+
namespace: "{{ CONTOUR_NAMESPACE }}"
102+
kubeconfig: "{{ KUBECONFIG }}"
103+
definition:
104+
spec:
105+
template:
106+
metadata:
107+
annotations:
108+
kubectl.kubernetes.io/restartedAt: "{{ ansible_date_time.iso8601 }}"
92109
tags:
93110
- install
94111
- update

roles/vdm/tasks/cas.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
- install
146146
- uninstall
147147
- update
148-
148+
149149
# Add shutdown transformer for programming-only deployments (CAS disabled)
150150
# This approach keeps CAS resources in the manifest (avoiding prune risks) but shuts down CAS pods
151151
- name: CAS - shutdown for programming-only deployment
@@ -161,4 +161,4 @@
161161
tags:
162162
- install
163163
- uninstall
164-
- update
164+
- update

0 commit comments

Comments
 (0)