Skip to content
This repository was archived by the owner on Sep 15, 2022. It is now read-only.

Commit faf3096

Browse files
authored
Add selectors to deployment files (#130)
1 parent f818a54 commit faf3096

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

addons/redis-0.0.3/chart/redis/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ spec:
1212
strategy:
1313
rollingUpdate:
1414
maxUnavailable: 0
15+
selector:
16+
matchLabels:
17+
app: {{ template "redis.fullname" . }}
1518
template:
1619
metadata:
1720
annotations:

addons/testing-0.0.1/chart/testing/templates/deploy.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ metadata:
44
name: {{ template "testing.fullname" . }}
55
spec:
66
replicas: 1
7+
selector:
8+
matchLabels:
9+
app: {{ template "testing.fullname" . }}
710
template:
811
metadata:
912
annotations:

0 commit comments

Comments
 (0)