Skip to content

Commit 1d66459

Browse files
author
robot
committed
robot: project contour chart upgrades from 12.1.1 to 19.3.1
Signed-off-by: robot <[email protected]>
1 parent 88c224b commit 1d66459

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+30982
-8651
lines changed

charts/contour/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export DAOCLOUD_REPO_PROJECT=addon
33
export REPO_URL=https://charts.bitnami.com/bitnami
44
export REPO_NAME=contour
55
export CHART_NAME=contour
6-
export VERSION=12.1.1
6+
export VERSION=19.3.1
77

88
export UPGRADE_METHOD=pr
99
export UPGRADE_REVIWER=lou-lan

charts/contour/contour/Chart.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
annotations:
22
category: Infrastructure
3+
images: |
4+
- name: contour
5+
image: docker.io/bitnami/contour:1.30.1-debian-12-r1
6+
- name: envoy
7+
image: docker.io/bitnami/envoy:1.31.3-debian-12-r0
8+
- name: nginx
9+
image: docker.io/bitnami/nginx:1.27.2-debian-12-r2
310
licenses: Apache-2.0
411
apiVersion: v2
5-
appVersion: 1.25.0
12+
appVersion: 1.30.1
613
description: Contour is an open source Kubernetes ingress controller that works by deploying the Envoy proxy as a reverse proxy and load balancer.
714
home: https://bitnami.com
815
icon: https://bitnami.com/assets/stacks/contour/img/contour-stack-220x234.png
@@ -12,13 +19,13 @@ keywords:
1219
- envoy
1320
- contour
1421
maintainers:
15-
- name: VMware, Inc.
22+
- name: Broadcom, Inc. All Rights Reserved.
1623
url: https://github.com/bitnami/charts
1724
name: contour
1825
sources:
1926
- https://github.com/bitnami/charts/tree/main/bitnami/contour
20-
version: 12.1.1
27+
version: 19.3.1
2128
dependencies:
2229
- name: contour
23-
version: "12.1.1"
30+
version: "19.3.1"
2431
repository: "https://charts.bitnami.com/bitnami"

charts/contour/contour/charts/contour/.helmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@
2020
.idea/
2121
*.tmproj
2222
.vscode/
23+
# img folder
24+
img/
25+
# Changelog
26+
CHANGELOG.md
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: common
33
repository: oci://registry-1.docker.io/bitnamicharts
4-
version: 2.4.0
5-
digest: sha256:8c1a5dc923412d11d4d841420494b499cb707305c8b9f87f45ea1a8bf3172cb3
6-
generated: "2023-05-21T14:00:24.628000274Z"
4+
version: 2.26.0
5+
digest: sha256:5ff7837915aef0067bd32271ee2b10c990774c16c4b6fe0a7c5eb6e53530ce08
6+
generated: "2024-11-04T17:59:27.291351068Z"

charts/contour/contour/charts/contour/Chart.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
annotations:
22
category: Infrastructure
3+
images: |
4+
- name: contour
5+
image: docker.io/bitnami/contour:1.30.1-debian-12-r1
6+
- name: envoy
7+
image: docker.io/bitnami/envoy:1.31.3-debian-12-r0
8+
- name: nginx
9+
image: docker.io/bitnami/nginx:1.27.2-debian-12-r2
310
licenses: Apache-2.0
411
apiVersion: v2
5-
appVersion: 1.25.0
12+
appVersion: 1.30.1
613
dependencies:
714
- name: common
815
repository: oci://registry-1.docker.io/bitnamicharts
@@ -18,9 +25,9 @@ keywords:
1825
- envoy
1926
- contour
2027
maintainers:
21-
- name: VMware, Inc.
28+
- name: Broadcom, Inc. All Rights Reserved.
2229
url: https://github.com/bitnami/charts
2330
name: contour
2431
sources:
2532
- https://github.com/bitnami/charts/tree/main/bitnami/contour
26-
version: 12.1.1
33+
version: 19.3.1

charts/contour/contour/charts/contour/README.md

Lines changed: 560 additions & 417 deletions
Large diffs are not rendered by default.

charts/contour/contour/charts/contour/charts/common/.helmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@
2020
.idea/
2121
*.tmproj
2222
.vscode/
23+
# img folder
24+
img/
25+
# Changelog
26+
CHANGELOG.md

