Change extensions/v1beta to apps/v1 to be compliant with Kubernetes 1.16

Fixes #1237
master
WebSpider 5 years ago
parent 422a332b5b
commit 95d03f4b4a

@ -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

@ -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

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

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

@ -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

@ -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

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

@ -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

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

@ -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

Loading…
Cancel
Save