Skip to content

Commit

Permalink
Updated apiVersion to apps/v1
Browse files Browse the repository at this point in the history
  • Loading branch information
LorcanMcVeigh committed Jul 2, 2019
1 parent eace1dd commit 81a149a
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion deployments/daemon-set/nginx-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: nginx-ingress
Expand Down
2 changes: 1 addition & 1 deletion deployments/daemon-set/nginx-plus-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: nginx-ingress
Expand Down
2 changes: 1 addition & 1 deletion deployments/deployment/nginx-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-ingress
Expand Down
2 changes: 1 addition & 1 deletion deployments/deployment/nginx-plus-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-ingress
Expand Down
2 changes: 1 addition & 1 deletion deployments/helm-chart/templates/controller-daemonset.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if eq .Values.controller.kind "daemonset" }}
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: {{ default (include "nginx-ingress.name" .) .Values.controller.name }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if eq .Values.controller.kind "deployment" }}
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ default (include "nginx-ingress.name" .) .Values.controller.name }}
Expand Down
6 changes: 3 additions & 3 deletions examples/complete-example/cafe.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: coffee
Expand Down Expand Up @@ -31,7 +31,7 @@ spec:
selector:
app: coffee
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: tea
Expand Down Expand Up @@ -63,4 +63,4 @@ spec:
protocol: TCP
name: http
selector:
app: tea
app: tea
2 changes: 1 addition & 1 deletion examples/mergeable-ingress-types/cafe-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ spec:
- cafe.example.com
secretName: cafe-secret
rules:
- host: cafe.example.com
- host: cafe.example.com
6 changes: 3 additions & 3 deletions examples/mergeable-ingress-types/cafe.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: coffee
Expand Down Expand Up @@ -31,7 +31,7 @@ spec:
selector:
app: coffee
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: tea
Expand Down Expand Up @@ -63,4 +63,4 @@ spec:
protocol: TCP
name: http
selector:
app: tea
app: tea
4 changes: 2 additions & 2 deletions examples/tcp-udp/dns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data:
log
}
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: coredns
Expand Down Expand Up @@ -83,4 +83,4 @@ spec:
protocol: UDP
- name: dns-tcp
port: 53
protocol: TCP
protocol: TCP

0 comments on commit 81a149a

Please sign in to comment.