Skip to content

Commit

Permalink
Add selector to apps/v1 deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
ddgenome committed Jul 31, 2020
1 parent 3dba401 commit 5f2c9bd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/tutorials/azure-private-dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ kind: Deployment
metadata:
name: externaldns
spec:
selector:
matchLabels:
app: externaldns
strategy:
type: Recreate
template:
Expand Down Expand Up @@ -221,6 +224,9 @@ kind: Deployment
metadata:
name: externaldns
spec:
selector:
matchLabels:
app: externaldns
strategy:
type: Recreate
template:
Expand Down Expand Up @@ -288,6 +294,9 @@ kind: Deployment
metadata:
name: externaldns
spec:
selector:
matchLabels:
app: externaldns
strategy:
type: Recreate
template:
Expand Down Expand Up @@ -331,6 +340,9 @@ kind: Deployment
metadata:
name: nginx
spec:
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
Expand Down
3 changes: 3 additions & 0 deletions docs/tutorials/designate.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ kind: Deployment
metadata:
name: external-dns
spec:
selector:
matchLabels:
app: external-dns
strategy:
type: Recreate
template:
Expand Down

0 comments on commit 5f2c9bd

Please sign in to comment.