-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test refactor: fix failing e2e helmchart tests
there were tests that were attempting to sync a contour helmchart version that has been deleted from the upstream repo. This commit updates the contour version to the latest at this current time. Authored-by: Dennis Leon <[email protected]>
- Loading branch information
1 parent
3aac0bf
commit f18a064
Showing
73 changed files
with
10,002 additions
and
4,151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dependencies: | ||
- name: common | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 1.14.1 | ||
digest: sha256:c69621f97b90b8c2e909293fbc475f0a3b0aaa4aa04de5df3e5d7a1974e5d735 | ||
generated: "2022-05-20T17:49:43.887206+02:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
annotations: | ||
category: Infrastructure | ||
apiVersion: v1 | ||
appVersion: 1.8.0 | ||
description: Contour Ingress controller for Kubernetes | ||
home: https://projectcontour.io | ||
apiVersion: v2 | ||
appVersion: 1.20.1 | ||
dependencies: | ||
- name: common | ||
repository: https://charts.bitnami.com/bitnami | ||
tags: | ||
- bitnami-common | ||
version: 1.x.x | ||
description: Contour is an open source Kubernetes ingress controller that works by | ||
deploying the Envoy proxy as a reverse proxy and load balancer. | ||
home: https://github.com/bitnami/charts/tree/master/bitnami/contour | ||
icon: https://bitnami.com/assets/stacks/contour/img/contour-stack-220x234.png | ||
keywords: | ||
- ingress | ||
|
@@ -12,11 +19,12 @@ keywords: | |
maintainers: | ||
- name: cellebyte | ||
url: https://github.com/Cellebyte | ||
- email: [email protected] | ||
name: Bitnami | ||
- name: Bitnami | ||
url: https://github.com/bitnami/charts | ||
name: contour | ||
sources: | ||
- https://github.com/projectcontour/contour | ||
- https://github.com/envoyproxy/envoy | ||
- https://github.com/bitnami/bitnami-docker-contour | ||
version: 1.2.1 | ||
- https://projectcontour.io | ||
version: 7.10.1 |
Large diffs are not rendered by default.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
examples/locked/vendor/helm-chart/charts/common/.helmignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
23 changes: 23 additions & 0 deletions
23
examples/locked/vendor/helm-chart/charts/common/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
annotations: | ||
category: Infrastructure | ||
apiVersion: v2 | ||
appVersion: 1.13.1 | ||
description: A Library Helm Chart for grouping common logic between bitnami charts. | ||
This chart is not deployable by itself. | ||
home: https://github.com/bitnami/charts/tree/master/bitnami/common | ||
icon: https://bitnami.com/downloads/logos/bitnami-mark.png | ||
keywords: | ||
- common | ||
- helper | ||
- template | ||
- function | ||
- bitnami | ||
maintainers: | ||
- email: [email protected] | ||
name: Bitnami | ||
name: common | ||
sources: | ||
- https://github.com/bitnami/charts | ||
- https://www.bitnami.com/ | ||
type: library | ||
version: 1.14.1 |
348 changes: 348 additions & 0 deletions
348
examples/locked/vendor/helm-chart/charts/common/README.md
Large diffs are not rendered by default.
Oops, something went wrong.
102 changes: 102 additions & 0 deletions
102
examples/locked/vendor/helm-chart/charts/common/templates/_affinities.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
|
||
{{/* | ||
Return a soft nodeAffinity definition | ||
{{ include "common.affinities.nodes.soft" (dict "key" "FOO" "values" (list "BAR" "BAZ")) -}} | ||
*/}} | ||
{{- define "common.affinities.nodes.soft" -}} | ||
preferredDuringSchedulingIgnoredDuringExecution: | ||
- preference: | ||
matchExpressions: | ||
- key: {{ .key }} | ||
operator: In | ||
values: | ||
{{- range .values }} | ||
- {{ . | quote }} | ||
{{- end }} | ||
weight: 1 | ||
{{- end -}} | ||
|
||
{{/* | ||
Return a hard nodeAffinity definition | ||
{{ include "common.affinities.nodes.hard" (dict "key" "FOO" "values" (list "BAR" "BAZ")) -}} | ||
*/}} | ||
{{- define "common.affinities.nodes.hard" -}} | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
nodeSelectorTerms: | ||
- matchExpressions: | ||
- key: {{ .key }} | ||
operator: In | ||
values: | ||
{{- range .values }} | ||
- {{ . | quote }} | ||
{{- end }} | ||
{{- end -}} | ||
|
||
{{/* | ||
Return a nodeAffinity definition | ||
{{ include "common.affinities.nodes" (dict "type" "soft" "key" "FOO" "values" (list "BAR" "BAZ")) -}} | ||
*/}} | ||
{{- define "common.affinities.nodes" -}} | ||
{{- if eq .type "soft" }} | ||
{{- include "common.affinities.nodes.soft" . -}} | ||
{{- else if eq .type "hard" }} | ||
{{- include "common.affinities.nodes.hard" . -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Return a soft podAffinity/podAntiAffinity definition | ||
{{ include "common.affinities.pods.soft" (dict "component" "FOO" "extraMatchLabels" .Values.extraMatchLabels "context" $) -}} | ||
*/}} | ||
{{- define "common.affinities.pods.soft" -}} | ||
{{- $component := default "" .component -}} | ||
{{- $extraMatchLabels := default (dict) .extraMatchLabels -}} | ||
preferredDuringSchedulingIgnoredDuringExecution: | ||
- podAffinityTerm: | ||
labelSelector: | ||
matchLabels: {{- (include "common.labels.matchLabels" .context) | nindent 10 }} | ||
{{- if not (empty $component) }} | ||
{{ printf "app.kubernetes.io/component: %s" $component }} | ||
{{- end }} | ||
{{- range $key, $value := $extraMatchLabels }} | ||
{{ $key }}: {{ $value | quote }} | ||
{{- end }} | ||
namespaces: | ||
- {{ .context.Release.Namespace | quote }} | ||
topologyKey: kubernetes.io/hostname | ||
weight: 1 | ||
{{- end -}} | ||
|
||
{{/* | ||
Return a hard podAffinity/podAntiAffinity definition | ||
{{ include "common.affinities.pods.hard" (dict "component" "FOO" "extraMatchLabels" .Values.extraMatchLabels "context" $) -}} | ||
*/}} | ||
{{- define "common.affinities.pods.hard" -}} | ||
{{- $component := default "" .component -}} | ||
{{- $extraMatchLabels := default (dict) .extraMatchLabels -}} | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
- labelSelector: | ||
matchLabels: {{- (include "common.labels.matchLabels" .context) | nindent 8 }} | ||
{{- if not (empty $component) }} | ||
{{ printf "app.kubernetes.io/component: %s" $component }} | ||
{{- end }} | ||
{{- range $key, $value := $extraMatchLabels }} | ||
{{ $key }}: {{ $value | quote }} | ||
{{- end }} | ||
namespaces: | ||
- {{ .context.Release.Namespace | quote }} | ||
topologyKey: kubernetes.io/hostname | ||
{{- end -}} | ||
|
||
{{/* | ||
Return a podAffinity/podAntiAffinity definition | ||
{{ include "common.affinities.pods" (dict "type" "soft" "key" "FOO" "values" (list "BAR" "BAZ")) -}} | ||
*/}} | ||
{{- define "common.affinities.pods" -}} | ||
{{- if eq .type "soft" }} | ||
{{- include "common.affinities.pods.soft" . -}} | ||
{{- else if eq .type "hard" }} | ||
{{- include "common.affinities.pods.hard" . -}} | ||
{{- end -}} | ||
{{- end -}} |
154 changes: 154 additions & 0 deletions
154
examples/locked/vendor/helm-chart/charts/common/templates/_capabilities.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
|
||
{{/* | ||
Return the target Kubernetes version | ||
*/}} | ||
{{- define "common.capabilities.kubeVersion" -}} | ||
{{- if .Values.global }} | ||
{{- if .Values.global.kubeVersion }} | ||
{{- .Values.global.kubeVersion -}} | ||
{{- else }} | ||
{{- default .Capabilities.KubeVersion.Version .Values.kubeVersion -}} | ||
{{- end -}} | ||
{{- else }} | ||
{{- default .Capabilities.KubeVersion.Version .Values.kubeVersion -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Return the appropriate apiVersion for poddisruptionbudget. | ||
*/}} | ||
{{- define "common.capabilities.policy.apiVersion" -}} | ||
{{- if semverCompare "<1.21-0" (include "common.capabilities.kubeVersion" .) -}} | ||
{{- print "policy/v1beta1" -}} | ||
{{- else -}} | ||
{{- print "policy/v1" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Return the appropriate apiVersion for networkpolicy. | ||
*/}} | ||
{{- define "common.capabilities.networkPolicy.apiVersion" -}} | ||
{{- if semverCompare "<1.7-0" (include "common.capabilities.kubeVersion" .) -}} | ||
{{- print "extensions/v1beta1" -}} | ||
{{- else -}} | ||
{{- print "networking.k8s.io/v1" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Return the appropriate apiVersion for cronjob. | ||
*/}} | ||
{{- define "common.capabilities.cronjob.apiVersion" -}} | ||
{{- if semverCompare "<1.21-0" (include "common.capabilities.kubeVersion" .) -}} | ||
{{- print "batch/v1beta1" -}} | ||
{{- else -}} | ||
{{- print "batch/v1" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Return the appropriate apiVersion for deployment. | ||
*/}} | ||
{{- define "common.capabilities.deployment.apiVersion" -}} | ||
{{- if semverCompare "<1.14-0" (include "common.capabilities.kubeVersion" .) -}} | ||
{{- print "extensions/v1beta1" -}} | ||
{{- else -}} | ||
{{- print "apps/v1" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Return the appropriate apiVersion for statefulset. | ||
*/}} | ||
{{- define "common.capabilities.statefulset.apiVersion" -}} | ||
{{- if semverCompare "<1.14-0" (include "common.capabilities.kubeVersion" .) -}} | ||
{{- print "apps/v1beta1" -}} | ||
{{- else -}} | ||
{{- print "apps/v1" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Return the appropriate apiVersion for ingress. | ||
*/}} | ||
{{- define "common.capabilities.ingress.apiVersion" -}} | ||
{{- if .Values.ingress -}} | ||
{{- if .Values.ingress.apiVersion -}} | ||
{{- .Values.ingress.apiVersion -}} | ||
{{- else if semverCompare "<1.14-0" (include "common.capabilities.kubeVersion" .) -}} | ||
{{- print "extensions/v1beta1" -}} | ||
{{- else if semverCompare "<1.19-0" (include "common.capabilities.kubeVersion" .) -}} | ||
{{- print "networking.k8s.io/v1beta1" -}} | ||
{{- else -}} | ||
{{- print "networking.k8s.io/v1" -}} | ||
{{- end }} | ||
{{- else if semverCompare "<1.14-0" (include "common.capabilities.kubeVersion" .) -}} | ||
{{- print "extensions/v1beta1" -}} | ||
{{- else if semverCompare "<1.19-0" (include "common.capabilities.kubeVersion" .) -}} | ||
{{- print "networking.k8s.io/v1beta1" -}} | ||
{{- else -}} | ||
{{- print "networking.k8s.io/v1" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Return the appropriate apiVersion for RBAC resources. | ||
*/}} | ||
{{- define "common.capabilities.rbac.apiVersion" -}} | ||
{{- if semverCompare "<1.17-0" (include "common.capabilities.kubeVersion" .) -}} | ||
{{- print "rbac.authorization.k8s.io/v1beta1" -}} | ||
{{- else -}} | ||
{{- print "rbac.authorization.k8s.io/v1" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Return the appropriate apiVersion for CRDs. | ||
*/}} | ||
{{- define "common.capabilities.crd.apiVersion" -}} | ||
{{- if semverCompare "<1.19-0" (include "common.capabilities.kubeVersion" .) -}} | ||
{{- print "apiextensions.k8s.io/v1beta1" -}} | ||
{{- else -}} | ||
{{- print "apiextensions.k8s.io/v1" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Return the appropriate apiVersion for APIService. | ||
*/}} | ||
{{- define "common.capabilities.apiService.apiVersion" -}} | ||
{{- if semverCompare "<1.10-0" (include "common.capabilities.kubeVersion" .) -}} | ||
{{- print "apiregistration.k8s.io/v1beta1" -}} | ||
{{- else -}} | ||
{{- print "apiregistration.k8s.io/v1" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Return the appropriate apiVersion for Horizontal Pod Autoscaler. | ||
*/}} | ||
{{- define "common.capabilities.hpa.apiVersion" -}} | ||
{{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .context) -}} | ||
{{- if .beta2 -}} | ||
{{- print "autoscaling/v2beta2" -}} | ||
{{- else -}} | ||
{{- print "autoscaling/v2beta1" -}} | ||
{{- end -}} | ||
{{- else -}} | ||
{{- print "autoscaling/v2" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Returns true if the used Helm version is 3.3+. | ||
A way to check the used Helm version was not introduced until version 3.3.0 with .Capabilities.HelmVersion, which contains an additional "{}}" structure. | ||
This check is introduced as a regexMatch instead of {{ if .Capabilities.HelmVersion }} because checking for the key HelmVersion in <3.3 results in a "interface not found" error. | ||
**To be removed when the catalog's minimun Helm version is 3.3** | ||
*/}} | ||
{{- define "common.capabilities.supportsHelmVersion" -}} | ||
{{- if regexMatch "{(v[0-9])*[^}]*}}$" (.Capabilities | toString ) }} | ||
{{- true -}} | ||
{{- end -}} | ||
{{- end -}} |
Oops, something went wrong.