Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions templates/config/controller/deployment.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Namespace
metadata:
labels:
control-plane: controller
app.kubernetes.io/name: ack-system
name: ack-system
---
apiVersion: apps/v1
Expand All @@ -12,15 +13,19 @@ metadata:
namespace: ack-system
labels:
control-plane: controller
app.kubernetes.io/name: ack-{{ .ServicePackageName }}-controller
app.kubernetes.io/part-of: ack-system
spec:
selector:
matchLabels:
control-plane: controller
app.kubernetes.io/name: ack-{{ .ServicePackageName }}-controller
replicas: 1
template:
metadata:
labels:
control-plane: controller
app.kubernetes.io/name: ack-{{ .ServicePackageName }}-controller
spec:
containers:
- command:
Expand Down
1 change: 1 addition & 0 deletions templates/config/controller/service.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
spec:
selector:
control-plane: controller
app.kubernetes.io/name: ack-{{ .ServicePackageName }}-controller
ports:
- name: metricsport
port: 8080
Expand Down