Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/contour] Sync upstream changes and chart standardization #3381

Merged
merged 36 commits into from
Sep 9, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
254da50
Sync back most significant upstream projectcontour changes
mkilchhofer Aug 10, 2020
7a006fb
Delete removed CRD ingressroutes.contour.heptio.com
mkilchhofer Aug 12, 2020
a8fe6f1
Sync HTTPProxy CRD
mkilchhofer Aug 12, 2020
613c4b7
Sync TLSCertificateDelegation CRD
mkilchhofer Aug 12, 2020
5f0166c
Drop old TLSCertificateDelegation CRD on API group contour.heptio.com
mkilchhofer Aug 13, 2020
effa8ed
Bump minor chart version as the change is no longer a patch
mkilchhofer Aug 13, 2020
253a8ec
Attempt to fix contour tests by upgrading to latest github actions
mkilchhofer Aug 13, 2020
8bab0b3
Override envoy service type to ClusterIP to make tests happy
mkilchhofer Aug 13, 2020
ca41277
Revert "Attempt to fix contour tests by upgrading to latest github ac…
mkilchhofer Aug 17, 2020
09d94d3
Add bitnami/common as a dependency
mkilchhofer Aug 19, 2020
1150497
Also use bitnami/common subchart for image
mkilchhofer Aug 20, 2020
93b40f8
Implement extraVolumes and extraVolumeMounts on contour and envoy
mkilchhofer Aug 21, 2020
ee19d0e
Implement extraEnvVars on contour and envoy
mkilchhofer Aug 22, 2020
435af3d
Implement extraEnvVarsConfigMap and extraEnvVarsSecret
mkilchhofer Aug 22, 2020
a3838da
Implement initContainers for contour and envoy
mkilchhofer Aug 22, 2020
dc82609
Implement service.extraPorts on contour and envoy
mkilchhofer Aug 22, 2020
676b003
Implement rolling tags helpers
mkilchhofer Aug 22, 2020
3189ed0
Sync rbac with upstream
mkilchhofer Aug 23, 2020
42f5275
Update README.md
mkilchhofer Aug 24, 2020
8bb6026
Also use bitnami/common subchart for pullSecrets
mkilchhofer Sep 1, 2020
d5cfe77
Use same tpl functions for job
mkilchhofer Sep 1, 2020
9ae5d37
Fix: affinity defined twice
mkilchhofer Sep 1, 2020
f9d1963
Use more specific keyword antiAffinity -> antiAffinityPolicy
mkilchhofer Sep 2, 2020
fc72d35
Bump chart major: 2.0.0
mkilchhofer Sep 2, 2020
194b9fb
Variant2: Implement certgen by using hooks (#2)
mkilchhofer Sep 2, 2020
1a4e6ee
Merge branch 'master' into sync_projectcontour_changes
mkilchhofer Sep 2, 2020
e6e1ca1
Replace colons with dashes (standardize even more)
mkilchhofer Sep 5, 2020
1f3456c
Clearify README regarding CRDs and helm v3
mkilchhofer Sep 5, 2020
d468dc8
Add small upgrading notes to README
mkilchhofer Sep 5, 2020
ccd9267
Merge branch 'master' into sync_projectcontour_changes
mkilchhofer Sep 5, 2020
d29dcd1
Fix helm2 incompatibility due to PR #2961
mkilchhofer Sep 6, 2020
cbc5fe7
Use consistent component labels on certgen resources
mkilchhofer Sep 6, 2020
6a113a5
Use bitnami/common for apiVersion of kind Deployment
mkilchhofer Sep 7, 2020
db8af4c
Rename parameter `contour.createCustomResource` to `contour.installCRDs`
mkilchhofer Sep 7, 2020
e03ebda
Do not allocate an IP address on metrics services
mkilchhofer Sep 7, 2020
e567750
Split into subfolders
mkilchhofer Sep 6, 2020
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 bitnami/contour/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: contour
description: Contour Ingress controller for Kubernetes
version: 1.2.0
version: 1.2.1
dani8art marked this conversation as resolved.
Show resolved Hide resolved
appVersion: 1.7.0
keywords:
- ingress
Expand Down
18 changes: 18 additions & 0 deletions bitnami/contour/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,12 @@ configInline:
tls:
# minimum TLS version that Contour will negotiate
# minimum-protocol-version: "1.1"
# Defines the Kubernetes name/namespace matching a secret to use
# as the fallback certificate when requests which don't match the
# SNI defined for a vhost.
fallback-certificate:
# name: fallback-secret-name
# namespace: projectcontour
# The following config shows the defaults for the leader election.
# leaderelection:
# configmap-name: leader-elect
Expand Down Expand Up @@ -208,6 +214,18 @@ configInline:
# - "upstream_service_time"
# - "user_agent"
# - "x_forwarded_for"
#
# default-http-versions:
# - "HTTP/2"
# - "HTTP/1.1"
#
# The following shows the default proxy timeout settings.
# timeouts:
# request-timeout: infinity
# connection-idle-timeout: 60s
# stream-idle-timeout: 5m
# max-connection-duration: infinity
# connection-shutdown-grace-period: 5s
dani8art marked this conversation as resolved.
Show resolved Hide resolved
```

### Deploying Contour with an AWS NLB
Expand Down
11 changes: 7 additions & 4 deletions bitnami/contour/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ spec:
imagePullPolicy: {{ .Values.contour.image.pullPolicy }}
lifecycle:
preStop:
httpGet:
path: /shutdown
port: 8090
scheme: HTTP
exec:
command:
- contour
- envoy
- shutdown
{{- if .Values.contour.livenessProbe.enabled }}
livenessProbe:
httpGet:
Expand Down Expand Up @@ -150,6 +151,7 @@ spec:
- /config/envoy.json
- --xds-address={{ template "contour.fullname" . }}
- --xds-port=8001
- --resources-dir=/config/resources
dani8art marked this conversation as resolved.
Show resolved Hide resolved
- --envoy-cafile=/certs/ca.crt
- --envoy-cert-file=/certs/tls.crt
- --envoy-key-file=/certs/tls.key
Expand All @@ -169,6 +171,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
automountServiceAccountToken: false
serviceAccountName: {{ include "envoy.envoyServiceAccountName" . }}
volumes:
- name: envoy-config
Expand Down
5 changes: 5 additions & 0 deletions bitnami/contour/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ spec:
mountPath: /config
readOnly: true
env:
- name: CONTOUR_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: POD_NAME
valueFrom:
fieldRef:
Expand Down
18 changes: 18 additions & 0 deletions bitnami/contour/values-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ configInline:
tls:
# minimum TLS version that Contour will negotiate
# minimum-protocol-version: "1.1"
# Defines the Kubernetes name/namespace matching a secret to use
dani8art marked this conversation as resolved.
Show resolved Hide resolved
# as the fallback certificate when requests which don't match the
# SNI defined for a vhost.
fallback-certificate:
# name: fallback-secret-name
# namespace: '{{ .Release.Namespace }}'
# The following config shows the defaults for the leader election.
## This needs to be edited by when you deploy to a namespace other than projectcontour
##
Expand Down Expand Up @@ -84,6 +90,18 @@ configInline:
# - "upstream_service_time"
# - "user_agent"
# - "x_forwarded_for"
#
# default-http-versions:
# - "HTTP/2"
# - "HTTP/1.1"
#
# The following shows the default proxy timeout settings.
# timeouts:
# request-timeout: infinity
# connection-idle-timeout: 60s
# stream-idle-timeout: 5m
# max-connection-duration: infinity
# connection-shutdown-grace-period: 5s

## Name of the ingress class to route through this controller
##
Expand Down
18 changes: 18 additions & 0 deletions bitnami/contour/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ configInline:
tls:
# minimum TLS version that Contour will negotiate
# minimum-protocol-version: "1.1"
# Defines the Kubernetes name/namespace matching a secret to use
dani8art marked this conversation as resolved.
Show resolved Hide resolved
# as the fallback certificate when requests which don't match the
# SNI defined for a vhost.
fallback-certificate:
# name: fallback-secret-name
# namespace: '{{ .Release.Namespace }}'
# The following config shows the defaults for the leader election.
## This needs to be edited by when you deploy to a namespace other than projectcontour
leaderelection:
Expand Down Expand Up @@ -82,6 +88,18 @@ configInline:
# - "upstream_service_time"
# - "user_agent"
# - "x_forwarded_for"
#
# default-http-versions:
# - "HTTP/2"
# - "HTTP/1.1"
#
# The following shows the default proxy timeout settings.
# timeouts:
# request-timeout: infinity
# connection-idle-timeout: 60s
# stream-idle-timeout: 5m
# max-connection-duration: infinity
# connection-shutdown-grace-period: 5s

## Name of the ingress class to route through this controller
##
Expand Down