charts/contour/contour/charts/contour/charts/common/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ annotations:
22
category: Infrastructure
33
licenses: Apache-2.0
44
apiVersion: v2
5-
appVersion: 2.4.0
5+
appVersion: 2.26.0
66
description: A Library Helm Chart for grouping common logic between bitnami charts.
77
This chart is not deployable by itself.
88
home: https://bitnami.com
@@ -14,10 +14,10 @@ keywords:
1414
- function
1515
- bitnami
1616
maintainers:
17-
- name: VMware, Inc.
17+
- name: Broadcom, Inc. All Rights Reserved.
1818
url: https://github.com/bitnami/charts
1919
name: common
2020
sources:
21-
- https://github.com/bitnami/charts
21+
- https://github.com/bitnami/charts/tree/main/bitnami/common
2222
type: library
23-
version: 2.4.0
23+
version: 2.26.0

charts/contour/contour/charts/contour/charts/common/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22

33
A [Helm Library Chart](https://helm.sh/docs/topics/library_charts/#helm) for grouping common logic between Bitnami charts.
44

5-
Looking to use our applications in production? Try [VMware Application Catalog](https://bitnami.com/enterprise), the enterprise edition of Bitnami Application Catalog.
6-
75
## TL;DR
86

97
```yaml
108
dependencies:
119
- name: common
12-
version: 1.x.x
10+
version: 2.x.x
1311
repository: oci://registry-1.docker.io/bitnamicharts
1412
```
1513
@@ -26,6 +24,8 @@ data:
2624
myvalue: "Hello World"
2725
```
2826
27+
Looking to use our applications in production? Try [VMware Tanzu Application Catalog](https://bitnami.com/enterprise), the commercial edition of the Bitnami catalog.
28+
2929
## Introduction
3030
3131
This chart provides a common template helpers which can be used to develop new charts using [Helm](https://helm.sh) package manager.
@@ -34,8 +34,8 @@ Bitnami charts can be used with [Kubeapps](https://kubeapps.dev/) for deployment
3434
3535
## Prerequisites
3636
37-
- Kubernetes 1.19+
38-
- Helm 3.2.0+
37+
- Kubernetes 1.23+
38+
- Helm 3.8.0+
3939
4040
## Parameters
4141
@@ -214,13 +214,13 @@ helm install test mychart --set path.to.value00="",path.to.value01=""
214214

215215
#### Useful links
216216

217-
- <https://docs.bitnami.com/tutorials/resolve-helm2-helm3-post-migration-issues/>
217+
- <https://docs.vmware.com/en/VMware-Tanzu-Application-Catalog/services/tutorials/GUID-resolve-helm2-helm3-post-migration-issues-index.html>
218218
- <https://helm.sh/docs/topics/v2_v3_migration/>
219219
- <https://helm.sh/blog/migrate-from-helm-v2-to-helm-v3/>
220220

221221
## License
222222

223-
Copyright &copy; 2023 Bitnami
223+
Copyright &copy; 2024 Broadcom. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
224224

225225
Licensed under the Apache License, Version 2.0 (the "License");
226226
you may not use this file except in compliance with the License.

charts/contour/contour/charts/contour/charts/common/templates/_affinities.tpl

Lines changed: 53 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
{{/*
2+
Copyright Broadcom, Inc. All Rights Reserved.
3+
SPDX-License-Identifier: APACHE-2.0
4+
*/}}
5+
16
{{/* vim: set filetype=mustache: */}}
27

38
{{/*
@@ -55,42 +60,86 @@ Return a topologyKey definition
5560

5661
{{/*
5762
Return a soft podAffinity/podAntiAffinity definition
58-
{{ include "common.affinities.pods.soft" (dict "component" "FOO" "extraMatchLabels" .Values.extraMatchLabels "topologyKey" "BAR" "context" $) -}}
63+
{{ include "common.affinities.pods.soft" (dict "component" "FOO" "customLabels" .Values.podLabels "extraMatchLabels" .Values.extraMatchLabels "topologyKey" "BAR" "extraPodAffinityTerms" .Values.extraPodAffinityTerms "extraNamespaces" (list "namespace1" "namespace2") "context" $) -}}
5964
*/}}
6065
{{- define "common.affinities.pods.soft" -}}
6166
{{- $component := default "" .component -}}
67+
{{- $customLabels := default (dict) .customLabels -}}
6268
{{- $extraMatchLabels := default (dict) .extraMatchLabels -}}
69+
{{- $extraPodAffinityTerms := default (list) .extraPodAffinityTerms -}}
70+
{{- $extraNamespaces := default (list) .extraNamespaces -}}
6371
preferredDuringSchedulingIgnoredDuringExecution:
6472
- podAffinityTerm:
6573
labelSelector:
66-
matchLabels: {{- (include "common.labels.matchLabels" .context) | nindent 10 }}
74+
matchLabels: {{- (include "common.labels.matchLabels" ( dict "customLabels" $customLabels "context" .context )) | nindent 10 }}
6775
{{- if not (empty $component) }}
6876
{{ printf "app.kubernetes.io/component: %s" $component }}
6977
{{- end }}
7078
{{- range $key, $value := $extraMatchLabels }}
7179
{{ $key }}: {{ $value | quote }}
7280
{{- end }}
81+
{{- if $extraNamespaces }}
82+
namespaces:
83+
- {{ .context.Release.Namespace }}
84+
{{- with $extraNamespaces }}
85+
{{ include "common.tplvalues.render" (dict "value" . "context" $) | nindent 8 }}
86+
{{- end }}
87+
{{- end }}
7388
topologyKey: {{ include "common.affinities.topologyKey" (dict "topologyKey" .topologyKey) }}
7489
weight: 1
90+
{{- range $extraPodAffinityTerms }}
91+
- podAffinityTerm:
92+
labelSelector:
93+
matchLabels: {{- (include "common.labels.matchLabels" ( dict "customLabels" $customLabels "context" $.context )) | nindent 10 }}
94+
{{- if not (empty $component) }}
95+
{{ printf "app.kubernetes.io/component: %s" $component }}
96+
{{- end }}
97+
{{- range $key, $value := .extraMatchLabels }}
98+
{{ $key }}: {{ $value | quote }}
99+
{{- end }}
100+
topologyKey: {{ include "common.affinities.topologyKey" (dict "topologyKey" .topologyKey) }}
101+
weight: {{ .weight | default 1 -}}
102+
{{- end -}}
75103
{{- end -}}
76104

77105
{{/*
78106
Return a hard podAffinity/podAntiAffinity definition
79-
{{ include "common.affinities.pods.hard" (dict "component" "FOO" "extraMatchLabels" .Values.extraMatchLabels "topologyKey" "BAR" "context" $) -}}
107+
{{ include "common.affinities.pods.hard" (dict "component" "FOO" "customLabels" .Values.podLabels "extraMatchLabels" .Values.extraMatchLabels "topologyKey" "BAR" "extraPodAffinityTerms" .Values.extraPodAffinityTerms "extraNamespaces" (list "namespace1" "namespace2") "context" $) -}}
80108
*/}}
81109
{{- define "common.affinities.pods.hard" -}}
82110
{{- $component := default "" .component -}}
111+
{{- $customLabels := default (dict) .customLabels -}}
83112
{{- $extraMatchLabels := default (dict) .extraMatchLabels -}}
113+
{{- $extraPodAffinityTerms := default (list) .extraPodAffinityTerms -}}
114+
{{- $extraNamespaces := default (list) .extraNamespaces -}}
84115
requiredDuringSchedulingIgnoredDuringExecution:
85116
- labelSelector:
86-
matchLabels: {{- (include "common.labels.matchLabels" .context) | nindent 8 }}
117+
matchLabels: {{- (include "common.labels.matchLabels" ( dict "customLabels" $customLabels "context" .context )) | nindent 8 }}
87118
{{- if not (empty $component) }}
88119
{{ printf "app.kubernetes.io/component: %s" $component }}
89120
{{- end }}
90121
{{- range $key, $value := $extraMatchLabels }}
91122
{{ $key }}: {{ $value | quote }}
92123
{{- end }}
124+
{{- if $extraNamespaces }}
125+
namespaces:
126+
- {{ .context.Release.Namespace }}
127+
{{- with $extraNamespaces }}
128+
{{ include "common.tplvalues.render" (dict "value" . "context" $) | nindent 8 }}
129+
{{- end }}
130+
{{- end }}
93131
topologyKey: {{ include "common.affinities.topologyKey" (dict "topologyKey" .topologyKey) }}
132+
{{- range $extraPodAffinityTerms }}
133+
- labelSelector:
134+
matchLabels: {{- (include "common.labels.matchLabels" ( dict "customLabels" $customLabels "context" $.context )) | nindent 8 }}
135+
{{- if not (empty $component) }}
136+
{{ printf "app.kubernetes.io/component: %s" $component }}
137+
{{- end }}
138+
{{- range $key, $value := .extraMatchLabels }}
139+
{{ $key }}: {{ $value | quote }}
140+
{{- end }}
141+
topologyKey: {{ include "common.affinities.topologyKey" (dict "topologyKey" .topologyKey) }}
142+
{{- end -}}
94143
{{- end -}}
95144

96145
{{/*

0 commit comments

Comments
 (0)