Add selector.matchLabel key to packetbeat and apm-server
This adds the selector.matchLabel key to the packetbeat daemonset and the elastic-apm-server deployment templates as it's a required field for apps/v1 Change-Id: Idcc639b49b34579508e77a03f814dcf45ecf667c
This commit is contained in:
parent
c77dc230f4
commit
ff31ec7ad9
@ -54,7 +54,12 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: elastic-apm-server
|
||||
labels:
|
||||
{{ tuple $envAll "elastic-apm-server" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{ tuple $envAll "elastic-apm-server" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 6 }}
|
||||
{{ tuple $envAll "elastic-apm-server" | include "helm-toolkit.snippets.kubernetes_upgrades_deployment" | indent 2 }}
|
||||
template:
|
||||
metadata:
|
||||
|
@ -77,6 +77,9 @@ kind: DaemonSet
|
||||
metadata:
|
||||
name: packetbeat
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{ tuple $envAll "packetbeat" "daemon" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 6 }}
|
||||
{{ tuple $envAll "packetbeat" | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }}
|
||||
template:
|
||||
metadata:
|
||||
|
Loading…
Reference in New Issue
Block a user