Skip to content

Commit e4bbd31

Browse files
author
Christopher Hein
authored
Merge pull request aws-samples#459 from macmacs/302-app.yml-fix
Fixed Template (app.yaml). Selectors were missing.
2 parents 9fef1e6 + 2da6c0d commit e4bbd31

File tree

1 file changed

+6
-0
lines changed
  • 03-path-application-development/302-app-discovery/templates

1 file changed

+6
-0
lines changed

03-path-application-development/302-app-discovery/templates/app.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ metadata:
1414
name: name-rs
1515
spec:
1616
replicas: 1
17+
selector:
18+
matchLabels:
19+
app: name-pod
1720
template:
1821
metadata:
1922
labels:
@@ -41,6 +44,9 @@ metadata:
4144
name: greeter-rs
4245
spec:
4346
replicas: 1
47+
selector:
48+
matchLabels:
49+
app: greeter-pod
4450
template:
4551
metadata:
4652
labels:

0 commit comments

Comments
 (0)