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

Loading…
Cancel
Save