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>
master
bors[bot] 5 years ago committed by GitHub
commit f8a5dd000e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

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

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

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

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

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

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

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

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

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