Substitute labels keys with name and component and remove app.kubernetes.io
@@ -16,13 +16,13 @@ spec:
replicas: 1
selector:
matchLabels:
- app.kubernetes.io/name: {{ template "connector.name" . }}
- app.kubernetes.io/component: cron-connector
+ name: {{ template "connector.name" . }}
+ component: cron-connector
template:
metadata:
labels:
- app.kubernetes.io/name: {{ template "connector.name" . }}
- app.kubernetes.io/component: cron-connector
+ name: {{ template "connector.name" . }}
+ component: cron-connector
spec:
containers:
- name: cron-connector
