Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

Commit a1483b1

Browse files
committed
chore!: remove support for Kubernetes versions < 1.21
BREAKING CHANGE: The chart now requires Kubernetes 1.21
1 parent 4c04f8c commit a1483b1

File tree

5 files changed

+19
-10
lines changed

5 files changed

+19
-10
lines changed

charts/mailtrain/Chart.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ apiVersion: v2
22
name: mailtrain
33
description: Runs mailtrain in your kubernetes cluster
44
type: application
5-
version: 1.2.3
5+
version: 2.0.0
66
maintainers:
77
- name: morremeyer
8-

charts/mailtrain/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
# mailtrain
22

3-
![Version: 1.2.3](https://img.shields.io/badge/Version-1.2.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
3+
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
44

55
Runs mailtrain in your kubernetes cluster
66

77
## Maintainers
88

99
| Name | Email | Url |
1010
| ---- | ------ | --- |
11-
| morremeyer | <[email protected]> | |
11+
| morremeyer | | |
12+
13+
## Upgrading
14+
15+
See [the upgrading instructions](UPGRADING.md) for upgrades with breaking changes.
1216

1317
## Values
1418

charts/mailtrain/README.md.gotmpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,9 @@
77
{{ template "chart.maintainersSection" . }}
88
{{ template "chart.sourcesSection" . }}
99
{{ template "chart.requirementsSection" . }}
10+
11+
## Upgrading
12+
13+
See [the upgrading instructions](UPGRADING.md) for upgrades with breaking changes.
14+
1015
{{ template "chart.valuesSection" . }}

charts/mailtrain/UPGRADING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Upgrading
2+
3+
## 1.2.3 to 2.0.0
4+
5+
### Kubernetes Version
6+
7+
If you set `ingress.enabled: true`, this chart is only compatible with Kubernetes 1.21 and newer.

charts/mailtrain/templates/ingress.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
{{- if .Values.ingress.enabled -}}
22
{{- $fullName := include "mailtrain.fullname" . -}}
33
{{- $svcPort := .Values.service.port -}}
4-
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1" }}
54
apiVersion: networking.k8s.io/v1
6-
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
7-
apiVersion: networking.k8s.io/v1beta1
8-
{{- else -}}
9-
apiVersion: extensions/v1beta1
10-
{{- end }}
115
kind: Ingress
126
metadata:
137
name: {{ $fullName }}

0 commit comments

Comments
 (0)