Skip to content
Closed
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
22 changes: 22 additions & 0 deletions roles/baseline/tasks/contour.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,28 @@
- install
- update

# Patch Contour ConfigMap to add compression configuration.
- name: Patch Contour ConfigMap with compression settings
kubernetes.core.k8s:
state: patched
kind: ConfigMap
name: "{{ CONTOUR_NAME }}"
namespace: "{{ CONTOUR_NAMESPACE }}"
kubeconfig: "{{ KUBECONFIG }}"
definition:
data:
contour.yaml: |
accesslog-format: envoy
compression:
algorithm: disabled
disablePermitInsecure: false
tls:
fallback-certificate: {}
when: CONTOUR_CONFIG.contour.configFileContents.compression is defined
tags:
- install
- update

# Remove the Contour ingress controller Helm release
- name: Remove contour
kubernetes.core.helm:
Expand Down