1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00
1241: Change extensions/v1beta to apps/v1 to be compliant with Kubernetes 1.16 r=mergify[bot] a=WebSpider


## What type of PR?

Enhancement

## What does this PR do?

Changes to Kubernetes YAML files to be able to use this in Kubernetes 1.16

### Related issue(s)
- Fixes #1237

## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- N/A In case of feature or enhancement: documentation updated accordingly
- [X] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog) entry file.


Co-authored-by: WebSpider <webspider@bitlair.nl>
Co-authored-by: micw <michael@wyraz.de>
This commit is contained in:
bors[bot]
2019-12-16 17:05:44 +00:00
committed by GitHub
11 changed files with 17 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: mailu-admin
@@ -60,4 +60,4 @@ spec:
ports:
- name: http
port: 80
protocol: TCP
protocol: TCP

View File

@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: mailu-fetchmail
@@ -36,4 +36,4 @@ spec:
volumes:
- name: maildata
persistentVolumeClaim:
claimName: mail-storage
claimName: mail-storage

View File

@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: mailu-imap

View File

@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Ingress
metadata:
name: mailu-ingress

View File

@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: mailu-redis
@@ -53,4 +53,4 @@ spec:
ports:
- name: redis
port: 6379
protocol: TCP
protocol: TCP

View File

@@ -1,5 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: mailu-security
@@ -113,4 +112,4 @@ spec:
ports:
- name: antivirus
port: 3310
protocol: TCP
protocol: TCP

View File

@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: mailu-smtp

View File

@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: mailu-webdav
@@ -60,4 +60,4 @@ spec:
protocol: TCP
- name: http-ui
port: 5232
protocol: TCP
protocol: TCP

View File

@@ -1,5 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: mailu-roundcube

View File

@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: default-http-backend
@@ -52,4 +52,4 @@ spec:
- port: 80
targetPort: 8080
selector:
app: default-http-backend
app: default-http-backend

View File

@@ -0,0 +1 @@
Kubernetes manifests updated to be compatible with Kubernetes 1.16 (breaks compatibility with older k8s versions)